ea126b0b by David LaPalomento

Replace videojs.extends with videojs.extend

"extends" is disallowed in IE8 so videojs renamed the inheritance helper. Update our usage to match.
1 parent 513236f5
......@@ -44,11 +44,11 @@
"karma-sauce-launcher": "~0.1.8",
"qunitjs": "^1.18.0",
"sinon": "1.10.2",
"video.js": "^5.0.0-rc.51"
"video.js": "^5.0.0-rc.96"
},
"dependencies": {
"pkcs7": "^0.2.2",
"videojs-contrib-media-sources": "videojs/videojs-contrib-media-sources.git#mse-mp2t-polyfill",
"videojs-swf": "5.0.0-rc0"
"videojs-swf": "5.0.0-rc1"
}
}
......
......@@ -24,7 +24,7 @@ keyFailed = function(key) {
return key.retries && key.retries >= 2;
};
videojs.Hls = videojs.extends(Component, {
videojs.Hls = videojs.extend(Component, {
constructor: function(tech, options) {
var self = this, _player;
......
......@@ -190,10 +190,10 @@ var
},
// a no-op MediaSource implementation to allow synchronous testing
MockMediaSource = videojs.extends(videojs.EventTarget, {
MockMediaSource = videojs.extend(videojs.EventTarget, {
constructor: function() {},
addSourceBuffer: function() {
return new (videojs.extends(videojs.EventTarget, {
return new (videojs.extend(videojs.EventTarget, {
constructor: function() {},
abort: function() {},
buffered: videojs.createTimeRange(),
......