Alex
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!