Merge pull request #69 from anstosa/css-readme

docs: Update README.md to include CSS instructions for npm
This commit is contained in:
Jeremy Thomerson 2021-04-11 17:19:30 -04:00 committed by GitHub
commit c9afd4d7cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,6 +64,12 @@ var videojs = require('videojs');
require('@silvermine/videojs-quality-selector')(videojs);
```
Remember to also add the CSS to your build. With most bundlers you can:
```js
require('@silvermine/videojs-quality-selector/dist/css/quality-selector.css')
```
### Providing video sources
Sources can be provided with either the `<source>` tag or via the `src` function on the