mirror of
				https://gitea.invidious.io/iv-org/videojs-quality-selector.git
				synced 2024-08-15 00:43:13 +00: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
					
				
					 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…
	
	Add table
		Add a link
		
	
		Reference in a new issue