File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes iOS and the fly likes Embedded HTML 5 video is stored in the cache but is not displayed on iPad 2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Mobile » iOS
Bookmark "Embedded HTML 5 video is stored in the cache but is not displayed on iPad 2" Watch "Embedded HTML 5 video is stored in the cache but is not displayed on iPad 2" New topic
Author

Embedded HTML 5 video is stored in the cache but is not displayed on iPad 2

James Hodgkiss
Ranch Hand

Joined: Jan 22, 2004
Posts: 401


I am creating an offline webapp for the iPad 2, which includes video content. When the page first loads, the video displays fine. But when I reload the page, the video's play button becomes broken.

I've gone into Settings > Safari > Advanced > Website Data and, sure enough, the video is in the cache... So the problem seems to be that it is not being retrieved from the cache.

My HTML code snippet:


My cache.manifest snippet:


For good measure, my .htaccess snippet:


Does anyone have any ideas?

NB - This problem also happens (predictably) when I go into airplane/offline mode. The video size is 311KB. My iPad is running iOS 5.1.1.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Embedded HTML 5 video is stored in the cache but is not displayed on iPad 2