UNPKG

@haxtheweb/a11y-media-player

Version:

A feature rich, highly accessible video player

35 lines (24 loc) 1.02 kB
# &lt;a11y-media-player&gt; 11 > ## Usage To use this web component in your project you can utilize one of the following styles of syntax. ```js /* In an existing JS module / web component */ import '@haxtheweb/a11y-media-player/a11y-media-player.js'; /* CDN */ <script type="module" src="https://cdn.hax.cloud/cdn/build/es6/node_modules/@haxtheweb/a11y-media-player/a11y-media-player.js"></script> ``` ## Develop / Demo Running `npm start` will start a local development server and open your default browser to display it. It will start watching *.js and lib/*.js files for changes automatically for your demo. ```bash $ npm start ``` ## Contributing 1. Fork it! `git clone https://github.com/haxtheweb/webcomponents.git` 2. Create your feature branch: `git checkout -b my-new-feature` 3. Commit your changes: `git commit -m 'Add some feature'` 4. Push to the branch: `git push origin my-new-feature` 5. Submit a pull request :D ## License [Apache-2.0 License](http://opensource.org/licenses/Apache-2.0)