Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Player image preview (background image)


Hi I am trying my best to insert into this script a background image, I have set autostart false, I know that I should insert the 'image','https://s32.postimg.org/5gyqinggl/image.png' somewere in the code but I have tried anything and cannot get it to work.

<script type='text/javascript' src='//www.serverroom.net/jwplayer7/jwplayer.js'></script>
<div id='serverroom.net'><video id='video_tag' width='560' height='400' controls autoplay><source src='http://marius5.srfms.com/live/livestream.flv/playlist.m3u8' type='video/mp4'></video><a href='rtsp://marius5.srfms.com/live/livestream.flv' id='android_firefox' style='display:none;'>Watch this stream over RTSP for Android Mozilla</a></div><script>if (navigator.userAgent.match(/Android/i) && navigator.userAgent.match(/Firefox/i)) {
document.getElementById('android_firefox').style.display='';document.getElementById('video_tag').style.display = 'none';}
jwplayer.key='Xh+u0QiZS8nUtbv+XC63LaJoeFTYTtEafW1ZE6gW9m8=';
jwplayer('serverroom.net').setup(
{playlist: [{sources:[{file:'rtmp://marius5.srfms.com/live/livestream.flv'},
{file:'http://marius5.srfms.com/live/livestream.flv/playlist.m3u8'}]}],
logo: {file: 'http://www.serverroom.net/images/playersmalllogo.png'},width:560,height:400,stretching:'uniform',autostart:true,fallback:false,primary:'flash',repeat:true});
</script>

1 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi there,

My name is Alex and I am one of the Support Engineers at JW Player. I will be more than happy to assist you with your questions.

In JW Player 7, our player will only display poster images when it is not set to automatically start (via “autostart”). This is done to speed up the player’s ability to start playback, as it would have one less resource to request and display.

Please let me know if you need any more help or have any other questions.

Thank you!

This question has received the maximum number of answers.