hi, I'm cinema online owner, I want to add gtihub.com/bilibili/flv.js to my site to play Flv video , but when flv.js execute window.URL.createObjectURL(new window.MediaSource()), it get URL is"blob:null/3fa58623-5096-40fe-859d-1147135b2305" , it can't be load, how to deal it? thanks~
It's the sandboxed iframe's limitation and I don't know any workaround for it.
is it a bug with chrome?
I'm not sure if it's bug or a feature, there is lots of result if you search for "blob:null sandboxed iframe" on google
I tried to add allow-same-origin to zeronet iframe, and window.URL.createObjectURL(new window.MediaSource()) work. But..it seems like it will let zeronet to be unsafe😂
could zeronet add some video support? if not we are hard to build a video site in zeronet
You mean big file support by "video support"?
no, video in iframe can't change to full screen, now we only can change the video screen size to window size. I think maybe we can add a video support API for media file
I can't change the sandbox limitations, but adding a new "wrapperRequestFullscreen" could be possible.
Thanks a lot
Page.cmd("wrapperRequestFullscreen") added in latest rev: https://github.com/HelloZeroNet/ZeroNet/commit/5103879471176fced494dc70d35e8384275f787e
thank you very much :smile:
Most helpful comment
I can't change the sandbox limitations, but adding a new "wrapperRequestFullscreen" could be possible.