I have a follow up question to this question/solution => https://support.jwplayer.com/customer/portal/questions/14598723-jwplayer7-hide-controlbar-when-video-ends
I updated the JWplayer from v7.2.4 to v7.4.4 and the above solution doesn't work anymore =(
Previous Javascript snippet:
playerInstance.on('complete',function(){
var thePlayer = document.querySelector(".jw-state-complete");
thePlayer.classList.remove("jw-state-complete");
thePlayer.classList.add("jw-state-idle");
});
On "complete" the classes are not being changed anymore. I would appreciate any help =)
↧