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

Play/Pause buttons without controls on player 7


Hello,

For an e-learning I like to display only the play and pause buttons. So the users can only play or pause and cannot go through the video using the controls bar.

I found this article, where Ler_Sam found a solution himself. Unfortunately he does not describe how he managed to do this completely:
https://support.jwplayer.com/customer/portal/questions/14364078-jw-7-playe-pause-options

Is there already an easy way to do this?

By the way, Vimeo already has this function to only show play and pause button.

Thanks in advance!

1 Community Answers

Randy

JW Player Support Agent  
-1 rated :

Hello,

This might require a bit of knowledge around CSS but maybe tapping into the class/group for that icon set and assigning a style.display=none would hide the images so the user is not allowed to click the buttons. You could potentially attach this to a jwplayer().on(‘firstFrame’) event. Although these are simply suggestions you can find our full CSS/Skinning writeup here which goes into greater detail about this:

https://developer.jwplayer.com/jw-player/docs/developer-guide/customization/css-skinning/skins_reference/

Cheers,

Randy

This question has received the maximum number of answers.