JWplayer: Display image when no video detected -
i have website show stream visitors using jwplayer.
i want know if there way replace video image in jwplayer when stream out instead of error message?
absolutely.
http://support.jwplayer.com/customer/portal/articles/1442607-example-a-custom-error-message
jwplayer().onerror(function(){ jwplayer().load({file:"http://www.com/errorfile.mp4",image:"http://www.com/errorfile.jpg"}); jwplayer().play(); });
Comments
Post a Comment