Hi everyone, I can’t understand what I’m doing wrong, I tried to include the Cloudflare streaming service in a simple page made with Framework7 V4 and the video doesn’t seem to be able to load the data for some kind of restriction, thinking it was a problem domain, I tried to build a simple HTML page and including the video, it works perfectly.
In practice, to include the streaming service, cloudflares say they use this code:
This code can’t work in dynamically loaded pages, because such inline <script> tags can’t be executed in content that added dynamically (browser security policy). I guess you need to use some Cloudflare’s APIs to do that
I’m not sure that the problem was that, maybe I will have this problem when I load the pages dynamically, but in this case the code is directly in the main index.html of the site and the error is observed, it seems that it goes to look for a local resource in the cache, it seems more a service worker problem