@mattebox/player
v0.8.0
Published
A <mattebox-player> custom element over @mattebox/player-core.
Maintainers
Readme
The <mattebox-player> custom element of the
Mattebox player, over the
mattebox engine.
- A real
<video>with native controls, and nothing else. - Under
controls="custom", a bar of controls that are elements placed inside the player: quality, tracks, live, DRM, errors and the rest. - Under
controls="none", nothing.
The import registers every element.
npm install @mattebox/player mattebox<mattebox-player src="https://example.com/vod/master.m3u8"></mattebox-player>
<script type="module">
import '@mattebox/player';
</script>The guide explains the rest.
