Live HLS End Stream

Live HLS end of stream detection with supported servers.

    <div class="flex w-full h-auto my-auto">
          <div id="endofstream" class=""></div>
  </div>
  <script type="text/javascript">
  	var player = jwplayer("endofstream").setup({
    "aspectratio": "16:9",
    "live": true,
    "playbackRateControls": true,
    "plugins": {
        "../../js/liveoffline-8.1.0.js": {
            "autoreconnect": true,
            "offline": "Offline",
            "reconnect": "Reconnecting In ",
            "reconnectTime": 30
        }
    },
    "repeat": false,
    "sources": [
        {
            "file": "https://videos.electroteque.org/bitrate/big_buck_bunny_2000k.webm",
            "type": "webm"
        },
        {
            "file": "https://videos.electroteque.org/bitrate/big_buck_bunny_2000k.mp4",
            "type": "mp4"
        }
    ],
    "width": "100%"
});
  </script>