Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Controls hidden would like video to be replayable by user after video finishes


We have the controls hidden on our jwplayer 8 version and would like to allow the user to have a play thumbnail after the video finishes to replay the video if they like. Is this possible.

1 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi there,

You should be able to accomplish this by having the controls re-appear when the .on('complete') event fires and then hide them again when the .on('firstFrame') event fires.

playerInstance.on("complete", function() {
  playerInstance.setControls(true);
});

playerInstance.on("firstFrame", function() {
  playerInstance.setControls(false);
});

Thank you.

This question has received the maximum number of answers.