About the offline solution for the HTML5 online video system

We have a system of online sites with many features, such as video playback, etc.

The goal is that we want to make the application offline for iPad with UIWebView support.

Two options:

  • Use the HTML5 manifest to implement offline mode, here

  • Download all HTML / JavaScripts / CSS content and resources such as images / videos, then use UIWebView to load the HTML file

For solution 1, after searching, we found many problems, such as

  • cache limit, incomprehensible answer, 5 MB? 50 MB?
  • hard to control, html / css / js files are ok but for videos etc are unstable
  • live by session
  • ...

So, we will give up solution 1 and choose solution 2: First, download everything and visualize them using UIWebView from the local downloaded data.

Questions:

  • What do you think of solution 2? Would it be nice to pass Apple reviews? (I refer to the fact that there is some JS restriction on UIWebView)
  • Can someone use solution 1?
  • Any other solutions?

thank

+3
source share
1 answer

We actually just did the same for our client!

We have spent forever trying to find a way to solve one - and simply delivering - is impossible.

iOS requests a RE user declaration, but the limit is 50 MB, and after that it excludes all paths!

Now we are on route 2 (and it works great!)

" ", HashBang , , , "#!/Page/Section/ .... '.

, , JS, ( , !).

Apple - App Store, , iPads, - , , !

!

0

All Articles