docs: Update README.md to include CSS instructions for npm

This commit is contained in:
Ansel Santosa 2020-12-08 14:39:31 -08:00 committed by Jeremy Thomerson
parent 7784a3135d
commit ec9b3aa348

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