Playing online video on iphone web, the iphone seems to cache the reference movie

Posted by Mad Oxyn on Stack Overflow See other posts from Stack Overflow or by Mad Oxyn
Published on 2010-04-15T07:35:34Z Indexed on 2010/04/17 13:13 UTC
Read the original article Hit count: 567

We are working on an online mobile video app, and are trying to play a reference movie on an iphone from the iphone browser. The problem is, the movie plays the first time, but when we try to play a different movie the second time, it doesnt. Quicktime gives a general error message sayin "Cannot Play Movie". More precisely this is what we are trying to do:

Connect with an iPhone to a webserver that serves a reference movie (generated with quicktime pro). The ref movie automatically gets downloaded to the iphone by quicktime. Quicktime then chooses one of the 3 references in the reference movie, based on the connection speed, and tries to download the designated movie via a relative path. A servlet gets called and forwards the relative path to the right movie. This all works the first time. However the second time when we want download different movies, we get the quicktime error.

Test case:

  1. Open reference movie 1
  2. Movie plays in Quicktime
  3. Open reference movie 2
  4. ERROR: Quicktime gives an error ->
    Cannot Play Movie
  5. Shut down Iphone
  6. Turn Iphone on again
  7. Open reference movie 2
  8. Iphone plays movie
  9. Open movie
  10. ERROR: Quicktime gives an error -> Cannot Play Movie

Did anyone encounter similar issues with quicktime and the use of reference movies and is there something we can do to work around that?

© Stack Overflow or respective owner

Related posts about iphone-web

Related posts about iphone