Signed-off-by: Manuel <manuel@kmpr.at>
This commit is contained in:
Manuel Kamper 2024-11-01 09:59:50 +01:00
parent 3f65441ba5
commit f6e61ae7e1

View File

@ -56,7 +56,12 @@ player.controlBar.pictureInPictureToggle.dispose();
player.controlBar.playbackRateMenuButton.disable();
```
But that does not prevent play/pause when I click on the video, so I have to find out how I can control that.
But that does not prevent play/pause when I click on the video, its seems adding this to the css does half the trick, it disables resume/pause, but not the initial play-click. I have to look into that again.
```
.video-js.vjs-has-started .vjs-tech {
pointer-events: none;
}
```
Stay tuned for further updates...
@ -78,5 +83,5 @@ Stay tuned for further updates...
## misc links for future things
https://www.tutorialspoint.com/how-to-speed-up-down-the-video-in-video-js-player
https://www.tutorialspoint.com/how-to-speed-up-down-the-video-in-video-js-player
https://stackoverflow.com/questions/19112255/change-the-video-playback-speed-using-video-js