HTML5 Browser for channels and movies

Follow the below steps to play a channel with HLS and a MP4 Movie in HTML5 browser.

  • upload the below Index.htm with your server ip and port into ezserver_prof/html5 folder.

    <html>
    <head>
    <title>EZhometech Ezserver</title>
    <script>
    function open_windows(iURL)
    {
    window.open(iURL);
    }
    </script>
    </head>
    <body>
    <table>
    <tr><td>
    <font>Ezserver Channel and Movie examples</font>
    </td></tr>
    <tr><td>
    <a href="javascript:void(0)" onclick=open_windows("http://192.168.0.10:8000/TV1.m3u8?u=test:p=1234")>TV1</a>
    </td></tr>
    <tr><td>
    <a href="javascript:void(0)" onclick=open_windows("http://192.168.0.10:8000/Movie1?u=test:p=1234")>Movie1</a>
    </td></tr>
    </table>
    </body>

     

  • Click Panel "Add Channel" to add TV1 channel and click its Edit button to set HLS

  • Click Panel "Add Movie" to add Movie1.

  • For Chrome: Open Chrome to click Menu -> more tools -> extension to add Native HLS Playback.

  • Input URL into HTML5 browser as Safari, Edge, Chrome.


Copyright © Ezhometech, Inc.