mirror of
https://github.com/kmoskwiak/videojs-resolution-switcher.git
synced 2025-10-03 09:49:21 +02:00
Upgrade to v5.0.0-rc101. Rename extends to extend
This commit is contained in:
parent
b7240e98e4
commit
05566ba701
3 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
# Video.js Resolution Switcher
|
||||
|
||||
Resolution switcher for [video.js](https://github.com/videojs/video.js) build for [5.0.0-rc.90](https://github.com/videojs/video.js/tree/v5.0.0-rc.90)
|
||||
Resolution switcher for [video.js](https://github.com/videojs/video.js) build for [5.0.0-rc.101](https://github.com/videojs/video.js/tree/v5.0.0-rc.101)
|
||||
|
||||
## Getting Started
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
* Resolution menu item
|
||||
*/
|
||||
var MenuItem = videojs.getComponent('MenuItem');
|
||||
var ResolutionMenuItem = videojs.extends(MenuItem, {
|
||||
var ResolutionMenuItem = videojs.extend(MenuItem, {
|
||||
constructor: function(player, options){
|
||||
|
||||
MenuItem.call(this, player, options);
|
||||
|
@ -55,7 +55,7 @@
|
|||
* Resolution menu button
|
||||
*/
|
||||
var MenuButton = videojs.getComponent('MenuButton');
|
||||
var ResolutionMenuButton = videojs.extends(MenuButton, {
|
||||
var ResolutionMenuButton = videojs.extend(MenuButton, {
|
||||
constructor: function(player, options){
|
||||
this.sources = options.sources;
|
||||
MenuButton.call(this, player, options);
|
||||
|
|
|
@ -20,10 +20,10 @@
|
|||
"grunt-contrib-uglify": "^0.2",
|
||||
"grunt-contrib-watch": "^0.4",
|
||||
|
||||
"video.js": "^5.0.0-rc.90",
|
||||
"video.js": "^5.0.0-rc.101",
|
||||
"qunitjs": "^1.12"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"video.js": "^5.0.0-rc.90"
|
||||
"video.js": "^5.0.0-rc.101"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue