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

Hide play button in conrtols


I have to hide play button but need to show other button like volume and fullscreen. Is it possible with jwplayer.

I do not want to provide pause feature to the user. I find a solution which something like give below but it is not good ux experience . If we want to restrict user to pause the video so why we should display pause button.

jwplayer(). onDisplayClick(function(){
jwplayer().play()
})


jwplayer(). onPause(function(){
jwplayer().play()
})

1 Community Answers

Randy

JW Player Support Agent  
0 rated :

Hello,

You might consider attaching your JS with some form of CSS that may capture the events and act accordingly. You can find the CSS docs here: https://support.jwplayer.com/customer/en/portal/articles/2067702-skin-css-classes-reference- .

Randy

This question has received the maximum number of answers.