@volcengine/veplayer-plugin 2.0.0-rc.0 → 2.2.0-rc.0
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/README.md +21 -0
- package/esm/index.development.js +45768 -41842
- package/esm/index.production.js +5 -4
- package/esm/veplayer.plugin.flv.development.js +1988 -8535
- package/esm/veplayer.plugin.flv.production.js +1 -1
- package/esm/veplayer.plugin.hls.development.js +3548 -10507
- package/esm/veplayer.plugin.hls.production.js +1 -1
- package/esm/veplayer.plugin.mp4.development.js +87 -4
- package/esm/veplayer.plugin.mp4.production.js +1 -1
- package/esm/veplayer.plugin.rtm.development.js +159 -43
- package/esm/veplayer.plugin.rtm.production.js +1 -1
- package/esm/veplayer.plugin.shaka.development.js +86 -3
- package/esm/veplayer.plugin.shaka.production.js +1 -1
- package/esm/veplayer.plugin.xgvideo.development.js +226 -225
- package/esm/veplayer.plugin.xgvideo.production.js +1 -1
- package/package.json +2 -1
- package/umd/index.development.js +35422 -31496
- package/umd/index.production.js +1 -1
- package/umd/veplayer.plugin.flv.development.js +2034 -8580
- package/umd/veplayer.plugin.flv.production.js +1 -1
- package/umd/veplayer.plugin.hls.development.js +3654 -10614
- package/umd/veplayer.plugin.hls.production.js +1 -1
- package/umd/veplayer.plugin.mp4.development.js +87 -4
- package/umd/veplayer.plugin.mp4.production.js +1 -1
- package/umd/veplayer.plugin.rtm.development.js +180 -65
- package/umd/veplayer.plugin.rtm.production.js +1 -1
- package/umd/veplayer.plugin.shaka.development.js +86 -3
- package/umd/veplayer.plugin.shaka.production.js +1 -1
- package/umd/veplayer.plugin.xgvideo.development.js +26 -26
- package/umd/veplayer.plugin.xgvideo.production.js +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(function(global2, factory) {
|
|
2
|
-
typeof exports === "object" && typeof module !== "undefined" ?
|
|
3
|
-
})(this, function() {
|
|
2
|
+
typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2.__VEPLAYER_PLUGIN_XGVIDEO__ = {}));
|
|
3
|
+
})(this, function(exports2) {
|
|
4
4
|
"use strict";
|
|
5
5
|
function ownKeys$2(object, enumerableOnly) {
|
|
6
6
|
var keys2 = Object.keys(object);
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
}
|
|
26
26
|
function _regeneratorRuntime$1() {
|
|
27
27
|
_regeneratorRuntime$1 = function() {
|
|
28
|
-
return
|
|
28
|
+
return exports3;
|
|
29
29
|
};
|
|
30
|
-
var
|
|
30
|
+
var exports3 = {}, Op = Object.prototype, hasOwn2 = Op.hasOwnProperty, defineProperty2 = Object.defineProperty || function(obj, key2, desc) {
|
|
31
31
|
obj[key2] = desc.value;
|
|
32
32
|
}, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
|
33
33
|
function define2(obj, key2, value) {
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
|
|
67
|
+
exports3.wrap = wrap;
|
|
68
68
|
var ContinueSentinel = {};
|
|
69
69
|
function Generator() {
|
|
70
70
|
}
|
|
@@ -221,28 +221,28 @@
|
|
|
221
221
|
}), defineProperty2(GeneratorFunctionPrototype, "constructor", {
|
|
222
222
|
value: GeneratorFunction,
|
|
223
223
|
configurable: true
|
|
224
|
-
}), GeneratorFunction.displayName = define2(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"),
|
|
224
|
+
}), GeneratorFunction.displayName = define2(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports3.isGeneratorFunction = function(genFun) {
|
|
225
225
|
var ctor = "function" == typeof genFun && genFun.constructor;
|
|
226
226
|
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
|
|
227
|
-
},
|
|
227
|
+
}, exports3.mark = function(genFun) {
|
|
228
228
|
return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define2(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
|
|
229
|
-
},
|
|
229
|
+
}, exports3.awrap = function(arg) {
|
|
230
230
|
return {
|
|
231
231
|
__await: arg
|
|
232
232
|
};
|
|
233
233
|
}, defineIteratorMethods(AsyncIterator.prototype), define2(AsyncIterator.prototype, asyncIteratorSymbol, function() {
|
|
234
234
|
return this;
|
|
235
|
-
}),
|
|
235
|
+
}), exports3.AsyncIterator = AsyncIterator, exports3.async = function(innerFn, outerFn, self2, tryLocsList, PromiseImpl) {
|
|
236
236
|
void 0 === PromiseImpl && (PromiseImpl = Promise);
|
|
237
237
|
var iter = new AsyncIterator(wrap(innerFn, outerFn, self2, tryLocsList), PromiseImpl);
|
|
238
|
-
return
|
|
238
|
+
return exports3.isGeneratorFunction(outerFn) ? iter : iter.next().then(function(result) {
|
|
239
239
|
return result.done ? result.value : iter.next();
|
|
240
240
|
});
|
|
241
241
|
}, defineIteratorMethods(Gp), define2(Gp, toStringTagSymbol, "Generator"), define2(Gp, iteratorSymbol, function() {
|
|
242
242
|
return this;
|
|
243
243
|
}), define2(Gp, "toString", function() {
|
|
244
244
|
return "[object Generator]";
|
|
245
|
-
}),
|
|
245
|
+
}), exports3.keys = function(val) {
|
|
246
246
|
var object = Object(val), keys2 = [];
|
|
247
247
|
for (var key2 in object)
|
|
248
248
|
keys2.push(key2);
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
}
|
|
255
255
|
return next.done = true, next;
|
|
256
256
|
};
|
|
257
|
-
},
|
|
257
|
+
}, exports3.values = values2, Context.prototype = {
|
|
258
258
|
constructor: Context,
|
|
259
259
|
reset: function(skipTempReset) {
|
|
260
260
|
if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, this.done = false, this.delegate = null, this.method = "next", this.arg = void 0, this.tryEntries.forEach(resetTryEntry), !skipTempReset)
|
|
@@ -343,7 +343,7 @@
|
|
|
343
343
|
nextLoc
|
|
344
344
|
}, "next" === this.method && (this.arg = void 0), ContinueSentinel;
|
|
345
345
|
}
|
|
346
|
-
},
|
|
346
|
+
}, exports3;
|
|
347
347
|
}
|
|
348
348
|
function asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, key2, arg) {
|
|
349
349
|
try {
|
|
@@ -9690,9 +9690,9 @@
|
|
|
9690
9690
|
}();
|
|
9691
9691
|
function _regeneratorRuntime() {
|
|
9692
9692
|
_regeneratorRuntime = function() {
|
|
9693
|
-
return
|
|
9693
|
+
return exports3;
|
|
9694
9694
|
};
|
|
9695
|
-
var
|
|
9695
|
+
var exports3 = {}, Op = Object.prototype, hasOwn2 = Op.hasOwnProperty, defineProperty2 = Object.defineProperty || function(obj, key2, desc) {
|
|
9696
9696
|
obj[key2] = desc.value;
|
|
9697
9697
|
}, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
|
9698
9698
|
function define2(obj, key2, value) {
|
|
@@ -9729,7 +9729,7 @@
|
|
|
9729
9729
|
};
|
|
9730
9730
|
}
|
|
9731
9731
|
}
|
|
9732
|
-
|
|
9732
|
+
exports3.wrap = wrap;
|
|
9733
9733
|
var ContinueSentinel = {};
|
|
9734
9734
|
function Generator() {
|
|
9735
9735
|
}
|
|
@@ -9886,28 +9886,28 @@
|
|
|
9886
9886
|
}), defineProperty2(GeneratorFunctionPrototype, "constructor", {
|
|
9887
9887
|
value: GeneratorFunction,
|
|
9888
9888
|
configurable: true
|
|
9889
|
-
}), GeneratorFunction.displayName = define2(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"),
|
|
9889
|
+
}), GeneratorFunction.displayName = define2(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports3.isGeneratorFunction = function(genFun) {
|
|
9890
9890
|
var ctor = "function" == typeof genFun && genFun.constructor;
|
|
9891
9891
|
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
|
|
9892
|
-
},
|
|
9892
|
+
}, exports3.mark = function(genFun) {
|
|
9893
9893
|
return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define2(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
|
|
9894
|
-
},
|
|
9894
|
+
}, exports3.awrap = function(arg) {
|
|
9895
9895
|
return {
|
|
9896
9896
|
__await: arg
|
|
9897
9897
|
};
|
|
9898
9898
|
}, defineIteratorMethods(AsyncIterator.prototype), define2(AsyncIterator.prototype, asyncIteratorSymbol, function() {
|
|
9899
9899
|
return this;
|
|
9900
|
-
}),
|
|
9900
|
+
}), exports3.AsyncIterator = AsyncIterator, exports3.async = function(innerFn, outerFn, self2, tryLocsList, PromiseImpl) {
|
|
9901
9901
|
void 0 === PromiseImpl && (PromiseImpl = Promise);
|
|
9902
9902
|
var iter = new AsyncIterator(wrap(innerFn, outerFn, self2, tryLocsList), PromiseImpl);
|
|
9903
|
-
return
|
|
9903
|
+
return exports3.isGeneratorFunction(outerFn) ? iter : iter.next().then(function(result) {
|
|
9904
9904
|
return result.done ? result.value : iter.next();
|
|
9905
9905
|
});
|
|
9906
9906
|
}, defineIteratorMethods(Gp), define2(Gp, toStringTagSymbol, "Generator"), define2(Gp, iteratorSymbol, function() {
|
|
9907
9907
|
return this;
|
|
9908
9908
|
}), define2(Gp, "toString", function() {
|
|
9909
9909
|
return "[object Generator]";
|
|
9910
|
-
}),
|
|
9910
|
+
}), exports3.keys = function(val) {
|
|
9911
9911
|
var object = Object(val), keys2 = [];
|
|
9912
9912
|
for (var key2 in object)
|
|
9913
9913
|
keys2.push(key2);
|
|
@@ -9919,7 +9919,7 @@
|
|
|
9919
9919
|
}
|
|
9920
9920
|
return next.done = true, next;
|
|
9921
9921
|
};
|
|
9922
|
-
},
|
|
9922
|
+
}, exports3.values = values2, Context.prototype = {
|
|
9923
9923
|
constructor: Context,
|
|
9924
9924
|
reset: function(skipTempReset) {
|
|
9925
9925
|
if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, this.done = false, this.delegate = null, this.method = "next", this.arg = void 0, this.tryEntries.forEach(resetTryEntry), !skipTempReset)
|
|
@@ -10008,7 +10008,7 @@
|
|
|
10008
10008
|
nextLoc
|
|
10009
10009
|
}, "next" === this.method && (this.arg = void 0), ContinueSentinel;
|
|
10010
10010
|
}
|
|
10011
|
-
},
|
|
10011
|
+
}, exports3;
|
|
10012
10012
|
}
|
|
10013
10013
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key2, arg) {
|
|
10014
10014
|
try {
|
|
@@ -19093,6 +19093,6 @@
|
|
|
19093
19093
|
customElements.get(getEleName()) || customElements.define(getEleName(), XGVideo);
|
|
19094
19094
|
} catch (e) {
|
|
19095
19095
|
}
|
|
19096
|
-
VePlayer.register("plugin:xgvideo", XGVideo);
|
|
19097
|
-
|
|
19096
|
+
VePlayer.register("plugin:xgvideo", { XGVideoPlugin: XGVideo });
|
|
19097
|
+
exports2.XGVideoPlugin = XGVideo;
|
|
19098
19098
|
});
|