Is there a way to show/hide the video controls on the videojs player at runtime (e.g. player.controls.hide()).
Any ideas how to do this?
Thanks!
Use player.userActive(false)
to hide the controls. You can also listen to useractive
and userinactive
events on the player to respond to the player's natural showing and hiding of controls.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With