ext-video

A video component that plays mp4, dash, and hls

Usage no npm install needed!

<script type="module">
  import extVideo from 'https://cdn.skypack.dev/ext-video';
</script>

README

Ext Video Web Component

An attempt at making a better video element that can play HLS and Dash videos.

https://smithaf.github.io/ext-video/index.html

How to use

Import the module through JavaScript or HTML.

import 'ext-video'
<script src="ext-video"></script>

Doing this will register the web component.

Then to use it, set the is attribute on a video element

<video is="ext-video" src="file.m3u8">