-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Can't stop video player by clicking on it ( mobile chrome browser ) #6956
Comments
👋 Thanks for opening your first issue here! 👋 If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
Tapping on the video player toggled the controls on mobile. We don't have an option to use tap-to-play/pause on mobile like we do on desktop. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
may this help you |
this is working, however the problem I am finding is that if the click is happening on the control bar, for example if the user clicks the pause button, the video pauses momentarily but then resumes again. How do you make sure that the click isn't happening on a control bar element?
|
Description
I'm running very simple configuration with sample video. When I'm testing player on the desktop when the video is playing I'm able to stop it by clicking anywhere on the video player. Why I'm running that on mobile when the video is running I'm able to stop it only by clicking on the pause button.
My mobile is on Android OS I'm using chrome browser. Tested that on firefox mobile as well same behavior.
Steps to reproduce
Results
Expected
I would like to have the same behaviour as on desktop version, stop by clicking anywhere on video.
Actual
Can't stop the video by clicking on it - mobile version.
Error output
no error
Additional Information
versions
latest
videojs
what version of videojs does this occur with?
browsers
chrome mobile, firefox mobile
OSes
Android OS
plugins
no plugins
The text was updated successfully, but these errors were encountered: