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

Image to show with autostart: 'true',


I am trying to make an image show while there is no live stream happening. 'image':'/images/nostream.jpg', was working until I received updated code. Any suggestions will be helpful!

<script type="text/javascript">
jwplayer('se_video').setup({
'image':'/images/nostream.jpg',
autostart: 'true',
sources: [
{ file: 'rtmp://'},
{ file: 'http://'}
],
rtmp: {
'bufferlength': '5'
},
'width': '800',
'height': '630',
'aspectratio': '16:9',
'androidhls': 'true',
'primary': 'flash'
});
</script>

1 Community Answers

George

JW Player Support Agent  
0 rated :

Hi,

I would suggest using HLS as your streaming source as we now support it in HTML5 and Flash is being deprecated.

I have a test page that will check if an HLS livestream is up or if it’s 404ing:
http://qa.jwplayer.com.s3.amazonaws.com/~george/check_if_live_http.html

Sincerely,
George
JW Player
Support Engineer

This question has received the maximum number of answers.