JWPlayer integration with Storm Streaming Cloud

JWPlayer is one of the oldest and most popular video players for websites. The vast number of plugins and configuration options makes it a great choice. Storm Streaming Server and Cloud can work together without any problems. To properly configure JWPlayer for work, it is necessary to select the HLS mode and define the link to the m3u8 file.

Embed code

The basic JW Player configuration looks as follow:

                        
<div id="myElement"></div>
<script>
    jwplayer("myElement").setup({
        "playlist": [
            {
                "sources": [
                    {
                        "default": false,
                        "type": "hls",
                        "file": "https://${SERVER_HOST}/${APP_NAME}/${STREAM_KEY}.m3u8",
                        "label": "0",
                        "preload": "metadata"
                    }
                ]
            }
        ],
        "primary": "html5",
        "hlshtml": true
    });
</script>
                    

Main parameters explanation

Table 1. Main parameters table

Adaptive Bitrate Streaming (ABR)

To use the Adaptive Bitrate Streaming (ABR) feature, it is necessary to activate and configure the transcoding option. In the case of Storm Streaming Cloud, this option can be selected when creating a stream (if the subscription allows it). For Storm Streaming Server, it is necessary to have a commercial license and set up Transcoding in a given application. Detailed information can be found in our Transcoding & Adaptive Bitrate Streaming (ABR) Functionality guide.

Differences between JW Player & Storm Library/Player

JW Player and our dedicated Storm Library/Player work in different ways. JW Player will not react to stream state changes (published, unpublished). It also will not update its data on the fly.

Support Needed?

Create a free ticket and our support team will provide you necessary assistance.