Skip to content

Can't get big play button to hide during playback? #8822

Closed Answered by ev0net
ev0net asked this question in Q&A
Discussion options

You must be logged in to vote

FYI: I finally found an answer. For my initiation it needs this code in the script section:

player.ready(function () {
videojs("evonet-video-$playerId").ready(function () {
var myPlayer = this;
myPlayer.on("pause", function () {
myPlayer.bigPlayButton.show();
});
myPlayer.on("play", function () {
myPlayer.bigPlayButton.hide();
});
});
});

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ev0net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant