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:
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.
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: