-
-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I make the video automatically switch to full-screen mode when I rotate the screen on a mobile device? #769
Comments
Like this? demo |
Hi @zhw2590582 ! |
Cannot use fullscreen directly |
Thank you very much! |
Hello!
I have searched through your documentation; however, everything doesn't quite work as I want it to. What I need is that when users access a page with a video on their phone, if they rotate the screen, the video will automatically go full screen. I noticed in your documentation that due to the browser's security mechanism, it requires interaction with the browser to intervene in fullscreen mode. However, even when I swipe the screen (without clicking), the video doesn't go fullscreen. If I understand correctly, swiping or rotating the screen should inherently be an interaction with the browser. Because it either changes the browser's size or interacts with the browser's scroll bar. Please guide me on how to achieve this.
Thank you very much!
The text was updated successfully, but these errors were encountered: