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

Tittle and discription

I have the tittle and description on the top of each of my videos. I would like the ability to have it fade out after 5 seconds or so.

if I leave default it will display and fad out only on the first video.


3 Community Answers


JW Player Support Agent  
0 rated :

Hi John,

After trying to get this to work for a while, I believe I finally found a solution:

1. Remove displaytitle: true from your player setup.
2. Add the following JavaScript to your page:

jwplayer().on("playlistItem", function() {
  document.getElementsByClassName('jw-title')[0].style.display = 'block';
  document.getElementsByClassName('jw-title')[0].style.visibility = 'visible';
  jwplayer().once("play", function() {
    setTimeout(function() {
      document.getElementsByClassName('jw-title')[0].style.visibility = 'hidden';
    }, 5000);

Please let me know if that works. Thanks!


0 rated :

WOW, your the man. its works great. thank you so much.

Sorry it took me so long to get to this, been working on another project.

Thanks again,


JW Player Support Agent  
0 rated :

Not a problem!

This question has received the maximum number of answers.