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

show controls on pause


I want the controls configured in the xml to stay displayed when the player is paused. I have tried the code

jwplayer("playerId").onPause(
this.showControls();
});

but I get an error when clicking pause : "there was an error calling back an event handler"

1 Community Answers

Todd

JW Player Support Agent  
0 rated :

I believe the default behavior is for the controls to stay visible while a video is paused, but here’s the code you are after:

jwplayer().onPause(function(){
jwplayer().setControls(true);
});

Hope this helps,
Todd

This question has received the maximum number of answers.