diff --git a/quality-selector.min.js b/quality-selector.min.js new file mode 100644 index 0000000..30328a5 --- /dev/null +++ b/quality-selector.min.js @@ -0,0 +1,18 @@ +/* +* Clappr Quality Selector Plugin v1.0 +* modded by: ewwink +* github: https://github.com/ewwink/clappr-quality-selector-plugin +*/ +var AUTO=-1,DEFAULT_QUALITY_ID=parseInt(localStorage.getItem("savedLevelId")),FIRST_START=!0,QualitySelector=Clappr.UICorePlugin.extend({name:"quality_selector",version:"1.0",pluginStyle:'', +attributes:{"class":"quality_selector","data-quality-selector":""},events:{"click [data-quality-selector-select]":"onLevelSelect","click [data-quality-selector-button]":"onShowLevelSelectMenu"},template:function(a,b){var c="