I am currently using video.js on my website.
I have made controls false, which also hides the play button.
I am looking to have the play button display only when the video is paused, and not display whilst the video is playing.
I tried the following , but it doesn't work.
videojs("myPlayer").ready(function(){
var myPlayer = this;
myPlayer.on("paused", function(){
myPlayer.bigPlayButton.show();
});
});
Thank you!
Aucun commentaire:
Enregistrer un commentaire