media-player-controls
v1.1.4
Published
customizable controls for html Video/Audio Elements
Downloads
73
Readme
Custom HTML Video/Audio Controls
Importing
Script tag
- Put a script tag similar to this
<script src='https://unpkg.com/[email protected]/dist/media-player-controls.js'></script>
in the head of your index.html - Then you can use the element anywhere in your template, JSX, html etc
Node Modules
- Run
npm install media-element-controls --save
- Put a script tag similar to this
<script src='node_modules/media-player-controls/dist/media-element-controls.js'></script>
in the head of your index.html - Then you can use the element anywhere in your template, JSX, html etc
Using
<media-element-controls masterElement="{ YOUR VIDEO/AUDIO COMPONENT AS ELEMENT HERE }"></media-element-controls>