NSURLCache bypasses HTML5 video tag

I have a child node NSURLCache working with UIWebView. I am loading a webpage into a WebView and can intercept all the HTTP requests it makes (and locally the cache in the document directory). This works for inline images, javascript links, and css links, and for all CSS URL requests. HOWEVER, this does not cause a call from the HTML5 video tag ....

I leave all the necessary files for the EXCEPT video page, which causes me a problem when I try to view the web view offline (after caching).

Does anyone know why NSURLCache does not work with VIDEO tags and / or how can I make it work! ??!?!

+3
source share

Source: https://habr.com/ru/post/1787733/


All Articles