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

Java 8 + Maven Javadoc plugin: Error fetching URL -

c++ - Msgpack packing bools bug -

java - POJO with list of POJO to JSON display size and index -