This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
James Hodgkiss
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic