VideoJS with Peer5 for HLS integration

VideoJS is a free and open source HTML5 video player that supports HLS.

The integration with Peer5 plugin is as easy as it can get.

In addition to the player script, include Peer5 client and VideoJS plugin.

Peer5 client and plugins scripts

add these two scripts to the head of your player's page

 <script src="//"></script>
 <script src="//"></script>

Complete Example

The following information needs to be filled according to your actual data:

<!DOCTYPE html>
    <html lang="en">
        <meta charset="UTF-8">
        <title>VideoJS Player test</title>
        <!-- peer5 client & plugin -->
        <script src="//"></script>
        <script src="//"></script>

        <!-- videojs5 scripts & styles -->
        <link href="//" rel="stylesheet">
        <script src="//"></script>
        <script src="//"></script>

        <video id="player" class="video-js vjs-default-skin" height="360" width="640" controls preload="none">
            <source src="MANIFEST_FILE" type="application/x-mpegURL" />
            var player = videojs('#player');

Visit the full VideoJS docs here