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

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

order - Notification for user in user account opencart -