You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
for modern browsers, you can use the screen.orientation.addEventListener('change', goFullScreenHere); and from that handler you could go fullscreen and it's considered a user gesture.
For iOS and specifically iPhones you don't have that API, but it does work from the regular orientationchange event if you want to go fullscreen from a video tag.
#hello.
I want my website to trigger full screen mode after a screen orientation change.
But, it says that it requires user gesture.
can you please let me know how to trigger full screen when a device orientation change?
thank you.
The text was updated successfully, but these errors were encountered: