• Streams
    • Face recognition
    • Users
    • Network
    • SSL
    • System
    • About

 

Date

Name

Description

A
B
C

To include the video in your web page add to your html code:

    <!-- This should be placed in the html header -->
    <link href="https://unpkg.com/video.js/dist/video-js.min.css" rel="stylesheet">
    <script src="https://unpkg.com/video.js/dist/video.min.js"></script>
    <script src="https://unpkg.com/video.js/dist/video-contrib-hls.min.js"></script>

    <!-- This should be placed in the html body to embed the video -->
    <!-- The id must be unique and it must correspond to parameter in script bellow -->
    <video-js id="player" class="vjs-default-skin embed-responsive" controls preload="auto" muted>
        <source 
            src="" 
            type="application/x-mpegURL" >
    </video-js>

    <script>
    var player = videojs("player", {autoplay: true, aspectRatio: "16:9", responsive: true});
    </script>
                

Video source URL:

For details see: https://github.com/videojs/http-streaming