react-hlsjs

Ultralight binding for React.js, Hls.js and MediaElement

Usage no npm install needed!

<script type="module">
  import reactHlsjs from 'https://cdn.skypack.dev/react-hlsjs';
</script>

README

react-hlsjs

react-hlsjs provide the ultralight binding for React.js, MSE and HTMLMediaElement. There are several MSE implementations, HLS and Dash are the most popular ones. This package supports HLS implementation thanks to Hls.js

The project is powered by TSDX

Setup

yarn && cd example && yarn

Dev

yarn start

cd example && yarn start

Build

yarn build

Documentation