Manually broadcast a Live Channels event stream

Configure a player to play a Live Channels event stream.


Through Live Channels, you have the ability to broadcast live events to your audience:

  • Supporting up to 12-hour long event streams
  • Providing live event streams that instantly convert to video replay after broadcasting has finished
  • Streaming live events to your web players and mobile apps

After satisfying the Requirements section, you can add a Live Channels event stream to your web player.

πŸ”‘

You can also set your live event stream by polling our API.

If you neither are a developer nor have developer resources, you can copy a live event stream embed code from your JW Player dashboard.



Requirements



Add the Live Channels event stream to a player

If you plan to broadcast an event through a player on a page, use the following instructions:

  1. From your JW Player dashboard, click Live Channels.
  2. Click the name of the Live Channel.
  3. From your encoder, start the stream.
  4. Once the stream appears in your JW Player dashboard, copy the CURRENT MEDIA ID.
  5. As shown in the following example, add https://cdn.jwplayer.com/v2/media/{current_media_id} to the playlist property of your player.
<div id="myElement"></div>

<script type="text/JavaScript">

    jwplayer("myElement").setup({ 
        "playlist": "https://cdn.jwplayer.com/v2/media/{current_media_id}"
    });

</script>

The player on your page will switch to the live event stream shortly after you have started the broadcast from your encoder. If you do not see the live event stream, check your browser console for errors and check for any errors in the implementation on your page.