mirror of
https://github.com/iv-org/videojs-quality-selector.git
synced 2025-04-26 18:29:17 -04:00
Merge pull request #69 from anstosa/css-readme
docs: Update README.md to include CSS instructions for npm
This commit is contained in:
commit
c9afd4d7cc
@ -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…
x
Reference in New Issue
Block a user