Answer the question
In order to leave comments, you need to log in
How to disable pause on click in videoJs and html without css?
Hello. faced such a problem.
Player - videoJs It is
necessary either to completely disable the ability to stop and continue the video on click, leave it only by pressing the control button.
Or be able to reassign this action to resize the video.
https://codepen.io/anon/pen/KrPRJP - for testing
There is an option on the internet to assign this rule to a class:
video-js .vjs-tech {
pointer-events: none;
}
But this rule stops the ability to completely use the click on the video. And I can't then assign other rules to the click.
I hope I was able to convey the question.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question