Socket
Socket
Sign inDemoInstall

videojs-contrib-quality-levels

Package Overview
Dependencies
Maintainers
3
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

videojs-contrib-quality-levels - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

3

CHANGELOG.md

@@ -9,2 +9,5 @@ CHANGELOG

## 2.0.2 (2016-12-23)
* Make global a dependency instead of devDependency
## 2.0.1 (2016-12-13)

@@ -11,0 +14,0 @@ * Make browserify-versionify a dependency instead of devDependency

6

dist/videojs-contrib-quality-levels.js
/**
* videojs-contrib-quality-levels
* @version 2.0.1
* @version 2.0.2
* @copyright 2016 Brightcove, Inc.

@@ -374,3 +374,3 @@ * @license Apache-2.0

};
player.qualityLevels.VERSION = '2.0.1';
player.qualityLevels.VERSION = '2.0.2';

@@ -399,3 +399,3 @@ return qualityLevelList;

// Include the version number.
qualityLevels.VERSION = '2.0.1';
qualityLevels.VERSION = '2.0.2';

@@ -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.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]);
!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.2",i},s=function(e){return f(this,r.default.mergeOptions({},e))};r.default.plugin("qualityLevels",s),s.VERSION="2.0.2",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.1",
"version": "2.0.2",
"description": "Exposes a list of quality levels available for the source.",

@@ -83,4 +83,5 @@ "main": "es5/plugin.js",

"dependencies": {
"video.js": "^5.10.1",
"browserify-versionify": "^1.0.6"
"browserify-versionify": "^1.0.6",
"global": "^4.3.1",
"video.js": "^5.10.1"
},

@@ -104,3 +105,2 @@ "devDependencies": {

"glob": "^6.0.3",
"global": "^4.3.0",
"jsdoc": "^3.4.0",

@@ -107,0 +107,0 @@ "karma": "^0.13.19",

@@ -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.1';
player.qualityLevels.VERSION = '2.0.2';

@@ -87,3 +87,3 @@ return qualityLevelList;

// Include the version number.
qualityLevels.VERSION = '2.0.1';
qualityLevels.VERSION = '2.0.2';

@@ -90,0 +90,0 @@ exports['default'] = qualityLevels;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc