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

Integrate a Streaming Flux in JW Player


Hello everyone,
I have A streamin Server (Wowza), the stream Work fine with Public IP Address.
I woulf like to integrate this Streaming Flux in our site using JW Player.
Can you help me what is the exact kind of URL that i have to put. I have already try this URL but it dosen't work:



<div id="my-video"></div>
<script type="text/javascript">
jwplayer("my-video").setup({
file: "rtmp://IP address:1935/live", "rtmp://IP address:1935/test",
width: "580",
height: "370",
hlshtml: true
});
</script>


2 Community Answers

j...

User  
0 rated :

I have this error:
Error Loading Media: File could not be played

Alex

JW Player Support Agent  
0 rated :

Hi Jaballah,

Can you please elaborate some more on what you are trying to do? The file parameter in the player setup can only take one URL so if rtmp://IP address:1935/live is the URL to your RTMP stream, you can just have your setup be the following:

<div id="my-video"></div>
<script type="text/javascript">
  jwplayer("my-video").setup({
    file: "rtmp://IP address:1935/live",
    width: "580",
    height: "370"
  });
</script>

You’ll also notice that I took out the hlshtml: true. This is because that option only works when you’re embedding HLS streams, not RTMP streams.

Thank you.

This question has received the maximum number of answers.