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

onComplete events not firing for live streaming


Hello, I am using jwplayer to show a live streaming video with rtmp.
When the user broadcasting finishes his transmission I want the jwplayer to detect this event
and reload the page.

How can I do it?


I am trying

events:
{
onComplete:function()
{
alert('onComplete');
}
}

but it is not working.
Is ther any other way to detect that live streaming is stopped?
Thanks

1 Community Answers

Randy

JW Player Support Agent  
0 rated :

Hello,

Thank you for contacting the JW Player support team. I do not have a live streaming event over RTMP at the time but the following setup worked for me with a basic RTMP file:

jwplayer(“myVideo”).setup({
file:‘rtmp://fms.12E5.edgecastcdn.net/0012E5/mp4:videos/8Juv1MVa-485.mp4’,
height: ‘281’,
width: ‘500’,
});
jwplayer().onComplete(function(){
alert(“Video Complete!”)
});

Kindly,

Randy Le’Moine, Web Support Engineer, JW Player
www.jwplayer.com

This question has received the maximum number of answers.