videojs-livestream-keeper

A video.js plugin that takes care of the chrome's and firefox's autoplay and 'video pause in background' features

Usage no npm install needed!

<script type="module">
  import videojsLivestreamKeeper from 'https://cdn.skypack.dev/videojs-livestream-keeper';
</script>

README

videojs-livestream-keeper

Experimental video.js plugin handling chrome's and firefox's autoplay and 'video pause in background' features for live streams.

  • In every seconds the plugin gets the end of the seekable timerange and seeks before it
  • If player is paused, the plugin calls play