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

Pause and play on click overlay in mobile #2809

Open
madromas opened this issue Aug 9, 2024 · 2 comments
Open

Pause and play on click overlay in mobile #2809

madromas opened this issue Aug 9, 2024 · 2 comments

Comments

@madromas
Copy link

madromas commented Aug 9, 2024

Clicking anywhere on video is not working on mobile. On desktop I can click anywhere on video and it will play and stop no problems. But it is not working in mobile.

@vis97c
Copy link

vis97c commented Aug 11, 2024

Currently experiencing the same behavior. My workaround was to use an overlay on mobile alongside the togglePlay method

@madromas
Copy link
Author

madromas commented Aug 12, 2024

In theory should be simple enough to set a <div onclick="togglePlay();>". I didn't play around with it yet. Wanted to see what developers have to say. Maybe there is an easy fix somewhere in options...

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

No branches or pull requests

2 participants