videojs-contrib-quality-levels
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -9,2 +9,5 @@ CHANGELOG | ||
## 2.0.1 (2016-12-13) | ||
* Make browserify-versionify a dependency instead of devDependency | ||
## 2.0.0 (2016-12-12) | ||
@@ -11,0 +14,0 @@ * Remove HLS and Dash specific logic |
/** | ||
* videojs-contrib-quality-levels | ||
* @version 2.0.0 | ||
* @version 2.0.1 | ||
* @copyright 2016 Brightcove, Inc. | ||
@@ -374,3 +374,3 @@ * @license Apache-2.0 | ||
}; | ||
player.qualityLevels.VERSION = '2.0.0'; | ||
player.qualityLevels.VERSION = '2.0.1'; | ||
@@ -399,3 +399,3 @@ return qualityLevelList; | ||
// Include the version number. | ||
qualityLevels.VERSION = '2.0.0'; | ||
qualityLevels.VERSION = '2.0.1'; | ||
@@ -402,0 +402,0 @@ exports['default'] = qualityLevels; |
@@ -1,1 +0,1 @@ | ||
!function e(t,n,i){function o(l,u){if(!n[l]){if(!t[l]){var f="function"==typeof require&&require;if(!u&&f)return f(l,!0);if(r)return r(l,!0);var s=new Error("Cannot find module '"+l+"'");throw s.code="MODULE_NOT_FOUND",s}var d=n[l]={exports:{}};t[l][0].call(d.exports,function(e){var n=t[l][1][e];return o(n?n:e)},d,d.exports,e,t,n,i)}return n[l].exports}for(var r="function"==typeof require&&require,l=0;l<i.length;l++)o(i[l]);return o}({1:[function(e,t,n){(function(t){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.__esModule=!0;var u=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),f="undefined"!=typeof window?window.videojs:"undefined"!=typeof t?t.videojs:null,s=i(f),d=e(4),a=e(2),c=i(a),p=function(e){function t(){o(this,t);var n=r(this,e.call(this));n.selectedIndex_=-1;var i=n;if(s.default.browser.IS_IE8){i=d.document.createElement("custom");for(var l in t.prototype)"constructor"!==l&&(i[l]=t.prototype[l])}return i.levels_=[],n}return l(t,e),t.prototype.addQualityLevel=function(e){var t=this.getQualityLevelById(e.id);if(t)return t;var n=this.levels_.length;return t=new c.default(e),""+n in this||Object.defineProperty(this,n,{get:function(){return this.levels_[n]}}),this.levels_.push(t),this.trigger({qualityLevel:t,type:"addqualitylevel"}),t},t.prototype.removeQualityLevel=function(e){for(var t=null,n=0,i=this.length;n<i;n++)if(this[n]===e){t=this.levels_.splice(n,1)[0],this.selectedIndex_===n?this.selectedIndex_=-1:this.selectedIndex_>n&&this.selectedIndex_--;break}return t&&this.trigger({qualityLevel:e,type:"removequalitylevel"}),t},t.prototype.getQualityLevelById=function(e){for(var t=0,n=this.length;t<n;t++){var i=this[t];if(i.id===e)return i}return null},t.prototype.dispose=function(){this.selectedIndex_=-1,this.levels_.length=0},u(t,[{key:"selectedIndex",get:function(){return this.selectedIndex_}},{key:"length",get:function(){return this.levels_.length}}]),t}(s.default.EventTarget);p.prototype.allowedEvents_={change:"change",addqualitylevel:"addqualitylevel",removequalitylevel:"removequalitylevel"};for(var y in p.prototype.allowedEvents_)p.prototype["on"+y]=null;n.default=p}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.__esModule=!0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=function(){function e(t){i(this,e),this.id=t.id,this.label=this.id,this.width=t.width,this.height=t.height,this.bitrate=t.bandwidth,this.enabled_=t.enabled}return o(e,[{key:"enabled",get:function(){return this.enabled_()},set:function(e){this.enabled_(e)}}]),e}();n.default=r},{}],3:[function(e,t,n){},{}],4:[function(e,t,n){(function(n){var i="undefined"!=typeof n?n:"undefined"!=typeof window?window:{},o=e(3);if("undefined"!=typeof document)t.exports=document;else{var r=i["__GLOBAL_DOCUMENT_CACHE@4"];r||(r=i["__GLOBAL_DOCUMENT_CACHE@4"]=o),t.exports=r}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],5:[function(e,t,n){(function(t){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0;var o="undefined"!=typeof window?window.videojs:"undefined"!=typeof t?t.videojs:null,r=i(o),l=e(1),u=i(l),f=function(e,t){var n=e.qualityLevels,i=new u.default,o=function t(){i.dispose(),e.qualityLevels=n,e.off("dispose",t)};return e.on("dispose",o),e.qualityLevels=function(){return i},e.qualityLevels.VERSION="2.0.0",i},s=function(e){return f(this,r.default.mergeOptions({},e))};r.default.plugin("qualityLevels",s),s.VERSION="2.0.0",n.default=s}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[5]); | ||
!function e(t,n,i){function o(l,u){if(!n[l]){if(!t[l]){var f="function"==typeof require&&require;if(!u&&f)return f(l,!0);if(r)return r(l,!0);var s=new Error("Cannot find module '"+l+"'");throw s.code="MODULE_NOT_FOUND",s}var d=n[l]={exports:{}};t[l][0].call(d.exports,function(e){var n=t[l][1][e];return o(n?n:e)},d,d.exports,e,t,n,i)}return n[l].exports}for(var r="function"==typeof require&&require,l=0;l<i.length;l++)o(i[l]);return o}({1:[function(e,t,n){(function(t){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.__esModule=!0;var u=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),f="undefined"!=typeof window?window.videojs:"undefined"!=typeof t?t.videojs:null,s=i(f),d=e(4),a=e(2),c=i(a),p=function(e){function t(){o(this,t);var n=r(this,e.call(this));n.selectedIndex_=-1;var i=n;if(s.default.browser.IS_IE8){i=d.document.createElement("custom");for(var l in t.prototype)"constructor"!==l&&(i[l]=t.prototype[l])}return i.levels_=[],n}return l(t,e),t.prototype.addQualityLevel=function(e){var t=this.getQualityLevelById(e.id);if(t)return t;var n=this.levels_.length;return t=new c.default(e),""+n in this||Object.defineProperty(this,n,{get:function(){return this.levels_[n]}}),this.levels_.push(t),this.trigger({qualityLevel:t,type:"addqualitylevel"}),t},t.prototype.removeQualityLevel=function(e){for(var t=null,n=0,i=this.length;n<i;n++)if(this[n]===e){t=this.levels_.splice(n,1)[0],this.selectedIndex_===n?this.selectedIndex_=-1:this.selectedIndex_>n&&this.selectedIndex_--;break}return t&&this.trigger({qualityLevel:e,type:"removequalitylevel"}),t},t.prototype.getQualityLevelById=function(e){for(var t=0,n=this.length;t<n;t++){var i=this[t];if(i.id===e)return i}return null},t.prototype.dispose=function(){this.selectedIndex_=-1,this.levels_.length=0},u(t,[{key:"selectedIndex",get:function(){return this.selectedIndex_}},{key:"length",get:function(){return this.levels_.length}}]),t}(s.default.EventTarget);p.prototype.allowedEvents_={change:"change",addqualitylevel:"addqualitylevel",removequalitylevel:"removequalitylevel"};for(var y in p.prototype.allowedEvents_)p.prototype["on"+y]=null;n.default=p}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.__esModule=!0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=function(){function e(t){i(this,e),this.id=t.id,this.label=this.id,this.width=t.width,this.height=t.height,this.bitrate=t.bandwidth,this.enabled_=t.enabled}return o(e,[{key:"enabled",get:function(){return this.enabled_()},set:function(e){this.enabled_(e)}}]),e}();n.default=r},{}],3:[function(e,t,n){},{}],4:[function(e,t,n){(function(n){var i="undefined"!=typeof n?n:"undefined"!=typeof window?window:{},o=e(3);if("undefined"!=typeof document)t.exports=document;else{var r=i["__GLOBAL_DOCUMENT_CACHE@4"];r||(r=i["__GLOBAL_DOCUMENT_CACHE@4"]=o),t.exports=r}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],5:[function(e,t,n){(function(t){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0;var o="undefined"!=typeof window?window.videojs:"undefined"!=typeof t?t.videojs:null,r=i(o),l=e(1),u=i(l),f=function(e,t){var n=e.qualityLevels,i=new u.default,o=function t(){i.dispose(),e.qualityLevels=n,e.off("dispose",t)};return e.on("dispose",o),e.qualityLevels=function(){return i},e.qualityLevels.VERSION="2.0.1",i},s=function(e){return f(this,r.default.mergeOptions({},e))};r.default.plugin("qualityLevels",s),s.VERSION="2.0.1",n.default=s}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[5]); |
{ | ||
"name": "videojs-contrib-quality-levels", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Exposes a list of quality levels available for the source.", | ||
@@ -83,3 +83,4 @@ "main": "es5/plugin.js", | ||
"dependencies": { | ||
"video.js": "^5.10.1" | ||
"video.js": "^5.10.1", | ||
"browserify-versionify": "^1.0.6" | ||
}, | ||
@@ -97,3 +98,2 @@ "devDependencies": { | ||
"browserify-shim": "^3.8.12", | ||
"browserify-versionify": "^1.0.6", | ||
"budo": "^8.0.4", | ||
@@ -100,0 +100,0 @@ "bundle-collapser": "^1.2.1", |
@@ -62,3 +62,3 @@ (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
}; | ||
player.qualityLevels.VERSION = '2.0.0'; | ||
player.qualityLevels.VERSION = '2.0.1'; | ||
@@ -87,3 +87,3 @@ return qualityLevelList; | ||
// Include the version number. | ||
qualityLevels.VERSION = '2.0.0'; | ||
qualityLevels.VERSION = '2.0.1'; | ||
@@ -90,0 +90,0 @@ exports['default'] = qualityLevels; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
88262
35
2
+ Addedbrowserify-versionify@^1.0.6
+ Addedbrowserify-versionify@1.0.6(transitive)
+ Addedcore-util-is@1.0.3(transitive)
+ Addedfind-root@0.1.2(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedisarray@0.0.1(transitive)
+ Addedreadable-stream@1.0.34(transitive)
+ Addedstring_decoder@0.10.31(transitive)
+ Addedthrough2@0.6.3(transitive)