mirror of
				https://gitea.invidious.io/iv-org/videojs-quality-selector.git
				synced 2024-08-15 00:43:13 +00:00 
			
		
		
		
	Merge pull request #51 from silvermine/update-readme-for-silvermine
chore: update silvermine- to @silvermine/ in README
This commit is contained in:
		
						commit
						06b18e4a17
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		
							
								
								
									
										10
									
								
								README.md
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								README.md
									
										
									
									
									
								
							|  | @ -38,12 +38,12 @@ There is an example of this in | ||||||
| <script src="./path/to/silvermine-videojs-quality-selector.min.js"></script> | <script src="./path/to/silvermine-videojs-quality-selector.min.js"></script> | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| ##### From [`unpkg`](https://unpkg.com/silvermine-videojs-quality-selector/): | ##### From [`unpkg`](https://unpkg.com/@silvermine/videojs-quality-selector/): | ||||||
| 
 | 
 | ||||||
| ```js | ```js | ||||||
| <link href="https://unpkg.com/silvermine-videojs-quality-selector/dist/css/quality-selector.css" rel="stylesheet"> | <link href="https://unpkg.com/@silvermine/videojs-quality-selector/dist/css/quality-selector.css" rel="stylesheet"> | ||||||
| <script src="./path/to/video.min.js"></script> | <script src="./path/to/video.min.js"></script> | ||||||
| <script src="https://unpkg.com/silvermine-videojs-quality-selector/dist/js/silvermine-videojs-quality-selector.min.js"></script> | <script src="https://unpkg.com/@silvermine/videojs-quality-selector/dist/js/silvermine-videojs-quality-selector.min.js"></script> | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| #### Using `require` | #### Using `require` | ||||||
|  | @ -51,7 +51,7 @@ There is an example of this in | ||||||
| When using NPM/Browserify, first install the plugin. | When using NPM/Browserify, first install the plugin. | ||||||
| 
 | 
 | ||||||
| ``` | ``` | ||||||
| npm install --save silvermine-videojs-quality-selector | npm install --save @silvermine/videojs-quality-selector | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| For `videojs` to use the plug-in, the plugin needs to register itself with the instance of | For `videojs` to use the plug-in, the plugin needs to register itself with the instance of | ||||||
|  | @ -61,7 +61,7 @@ For `videojs` to use the plug-in, the plugin needs to register itself with the i | ||||||
| var videojs = require('videojs'); | var videojs = require('videojs'); | ||||||
| 
 | 
 | ||||||
| // The following registers the plugin with `videojs` | // The following registers the plugin with `videojs` | ||||||
| require('silvermine-videojs-quality-selector')(videojs); | require('@silvermine/videojs-quality-selector')(videojs); | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| ### Providing video sources | ### Providing video sources | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue