media-player-controls
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

Custom HTML Video/Audio Controls

Importing

Script tag

  • Put a script tag similar to this <script src='https://unpkg.com/media-player-controls@1.1.1/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>

Readme

Keywords

none

Package Sidebar

Install

npm i media-player-controls

Weekly Downloads

0

Version

1.1.4

License

MIT

Unpacked Size

1.7 MB

Total Files

53

Last publish

Collaborators

  • carlosbenedetti