@clappr/player 0.14.1 → 0.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/clappr.js +93 -100
- package/dist/clappr.js.map +1 -1
- package/dist/clappr.min.js +1 -1
- package/dist/clappr.min.js.map +1 -1
- package/dist/clappr.plainhtml5.js +78 -81
- package/dist/clappr.plainhtml5.min.js +1 -1
- package/dist/clappr.plainhtml5.min.js.map +1 -1
- package/package.json +5 -7
package/dist/clappr.js
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
function _defineProperty$3(e, r, t) {
|
|
8
8
|
return (r = _toPropertyKey$4(r)) in e ? Object.defineProperty(e, r, {
|
|
9
9
|
value: t,
|
|
10
|
-
enumerable:
|
|
11
|
-
configurable:
|
|
12
|
-
writable:
|
|
10
|
+
enumerable: true,
|
|
11
|
+
configurable: true,
|
|
12
|
+
writable: true
|
|
13
13
|
}) : e[r] = t, e;
|
|
14
14
|
}
|
|
15
15
|
function ownKeys$3(e, r) {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
function _objectSpread2$3(e) {
|
|
26
26
|
for (var r = 1; r < arguments.length; r++) {
|
|
27
27
|
var t = null != arguments[r] ? arguments[r] : {};
|
|
28
|
-
r % 2 ? ownKeys$3(Object(t),
|
|
28
|
+
r % 2 ? ownKeys$3(Object(t), true).forEach(function (r) {
|
|
29
29
|
_defineProperty$3(e, r, t[r]);
|
|
30
30
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function (r) {
|
|
31
31
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
if ("object" != typeof t || !t) return t;
|
|
38
38
|
var e = t[Symbol.toPrimitive];
|
|
39
39
|
if (void 0 !== e) {
|
|
40
|
-
var i = e.call(t, r
|
|
40
|
+
var i = e.call(t, r);
|
|
41
41
|
if ("object" != typeof i) return i;
|
|
42
42
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
43
43
|
}
|
|
@@ -72,18 +72,18 @@
|
|
|
72
72
|
function _defineProperties$2(e, r) {
|
|
73
73
|
for (var t = 0; t < r.length; t++) {
|
|
74
74
|
var o = r[t];
|
|
75
|
-
o.enumerable = o.enumerable ||
|
|
75
|
+
o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey$3(o.key), o);
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
function _createClass$2(e, r, t) {
|
|
79
79
|
return r && _defineProperties$2(e.prototype, r), t && _defineProperties$2(e, t), Object.defineProperty(e, "prototype", {
|
|
80
|
-
writable:
|
|
80
|
+
writable: false
|
|
81
81
|
}), e;
|
|
82
82
|
}
|
|
83
83
|
function _createForOfIteratorHelper(r, e) {
|
|
84
84
|
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
85
85
|
if (!t) {
|
|
86
|
-
if (Array.isArray(r) || (t = _unsupportedIterableToArray$1(r)) || e
|
|
86
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray$1(r)) || e) {
|
|
87
87
|
t && (r = t);
|
|
88
88
|
var n = 0,
|
|
89
89
|
F = function () {};
|
|
@@ -91,9 +91,9 @@
|
|
|
91
91
|
s: F,
|
|
92
92
|
n: function () {
|
|
93
93
|
return n >= r.length ? {
|
|
94
|
-
done:
|
|
94
|
+
done: true
|
|
95
95
|
} : {
|
|
96
|
-
done:
|
|
96
|
+
done: false,
|
|
97
97
|
value: r[n++]
|
|
98
98
|
};
|
|
99
99
|
},
|
|
@@ -106,8 +106,8 @@
|
|
|
106
106
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
107
107
|
}
|
|
108
108
|
var o,
|
|
109
|
-
a =
|
|
110
|
-
u =
|
|
109
|
+
a = true,
|
|
110
|
+
u = false;
|
|
111
111
|
return {
|
|
112
112
|
s: function () {
|
|
113
113
|
t = t.call(r);
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
return a = r.done, r;
|
|
118
118
|
},
|
|
119
119
|
e: function (r) {
|
|
120
|
-
u =
|
|
120
|
+
u = true, o = r;
|
|
121
121
|
},
|
|
122
122
|
f: function () {
|
|
123
123
|
try {
|
|
@@ -131,9 +131,9 @@
|
|
|
131
131
|
function _defineProperty$2(e, r, t) {
|
|
132
132
|
return (r = _toPropertyKey$3(r)) in e ? Object.defineProperty(e, r, {
|
|
133
133
|
value: t,
|
|
134
|
-
enumerable:
|
|
135
|
-
configurable:
|
|
136
|
-
writable:
|
|
134
|
+
enumerable: true,
|
|
135
|
+
configurable: true,
|
|
136
|
+
writable: true
|
|
137
137
|
}) : e[r] = t, e;
|
|
138
138
|
}
|
|
139
139
|
function _get$2() {
|
|
@@ -155,11 +155,11 @@
|
|
|
155
155
|
t.prototype = Object.create(e && e.prototype, {
|
|
156
156
|
constructor: {
|
|
157
157
|
value: t,
|
|
158
|
-
writable:
|
|
159
|
-
configurable:
|
|
158
|
+
writable: true,
|
|
159
|
+
configurable: true
|
|
160
160
|
}
|
|
161
161
|
}), Object.defineProperty(t, "prototype", {
|
|
162
|
-
writable:
|
|
162
|
+
writable: false
|
|
163
163
|
}), e && _setPrototypeOf$2(t, e);
|
|
164
164
|
}
|
|
165
165
|
function _isNativeReflectConstruct$2() {
|
|
@@ -181,15 +181,15 @@
|
|
|
181
181
|
i,
|
|
182
182
|
u,
|
|
183
183
|
a = [],
|
|
184
|
-
f =
|
|
185
|
-
o =
|
|
184
|
+
f = true,
|
|
185
|
+
o = false;
|
|
186
186
|
try {
|
|
187
187
|
if (i = (t = t.call(r)).next, 0 === l) {
|
|
188
188
|
if (Object(t) !== t) return;
|
|
189
189
|
f = !1;
|
|
190
190
|
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
191
191
|
} catch (r) {
|
|
192
|
-
o =
|
|
192
|
+
o = true, n = r;
|
|
193
193
|
} finally {
|
|
194
194
|
try {
|
|
195
195
|
if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
function _objectSpread2$2(e) {
|
|
220
220
|
for (var r = 1; r < arguments.length; r++) {
|
|
221
221
|
var t = null != arguments[r] ? arguments[r] : {};
|
|
222
|
-
r % 2 ? ownKeys$2(Object(t),
|
|
222
|
+
r % 2 ? ownKeys$2(Object(t), true).forEach(function (r) {
|
|
223
223
|
_defineProperty$2(e, r, t[r]);
|
|
224
224
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function (r) {
|
|
225
225
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
@@ -245,8 +245,8 @@
|
|
|
245
245
|
return t;
|
|
246
246
|
}
|
|
247
247
|
function _superPropGet$2(t, o, e, r) {
|
|
248
|
-
var p = _get$2(_getPrototypeOf$2(
|
|
249
|
-
return
|
|
248
|
+
var p = _get$2(_getPrototypeOf$2(t.prototype), o, e);
|
|
249
|
+
return "function" == typeof p ? function (t) {
|
|
250
250
|
return p.apply(e, t);
|
|
251
251
|
} : p;
|
|
252
252
|
}
|
|
@@ -257,11 +257,11 @@
|
|
|
257
257
|
if ("object" != typeof t || !t) return t;
|
|
258
258
|
var e = t[Symbol.toPrimitive];
|
|
259
259
|
if (void 0 !== e) {
|
|
260
|
-
var i = e.call(t, r
|
|
260
|
+
var i = e.call(t, r);
|
|
261
261
|
if ("object" != typeof i) return i;
|
|
262
262
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
263
263
|
}
|
|
264
|
-
return
|
|
264
|
+
return String(t);
|
|
265
265
|
}
|
|
266
266
|
function _toPropertyKey$3(t) {
|
|
267
267
|
var i = _toPrimitive$3(t, "string");
|
|
@@ -2538,7 +2538,7 @@
|
|
|
2538
2538
|
localStorage.setItem('clappr', 'clappr');
|
|
2539
2539
|
localStorage.removeItem('clappr');
|
|
2540
2540
|
return true;
|
|
2541
|
-
} catch (
|
|
2541
|
+
} catch (_unused) {
|
|
2542
2542
|
return false;
|
|
2543
2543
|
}
|
|
2544
2544
|
};
|
|
@@ -2546,7 +2546,7 @@
|
|
|
2546
2546
|
try {
|
|
2547
2547
|
var fo = new ActiveXObject('ShockwaveFlash.ShockwaveFlash');
|
|
2548
2548
|
return !!fo;
|
|
2549
|
-
} catch (
|
|
2549
|
+
} catch (_unused2) {
|
|
2550
2550
|
return !!(navigator.mimeTypes && navigator.mimeTypes['application/x-shockwave-flash'] !== undefined && navigator.mimeTypes['application/x-shockwave-flash'].enabledPlugin);
|
|
2551
2551
|
}
|
|
2552
2552
|
};
|
|
@@ -2879,7 +2879,7 @@
|
|
|
2879
2879
|
value: function _defaultValueFor(key) {
|
|
2880
2880
|
try {
|
|
2881
2881
|
return this._defaultConfig()[key].parse(this._defaultConfig()[key].value);
|
|
2882
|
-
} catch (
|
|
2882
|
+
} catch (_unused) {
|
|
2883
2883
|
return undefined;
|
|
2884
2884
|
}
|
|
2885
2885
|
}
|
|
@@ -2903,7 +2903,7 @@
|
|
|
2903
2903
|
try {
|
|
2904
2904
|
localStorage[this._createKeyspace(key)] = value;
|
|
2905
2905
|
return true;
|
|
2906
|
-
} catch (
|
|
2906
|
+
} catch (_unused2) {
|
|
2907
2907
|
return false;
|
|
2908
2908
|
}
|
|
2909
2909
|
}
|
|
@@ -3449,7 +3449,7 @@
|
|
|
3449
3449
|
var property = typeof eventName === 'string' && eventName.toUpperCase().trim();
|
|
3450
3450
|
if (property && !Events.Custom[property]) {
|
|
3451
3451
|
Events.Custom[property] = property.toLowerCase().split('_').map(function (value, index) {
|
|
3452
|
-
return index === 0 ? value : value
|
|
3452
|
+
return index === 0 ? value : value[0].toUpperCase() + value.slice(1);
|
|
3453
3453
|
}).join('');
|
|
3454
3454
|
} else Log.error('Events', 'Error when register event: ' + eventName);
|
|
3455
3455
|
}
|
|
@@ -5709,7 +5709,7 @@
|
|
|
5709
5709
|
*/
|
|
5710
5710
|
}, {
|
|
5711
5711
|
key: "seek",
|
|
5712
|
-
value: function seek(time) {}
|
|
5712
|
+
value: function seek(time) {}
|
|
5713
5713
|
|
|
5714
5714
|
/**
|
|
5715
5715
|
* seeks the playback to a given `percentage` in percentage
|
|
@@ -5718,7 +5718,7 @@
|
|
|
5718
5718
|
*/
|
|
5719
5719
|
}, {
|
|
5720
5720
|
key: "seekPercentage",
|
|
5721
|
-
value: function seekPercentage(percentage) {}
|
|
5721
|
+
value: function seekPercentage(percentage) {}
|
|
5722
5722
|
|
|
5723
5723
|
/**
|
|
5724
5724
|
* The time that "0" now represents relative to when playback started.
|
|
@@ -5815,7 +5815,7 @@
|
|
|
5815
5815
|
* @property closedCaptionsTrackId
|
|
5816
5816
|
* @type {Number}
|
|
5817
5817
|
*/,
|
|
5818
|
-
set: function set(trackId) {}
|
|
5818
|
+
set: function set(trackId) {}
|
|
5819
5819
|
|
|
5820
5820
|
/**
|
|
5821
5821
|
* returns a list of the available audio tracks for the playback.
|
|
@@ -5843,7 +5843,7 @@
|
|
|
5843
5843
|
*/
|
|
5844
5844
|
}, {
|
|
5845
5845
|
key: "switchAudioTrack",
|
|
5846
|
-
value: function switchAudioTrack(id) {}
|
|
5846
|
+
value: function switchAudioTrack(id) {}
|
|
5847
5847
|
|
|
5848
5848
|
/**
|
|
5849
5849
|
* gets the playback type (`'vod', 'live', 'aod'`)
|
|
@@ -5897,7 +5897,7 @@
|
|
|
5897
5897
|
*/
|
|
5898
5898
|
}, {
|
|
5899
5899
|
key: "volume",
|
|
5900
|
-
value: function volume(value) {}
|
|
5900
|
+
value: function volume(value) {}
|
|
5901
5901
|
|
|
5902
5902
|
/**
|
|
5903
5903
|
* enables to configure the playback after its creation
|
|
@@ -5919,7 +5919,6 @@
|
|
|
5919
5919
|
value: function attemptAutoPlay() {
|
|
5920
5920
|
var _this2 = this;
|
|
5921
5921
|
this.canAutoPlay(function (result, error) {
|
|
5922
|
-
// eslint-disable-line no-unused-vars
|
|
5923
5922
|
result && _this2.play();
|
|
5924
5923
|
});
|
|
5925
5924
|
}
|
|
@@ -5965,7 +5964,6 @@
|
|
|
5965
5964
|
* @return {Boolean} `true` if the playback is playable, otherwise `false`
|
|
5966
5965
|
*/
|
|
5967
5966
|
Playback.canPlay = function (source, mimeType) {
|
|
5968
|
-
// eslint-disable-line no-unused-vars
|
|
5969
5967
|
return false;
|
|
5970
5968
|
};
|
|
5971
5969
|
|
|
@@ -6048,8 +6046,8 @@
|
|
|
6048
6046
|
}, {
|
|
6049
6047
|
key: "createContainer",
|
|
6050
6048
|
value: function createContainer(source) {
|
|
6051
|
-
var resolvedSource = null;
|
|
6052
6049
|
var mimeType = this.options.mimeType;
|
|
6050
|
+
var resolvedSource;
|
|
6053
6051
|
if (_typeof$1(source) === 'object') {
|
|
6054
6052
|
resolvedSource = source.source.toString();
|
|
6055
6053
|
if (source.mimeType) mimeType = source.mimeType;
|
|
@@ -6751,7 +6749,7 @@
|
|
|
6751
6749
|
plugins: {},
|
|
6752
6750
|
playbacks: []
|
|
6753
6751
|
};
|
|
6754
|
-
var currentVersion = "0.16.
|
|
6752
|
+
var currentVersion = "0.16.2";
|
|
6755
6753
|
return /*#__PURE__*/function () {
|
|
6756
6754
|
/**
|
|
6757
6755
|
* builds the loader
|
|
@@ -7929,7 +7927,7 @@
|
|
|
7929
7927
|
key: "supportedVersion",
|
|
7930
7928
|
get: function get() {
|
|
7931
7929
|
return {
|
|
7932
|
-
min: "0.16.
|
|
7930
|
+
min: "0.16.2"
|
|
7933
7931
|
};
|
|
7934
7932
|
}
|
|
7935
7933
|
}, {
|
|
@@ -8031,7 +8029,7 @@
|
|
|
8031
8029
|
}, {
|
|
8032
8030
|
key: "configure",
|
|
8033
8031
|
value: function configure(options) {
|
|
8034
|
-
_superPropGet$2(HTML5Video, "configure", this
|
|
8032
|
+
_superPropGet$2(HTML5Video, "configure", this)([options]);
|
|
8035
8033
|
this.el.loop = !!options.loop;
|
|
8036
8034
|
}
|
|
8037
8035
|
|
|
@@ -8178,13 +8176,13 @@
|
|
|
8178
8176
|
value: function consent(cb) {
|
|
8179
8177
|
var _this3 = this;
|
|
8180
8178
|
if (this.isPlaying() || this.el._consented) {
|
|
8181
|
-
_superPropGet$2(HTML5Video, "consent", this
|
|
8179
|
+
_superPropGet$2(HTML5Video, "consent", this)([cb]);
|
|
8182
8180
|
} else {
|
|
8183
8181
|
var _eventHandler = function eventHandler() {
|
|
8184
8182
|
_this3.el.removeEventListener('loadedmetadata', _eventHandler, false);
|
|
8185
8183
|
_this3.el.removeEventListener('error', _eventHandler, false);
|
|
8186
8184
|
_this3.el._consented = true; // Flag to call load() only once
|
|
8187
|
-
_superPropGet$2(HTML5Video, "consent", _this3
|
|
8185
|
+
_superPropGet$2(HTML5Video, "consent", _this3)([cb]);
|
|
8188
8186
|
};
|
|
8189
8187
|
this.el.addEventListener('loadedmetadata', _eventHandler, false);
|
|
8190
8188
|
this.el.addEventListener('error', _eventHandler, false);
|
|
@@ -8459,7 +8457,7 @@
|
|
|
8459
8457
|
this._stopPlayheadMovingChecks();
|
|
8460
8458
|
this.handleTextTrackChange && this.el.textTracks.removeEventListener('change', this.handleTextTrackChange);
|
|
8461
8459
|
this.$el.off('contextmenu');
|
|
8462
|
-
_superPropGet$2(HTML5Video, "destroy", this
|
|
8460
|
+
_superPropGet$2(HTML5Video, "destroy", this)([]);
|
|
8463
8461
|
this.el.removeAttribute('src');
|
|
8464
8462
|
this.el.load(); // load with no src to stop loading of the previous source and avoid leaks
|
|
8465
8463
|
this._src = null;
|
|
@@ -8733,7 +8731,7 @@
|
|
|
8733
8731
|
key: "supportedVersion",
|
|
8734
8732
|
get: function get() {
|
|
8735
8733
|
return {
|
|
8736
|
-
min: "0.16.
|
|
8734
|
+
min: "0.16.2"
|
|
8737
8735
|
};
|
|
8738
8736
|
}
|
|
8739
8737
|
}, {
|
|
@@ -8788,7 +8786,7 @@
|
|
|
8788
8786
|
key: "supportedVersion",
|
|
8789
8787
|
get: function get() {
|
|
8790
8788
|
return {
|
|
8791
|
-
min: "0.16.
|
|
8789
|
+
min: "0.16.2"
|
|
8792
8790
|
};
|
|
8793
8791
|
}
|
|
8794
8792
|
}, {
|
|
@@ -8868,7 +8866,7 @@
|
|
|
8868
8866
|
key: "supportedVersion",
|
|
8869
8867
|
get: function get() {
|
|
8870
8868
|
return {
|
|
8871
|
-
min: "0.16.
|
|
8869
|
+
min: "0.16.2"
|
|
8872
8870
|
};
|
|
8873
8871
|
}
|
|
8874
8872
|
}, {
|
|
@@ -8913,7 +8911,7 @@
|
|
|
8913
8911
|
var buffer32;
|
|
8914
8912
|
try {
|
|
8915
8913
|
buffer32 = new Uint32Array(idata.data.buffer);
|
|
8916
|
-
} catch (
|
|
8914
|
+
} catch (_unused) {
|
|
8917
8915
|
buffer32 = new Uint32Array(this.context.canvas.width * this.context.canvas.height * 4);
|
|
8918
8916
|
var data = idata.data;
|
|
8919
8917
|
for (var i = 0; i < data.length; i++) {
|
|
@@ -8965,7 +8963,6 @@
|
|
|
8965
8963
|
}]);
|
|
8966
8964
|
}(Playback);
|
|
8967
8965
|
NoOp.canPlay = function (source) {
|
|
8968
|
-
// eslint-disable-line no-unused-vars
|
|
8969
8966
|
return true;
|
|
8970
8967
|
};
|
|
8971
8968
|
|
|
@@ -9000,7 +8997,7 @@
|
|
|
9000
8997
|
key: "supportedVersion",
|
|
9001
8998
|
get: function get() {
|
|
9002
8999
|
return {
|
|
9003
|
-
min: "0.16.
|
|
9000
|
+
min: "0.16.2"
|
|
9004
9001
|
};
|
|
9005
9002
|
}
|
|
9006
9003
|
}, {
|
|
@@ -9141,7 +9138,7 @@
|
|
|
9141
9138
|
key: "supportedVersion",
|
|
9142
9139
|
get: function get() {
|
|
9143
9140
|
return {
|
|
9144
|
-
min: "0.16.
|
|
9141
|
+
min: "0.16.2"
|
|
9145
9142
|
};
|
|
9146
9143
|
}
|
|
9147
9144
|
}, {
|
|
@@ -9170,7 +9167,7 @@
|
|
|
9170
9167
|
@type {string}
|
|
9171
9168
|
@default
|
|
9172
9169
|
*/
|
|
9173
|
-
var version$2 = "0.16.
|
|
9170
|
+
var version$2 = "0.16.2";
|
|
9174
9171
|
|
|
9175
9172
|
// Built-in Plugins/Playbacks
|
|
9176
9173
|
|
|
@@ -9219,12 +9216,12 @@
|
|
|
9219
9216
|
function _defineProperties$1(e, r) {
|
|
9220
9217
|
for (var t = 0; t < r.length; t++) {
|
|
9221
9218
|
var o = r[t];
|
|
9222
|
-
o.enumerable = o.enumerable ||
|
|
9219
|
+
o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey$2(o.key), o);
|
|
9223
9220
|
}
|
|
9224
9221
|
}
|
|
9225
9222
|
function _createClass$1(e, r, t) {
|
|
9226
|
-
return r && _defineProperties$1(e.prototype, r),
|
|
9227
|
-
writable:
|
|
9223
|
+
return r && _defineProperties$1(e.prototype, r), Object.defineProperty(e, "prototype", {
|
|
9224
|
+
writable: false
|
|
9228
9225
|
}), e;
|
|
9229
9226
|
}
|
|
9230
9227
|
function _get$1() {
|
|
@@ -9246,11 +9243,11 @@
|
|
|
9246
9243
|
t.prototype = Object.create(e && e.prototype, {
|
|
9247
9244
|
constructor: {
|
|
9248
9245
|
value: t,
|
|
9249
|
-
writable:
|
|
9250
|
-
configurable:
|
|
9246
|
+
writable: true,
|
|
9247
|
+
configurable: true
|
|
9251
9248
|
}
|
|
9252
9249
|
}), Object.defineProperty(t, "prototype", {
|
|
9253
|
-
writable:
|
|
9250
|
+
writable: false
|
|
9254
9251
|
}), e && _setPrototypeOf$1(t, e);
|
|
9255
9252
|
}
|
|
9256
9253
|
function _isNativeReflectConstruct$1() {
|
|
@@ -9276,8 +9273,8 @@
|
|
|
9276
9273
|
return t;
|
|
9277
9274
|
}
|
|
9278
9275
|
function _superPropGet$1(t, o, e, r) {
|
|
9279
|
-
var p = _get$1(_getPrototypeOf$1(
|
|
9280
|
-
return
|
|
9276
|
+
var p = _get$1(_getPrototypeOf$1(t.prototype), o, e);
|
|
9277
|
+
return "function" == typeof p ? function (t) {
|
|
9281
9278
|
return p.apply(e, t);
|
|
9282
9279
|
} : p;
|
|
9283
9280
|
}
|
|
@@ -9285,11 +9282,11 @@
|
|
|
9285
9282
|
if ("object" != typeof t || !t) return t;
|
|
9286
9283
|
var e = t[Symbol.toPrimitive];
|
|
9287
9284
|
if (void 0 !== e) {
|
|
9288
|
-
var i = e.call(t, r
|
|
9285
|
+
var i = e.call(t, r);
|
|
9289
9286
|
if ("object" != typeof i) return i;
|
|
9290
9287
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
9291
9288
|
}
|
|
9292
|
-
return
|
|
9289
|
+
return String(t);
|
|
9293
9290
|
}
|
|
9294
9291
|
function _toPropertyKey$2(t) {
|
|
9295
9292
|
var i = _toPrimitive$2(t, "string");
|
|
@@ -9319,7 +9316,7 @@
|
|
|
9319
9316
|
key: "supportedVersion",
|
|
9320
9317
|
get: function get() {
|
|
9321
9318
|
return {
|
|
9322
|
-
min: "0.16.
|
|
9319
|
+
min: "0.16.2"
|
|
9323
9320
|
};
|
|
9324
9321
|
}
|
|
9325
9322
|
}, {
|
|
@@ -9382,7 +9379,7 @@
|
|
|
9382
9379
|
key: "supportedVersion",
|
|
9383
9380
|
get: function get() {
|
|
9384
9381
|
return {
|
|
9385
|
-
min: "0.16.
|
|
9382
|
+
min: "0.16.2"
|
|
9386
9383
|
};
|
|
9387
9384
|
}
|
|
9388
9385
|
}, {
|
|
@@ -9547,7 +9544,7 @@
|
|
|
9547
9544
|
key: "supportedVersion",
|
|
9548
9545
|
get: function get() {
|
|
9549
9546
|
return {
|
|
9550
|
-
min: "0.16.
|
|
9547
|
+
min: "0.16.2"
|
|
9551
9548
|
};
|
|
9552
9549
|
}
|
|
9553
9550
|
}, {
|
|
@@ -9678,7 +9675,7 @@
|
|
|
9678
9675
|
key: "supportedVersion",
|
|
9679
9676
|
get: function get() {
|
|
9680
9677
|
return {
|
|
9681
|
-
min: "0.16.
|
|
9678
|
+
min: "0.16.2"
|
|
9682
9679
|
};
|
|
9683
9680
|
}
|
|
9684
9681
|
}, {
|
|
@@ -9728,7 +9725,7 @@
|
|
|
9728
9725
|
key: "supportedVersion",
|
|
9729
9726
|
get: function get() {
|
|
9730
9727
|
return {
|
|
9731
|
-
min: "0.16.
|
|
9728
|
+
min: "0.16.2"
|
|
9732
9729
|
};
|
|
9733
9730
|
}
|
|
9734
9731
|
}, {
|
|
@@ -9848,7 +9845,7 @@
|
|
|
9848
9845
|
key: "supportedVersion",
|
|
9849
9846
|
get: function get() {
|
|
9850
9847
|
return {
|
|
9851
|
-
min: "0.16.
|
|
9848
|
+
min: "0.16.2"
|
|
9852
9849
|
};
|
|
9853
9850
|
}
|
|
9854
9851
|
}, {
|
|
@@ -9891,13 +9888,13 @@
|
|
|
9891
9888
|
}, {
|
|
9892
9889
|
key: "disable",
|
|
9893
9890
|
value: function disable() {
|
|
9894
|
-
_superPropGet$1(Favicon, "disable", this
|
|
9891
|
+
_superPropGet$1(Favicon, "disable", this)([]);
|
|
9895
9892
|
this.resetIcon();
|
|
9896
9893
|
}
|
|
9897
9894
|
}, {
|
|
9898
9895
|
key: "destroy",
|
|
9899
9896
|
value: function destroy() {
|
|
9900
|
-
_superPropGet$1(Favicon, "destroy", this
|
|
9897
|
+
_superPropGet$1(Favicon, "destroy", this)([]);
|
|
9901
9898
|
this.resetIcon();
|
|
9902
9899
|
}
|
|
9903
9900
|
}, {
|
|
@@ -9971,7 +9968,7 @@
|
|
|
9971
9968
|
key: "supportedVersion",
|
|
9972
9969
|
get: function get() {
|
|
9973
9970
|
return {
|
|
9974
|
-
min: "0.16.
|
|
9971
|
+
min: "0.16.2"
|
|
9975
9972
|
};
|
|
9976
9973
|
}
|
|
9977
9974
|
}, {
|
|
@@ -10472,7 +10469,7 @@
|
|
|
10472
10469
|
key: "supportedVersion",
|
|
10473
10470
|
get: function get() {
|
|
10474
10471
|
return {
|
|
10475
|
-
min: "0.16.
|
|
10472
|
+
min: "0.16.2"
|
|
10476
10473
|
};
|
|
10477
10474
|
}
|
|
10478
10475
|
}, {
|
|
@@ -11196,7 +11193,7 @@
|
|
|
11196
11193
|
Zepto(document).unbind('mousemove', this.updateDragHandler);
|
|
11197
11194
|
this.unbindKeyEvents();
|
|
11198
11195
|
this.stopListening();
|
|
11199
|
-
_superPropGet$1(MediaControl, "destroy", this
|
|
11196
|
+
_superPropGet$1(MediaControl, "destroy", this)([]);
|
|
11200
11197
|
}
|
|
11201
11198
|
|
|
11202
11199
|
/**
|
|
@@ -11302,7 +11299,7 @@
|
|
|
11302
11299
|
key: "supportedVersion",
|
|
11303
11300
|
get: function get() {
|
|
11304
11301
|
return {
|
|
11305
|
-
min: "0.16.
|
|
11302
|
+
min: "0.16.2"
|
|
11306
11303
|
};
|
|
11307
11304
|
}
|
|
11308
11305
|
}, {
|
|
@@ -11521,7 +11518,7 @@
|
|
|
11521
11518
|
key: "supportedVersion",
|
|
11522
11519
|
get: function get() {
|
|
11523
11520
|
return {
|
|
11524
|
-
min: "0.16.
|
|
11521
|
+
min: "0.16.2"
|
|
11525
11522
|
};
|
|
11526
11523
|
}
|
|
11527
11524
|
}, {
|
|
@@ -11725,7 +11722,7 @@
|
|
|
11725
11722
|
key: "supportedVersion",
|
|
11726
11723
|
get: function get() {
|
|
11727
11724
|
return {
|
|
11728
|
-
min: "0.16.
|
|
11725
|
+
min: "0.16.2"
|
|
11729
11726
|
};
|
|
11730
11727
|
}
|
|
11731
11728
|
}, {
|
|
@@ -11807,7 +11804,7 @@
|
|
|
11807
11804
|
key: "supportedVersion",
|
|
11808
11805
|
get: function get() {
|
|
11809
11806
|
return {
|
|
11810
|
-
min: "0.16.
|
|
11807
|
+
min: "0.16.2"
|
|
11811
11808
|
};
|
|
11812
11809
|
}
|
|
11813
11810
|
}, {
|
|
@@ -11934,7 +11931,7 @@
|
|
|
11934
11931
|
key: "supportedVersion",
|
|
11935
11932
|
get: function get() {
|
|
11936
11933
|
return {
|
|
11937
|
-
min: "0.16.
|
|
11934
|
+
min: "0.16.2"
|
|
11938
11935
|
};
|
|
11939
11936
|
}
|
|
11940
11937
|
}, {
|
|
@@ -12008,7 +12005,7 @@
|
|
|
12008
12005
|
WaterMark: WaterMarkPlugin
|
|
12009
12006
|
};
|
|
12010
12007
|
|
|
12011
|
-
var version$1 = "0.14.
|
|
12008
|
+
var version$1 = "0.14.2";
|
|
12012
12009
|
for (var _i = 0, _Object$values = Object.values(Plugins); _i < _Object$values.length; _i++) {
|
|
12013
12010
|
var plugin = _Object$values[_i];
|
|
12014
12011
|
Loader.registerPlugin(plugin);
|
|
@@ -16401,19 +16398,15 @@
|
|
|
16401
16398
|
|
|
16402
16399
|
var NetworkErrorAction = {
|
|
16403
16400
|
DoNothing: 0,
|
|
16404
|
-
SendEndCallback: 1,
|
|
16405
16401
|
SendAlternateToPenaltyBox: 2,
|
|
16406
16402
|
RemoveAlternatePermanently: 3,
|
|
16407
|
-
InsertDiscontinuity: 4,
|
|
16408
16403
|
RetryRequest: 5
|
|
16409
16404
|
};
|
|
16410
16405
|
var ErrorActionFlags = {
|
|
16411
16406
|
None: 0,
|
|
16412
16407
|
MoveAllAlternatesMatchingHost: 1,
|
|
16413
16408
|
MoveAllAlternatesMatchingHDCP: 2,
|
|
16414
|
-
MoveAllAlternatesMatchingKey: 4
|
|
16415
|
-
SwitchToSDR: 8
|
|
16416
|
-
};
|
|
16409
|
+
MoveAllAlternatesMatchingKey: 4};
|
|
16417
16410
|
class ErrorController extends Logger {
|
|
16418
16411
|
constructor(hls) {
|
|
16419
16412
|
super('error-controller', hls.logger);
|
|
@@ -48772,20 +48765,20 @@ Schedule: ${scheduleItems.map(seg => segmentToString(seg))} pos: ${this.timeline
|
|
|
48772
48765
|
function _defineProperties(e, r) {
|
|
48773
48766
|
for (var t = 0; t < r.length; t++) {
|
|
48774
48767
|
var o = r[t];
|
|
48775
|
-
o.enumerable = o.enumerable ||
|
|
48768
|
+
o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey(o.key), o);
|
|
48776
48769
|
}
|
|
48777
48770
|
}
|
|
48778
48771
|
function _createClass(e, r, t) {
|
|
48779
48772
|
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
48780
|
-
writable:
|
|
48773
|
+
writable: false
|
|
48781
48774
|
}), e;
|
|
48782
48775
|
}
|
|
48783
48776
|
function _defineProperty(e, r, t) {
|
|
48784
48777
|
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
48785
48778
|
value: t,
|
|
48786
|
-
enumerable:
|
|
48787
|
-
configurable:
|
|
48788
|
-
writable:
|
|
48779
|
+
enumerable: true,
|
|
48780
|
+
configurable: true,
|
|
48781
|
+
writable: true
|
|
48789
48782
|
}) : e[r] = t, e;
|
|
48790
48783
|
}
|
|
48791
48784
|
function _get() {
|
|
@@ -48807,11 +48800,11 @@ Schedule: ${scheduleItems.map(seg => segmentToString(seg))} pos: ${this.timeline
|
|
|
48807
48800
|
t.prototype = Object.create(e && e.prototype, {
|
|
48808
48801
|
constructor: {
|
|
48809
48802
|
value: t,
|
|
48810
|
-
writable:
|
|
48811
|
-
configurable:
|
|
48803
|
+
writable: true,
|
|
48804
|
+
configurable: true
|
|
48812
48805
|
}
|
|
48813
48806
|
}), Object.defineProperty(t, "prototype", {
|
|
48814
|
-
writable:
|
|
48807
|
+
writable: false
|
|
48815
48808
|
}), e && _setPrototypeOf(t, e);
|
|
48816
48809
|
}
|
|
48817
48810
|
function _isNativeReflectConstruct() {
|
|
@@ -48841,7 +48834,7 @@ Schedule: ${scheduleItems.map(seg => segmentToString(seg))} pos: ${this.timeline
|
|
|
48841
48834
|
function _objectSpread2(e) {
|
|
48842
48835
|
for (var r = 1; r < arguments.length; r++) {
|
|
48843
48836
|
var t = null != arguments[r] ? arguments[r] : {};
|
|
48844
|
-
r % 2 ? ownKeys(Object(t),
|
|
48837
|
+
r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
|
|
48845
48838
|
_defineProperty(e, r, t[r]);
|
|
48846
48839
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
|
48847
48840
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
@@ -48864,7 +48857,7 @@ Schedule: ${scheduleItems.map(seg => segmentToString(seg))} pos: ${this.timeline
|
|
|
48864
48857
|
return t;
|
|
48865
48858
|
}
|
|
48866
48859
|
function _superPropGet(t, o, e, r) {
|
|
48867
|
-
var p = _get(_getPrototypeOf(
|
|
48860
|
+
var p = _get(_getPrototypeOf(t.prototype), o, e);
|
|
48868
48861
|
return 2 & r && "function" == typeof p ? function (t) {
|
|
48869
48862
|
return p.apply(e, t);
|
|
48870
48863
|
} : p;
|
|
@@ -48876,11 +48869,11 @@ Schedule: ${scheduleItems.map(seg => segmentToString(seg))} pos: ${this.timeline
|
|
|
48876
48869
|
if ("object" != typeof t || !t) return t;
|
|
48877
48870
|
var e = t[Symbol.toPrimitive];
|
|
48878
48871
|
if (void 0 !== e) {
|
|
48879
|
-
var i = e.call(t, r
|
|
48872
|
+
var i = e.call(t, r);
|
|
48880
48873
|
if ("object" != typeof i) return i;
|
|
48881
48874
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
48882
48875
|
}
|
|
48883
|
-
return
|
|
48876
|
+
return String(t);
|
|
48884
48877
|
}
|
|
48885
48878
|
function _toPropertyKey(t) {
|
|
48886
48879
|
var i = _toPrimitive(t, "string");
|
|
@@ -48927,7 +48920,7 @@ Schedule: ${scheduleItems.map(seg => segmentToString(seg))} pos: ${this.timeline
|
|
|
48927
48920
|
key: "supportedVersion",
|
|
48928
48921
|
get: function get() {
|
|
48929
48922
|
return {
|
|
48930
|
-
min: "0.16.
|
|
48923
|
+
min: "0.16.2"
|
|
48931
48924
|
};
|
|
48932
48925
|
}
|
|
48933
48926
|
}, {
|
|
@@ -49267,7 +49260,7 @@ Schedule: ${scheduleItems.map(seg => segmentToString(seg))} pos: ${this.timeline
|
|
|
49267
49260
|
// this playback manages the src on the video element itself
|
|
49268
49261
|
}, {
|
|
49269
49262
|
key: "_setupSrc",
|
|
49270
|
-
value: function _setupSrc(srcUrl) {}
|
|
49263
|
+
value: function _setupSrc(srcUrl) {}
|
|
49271
49264
|
}, {
|
|
49272
49265
|
key: "_startTimeUpdateTimer",
|
|
49273
49266
|
value: function _startTimeUpdateTimer() {
|