1.1.2 • Published 18 days ago

videojs-video-element v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
18 days ago

<videojs-video>

NPM Version NPM Downloads jsDelivr hits (npm) npm bundle size

A custom element for Video.js with an API that matches the <video> API.

Example (CodeSandbox)

<script type="module" src="https://cdn.jsdelivr.net/npm/videojs-video-element@1.0/+esm"></script>
<videojs-video controls src="https://stream.mux.com/O6LdRc0112FEJXH00bGsN9Q31yu5EIVHTgjTKRkKtEq1k/high.mp4"></videojs-video>

Install

First install the NPM package:

npm install videojs-video-element

Import in your app javascript (e.g. src/App.js):

import 'videojs-video-element';

Optionally, you can load the script directly from a CDN using JSDelivr:

<script type="module" src="https://cdn.jsdelivr.net/npm/videojs-video-element@1.0/+esm"></script>

This will register the custom elements with the browser so they can be used as HTML.

Related

1.1.2

18 days ago

1.1.1

9 months ago

1.1.0

9 months ago

1.0.3

11 months ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.3.1

1 year ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago