mirror of
https://gitea.invidious.io/iv-org/videojs-quality-selector.git
synced 2024-08-15 00:43:13 +00:00
docs: Update README.md to include CSS instructions for npm
This commit is contained in:
parent
7784a3135d
commit
ec9b3aa348
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue