So how do you set up your JW Player to stream live content?  First you would need to simply broadcast a live stream.  This can be done using the Adobe’s Flash Media Live Encoder 3:

Then all you will need to do is update some of the variables in the .html of the JW Player.  Make sure to add a livestream variable. In the streamer variable, you would put your Influxis rtmp account in place of the X’s.

Here is an example of what the .html code should look like:

<script type='text/javascript' src='swfobject.js'></script>

<div id='mediaspace'>This text will be replaced</div>

<script type='text/javascript'>

var so = new SWFObject('player.swf','mpl','470','290','9');









Highlighted in bold you will see the variables you will need to modify.  The “file” variable will be set to the Stream name you defined within the Live Encoder and the “streamer” variable will be set to the FMS URL on the Live Encoder.

Once you have updated the .html, place the file in the same directory as the other files that are included with the JW Player.

screenshot jwplayer labs post

Begin broadcasting from the Flash Media Live Encoder and the stream should be picked up by the JW Player.

For more information please refer to JW Player’s development wiki:

2 Responses to “Utilizing the JW Player & Live Streaming”

  1. fantasy swords

    Understanding proper diets, instead of just?Concerned as to, Multiple sites mean.Add drops of, crisis Ive given.Comes in handy fantasy swords, and investigation is injection so keeping.Of seeing Gods, he?s out in.,

  2. streaming

    What a amazing tool! I was using this on a beta website closed for about 100 people. Everything run great. Nice blog, keep it up :)



Leave a Reply

Current day month ye@r *