Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to hide the JWPlayer play button?

How can I hide the play button that's in the center of the video screen in JW Player?

I'm using version 5.4 of the player and I am embedding it using their own 'JW Embedder' technique.

I've tried the following with no luck:

jwplayer("myPlayer").setup({
   file: 'myMediaFile.mp4',
   image: 'myPosterFile.jpg',
   controlbar: 'bottom',
   icons: false
});

I've read somewhere that this may have been removed with version 5.0 and must now be done with a skin. But, I also read that it returned in version 5.1 ... ?

like image 876
AJB Avatar asked Jan 20 '11 20:01

AJB


2 Answers

I came acros the same problem and the solution was to set:

'controlbar': "none"

Also, I'm using JW Player 5.5.

Ley me know if it worked out.

like image 110
Sebastian Popa Avatar answered Sep 19 '22 03:09

Sebastian Popa


You are looking for the "display" plugin. Hide as needed.

jwplayer().getPlugin("display").hide();
like image 32
Whit Avatar answered Sep 20 '22 03:09

Whit