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

Display players title during video playback.


How do i display jw players title even if video is playing.
currently title dis-appears once video is played.
How can I display title during video playback?

1 Community Answers

Todd

JW Player Support Agent  
0 rated :

We do not have built-in functionality for this, but you can alter the CSS of the player title (the class name is ‘jw-title’) to remain visible. I am not an expert when it comes to CSS, but we hide the title when the viewer presses play, so you will need some Javascript to set it back to display: ‘block’. I put the following code on a test page and it appears to do what you need:

<script> jwplayer().on('ready',function(){ document.getElementsByClassName('jw-title')[0].style.display = 'block'; }); </script>

Just make sure to put this after your jwplayer().setup() script.

This question has received the maximum number of answers.