4 ms·
So the problem is that the "user gestures" break any JS that attempts to engage or disgage fullscreen on a video object. Imagine!!! ...there eixsts an app that
by Ziggy_Zaggy 3y ago
So the problem is that the "user gestures" break any JS that attempts to engage or disgage fullscreen on a video object.
Imagine!!!
...there eixsts an app that implements a playlist using video objects (.mp4s). This app will NOT be able to engage/disengage fullscreen in Chrome/Edge without some serious hacks.
Potential solution:
- Simply implement a brower setting that enables/disables user-gestures for specific URL(s).
Edge error:
Failed to execute 'requestFullscreen' on 'Element': API can only be initiated by a user-gesture.
MDN Docs fullscreen link:
- https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen https://developer.mozilla.org/en-US/docs/Web/API/Element/req...
MDN Docs user gesture link:
- https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API/Best_practices https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_A...
MDN Docs gesture event link:
- https://developer.mozilla.org/en-US/docs/Web/API/GestureEvent https://developer.mozilla.org/en-US/docs/Web/API/GestureEven...
Stack Overflow Link:
- https://stackoverflow.com/questions/27649264/run-chrome-in-fullscreen-mode-on-windows https://stackoverflow.com/questions/27649264/run-chrome-in-f...
"Does any other iOS browser have such feature?"
- Not to my knowledge?
Can you dig it?