Skip to content
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

on fullscreen #811

Open
ijs77 opened this issue May 11, 2024 · 2 comments
Open

on fullscreen #811

ijs77 opened this issue May 11, 2024 · 2 comments
Labels

Comments

@ijs77
Copy link

ijs77 commented May 11, 2024

How to detect on fullscreen mode

@sergiomcsousa
Copy link

@ZentoDH Can you provide feedback here? Thank you!

@ZentoDH
Copy link
Contributor

ZentoDH commented May 14, 2024

Hey @ijs77, I'm not a 100% if I understand your question. If you're asking on how to detect if the user goes full screen, you can add an event listener to the video element.

addEventListener('fullscreenchange')
addEventListener('webkitfullscreenchange')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants