-
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
Q. How can I disable play/pause on click? #4498
Comments
Unfortunately, the only way to disable it currently is by disabling the controls. |
step1: |
I have a stupid idea. write an overlay before the video tag. then prevent click the controls bar. |
I have the same demand, please reopen this issue. |
I am using the
videojs
framework.I want to implement click action.
When I click the player, I want to get information about mouse position (x,y) and current time in video.
However,
I don't want to play/pause video
.and I want to show control bar.
How can I do?
Here is body part (below)
I tried this code in css file.
If I write this statement, video player don't play or stop when I click the video. But, my mouseHandler action is also didn't work.
My videojs version is
6.2.0
The text was updated successfully, but these errors were encountered: