views:

99

answers:

2

I've created a web app (using Sencha Touch, but that's not important) which I'm trying to get offline. It's a slideshow with images and a video. When online, it plays an mp4 video using the tag in HTML . I can take it offline using a cache manifest file, which works fine for all other content, but my video won't play when offline.

I've used the "add to home screen" button to create a web app icon on the home screen.

A: 

I have the same problem.

Please refer to: http://stackoverflow.com/questions/2956915/html5-offline-video-caching-in-mobile-safari

Andy Cavallini

Andy C.
Thanks Andy, I was following that issue as well. I especially like the idea of having to use animated gifs to display video on one of the most advanced pieces of comsumer technology around (ipad).One last thing I'm trying, which is sort of defeating the object a little, is to use something like Phonegap (http://www.phonegap.com/) to embed my HTML 5 app into a native app (ipad in this case). I'm hoping it will give me local access to the video, but i guess it still wont be cached, nor will it be a true web app
ipadder83
A: 

I have the same problem. I've successfully cached the video, but it doesn't work on offline. as I discovered that when you do httpRequest on offline in iPad, the return status code is always 301 which is normally treated as an error, you have to manually ignore this error to get the responseText. But you can't control the video tag in HTML5, I think that might be the cause why the video can't be played in offline. Furthermore, Safari in iOS doesn't support video data uri, you can neither use the dataUri... If anyone has the solution, it will be much appreciated!

Darktalker