@volcengine/veplayer-plugin 2.10.3 → 2.11.0-rc.1
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/esm/index.development.js +4975 -4761
- package/esm/index.production.js +7 -7
- package/esm/veplayer.plugin.abr.development.js +5019 -4804
- package/esm/veplayer.plugin.abr.production.js +1 -1
- package/esm/veplayer.plugin.flv.development.js +53 -73
- package/esm/veplayer.plugin.flv.production.js +1 -1
- package/package.json +1 -1
- package/umd/veplayer.plugin.abr.development.js +5019 -4804
- package/umd/veplayer.plugin.abr.production.js +1 -1
- package/umd/veplayer.plugin.flv.development.js +53 -73
- package/umd/veplayer.plugin.flv.production.js +1 -1
|
@@ -11758,9 +11758,47 @@ var FlvPlugin$1 = /* @__PURE__ */ function(_BasePlugin) {
|
|
|
11758
11758
|
return FlvPlugin2;
|
|
11759
11759
|
}(BasePlugin);
|
|
11760
11760
|
_defineProperty$3(FlvPlugin$1, "Flv", Flv);
|
|
11761
|
+
function _assertThisInitialized(e) {
|
|
11762
|
+
if (void 0 === e)
|
|
11763
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
11764
|
+
return e;
|
|
11765
|
+
}
|
|
11761
11766
|
function _callSuper(t, o, e) {
|
|
11762
11767
|
return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
|
|
11763
11768
|
}
|
|
11769
|
+
function _classCallCheck(a, n) {
|
|
11770
|
+
if (!(a instanceof n))
|
|
11771
|
+
throw new TypeError("Cannot call a class as a function");
|
|
11772
|
+
}
|
|
11773
|
+
function _defineProperties(e, r) {
|
|
11774
|
+
for (var t = 0; t < r.length; t++) {
|
|
11775
|
+
var o = r[t];
|
|
11776
|
+
o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey(o.key), o);
|
|
11777
|
+
}
|
|
11778
|
+
}
|
|
11779
|
+
function _createClass(e, r, t) {
|
|
11780
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
11781
|
+
writable: false
|
|
11782
|
+
}), e;
|
|
11783
|
+
}
|
|
11784
|
+
function _getPrototypeOf(t) {
|
|
11785
|
+
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t2) {
|
|
11786
|
+
return t2.__proto__ || Object.getPrototypeOf(t2);
|
|
11787
|
+
}, _getPrototypeOf(t);
|
|
11788
|
+
}
|
|
11789
|
+
function _inherits(t, e) {
|
|
11790
|
+
if ("function" != typeof e && null !== e)
|
|
11791
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
11792
|
+
t.prototype = Object.create(e && e.prototype, {
|
|
11793
|
+
constructor: {
|
|
11794
|
+
value: t,
|
|
11795
|
+
writable: true,
|
|
11796
|
+
configurable: true
|
|
11797
|
+
}
|
|
11798
|
+
}), Object.defineProperty(t, "prototype", {
|
|
11799
|
+
writable: false
|
|
11800
|
+
}), e && _setPrototypeOf(t, e);
|
|
11801
|
+
}
|
|
11764
11802
|
function _isNativeReflectConstruct() {
|
|
11765
11803
|
try {
|
|
11766
11804
|
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
@@ -11771,6 +11809,18 @@ function _isNativeReflectConstruct() {
|
|
|
11771
11809
|
return !!t;
|
|
11772
11810
|
})();
|
|
11773
11811
|
}
|
|
11812
|
+
function _possibleConstructorReturn(t, e) {
|
|
11813
|
+
if (e && ("object" == typeof e || "function" == typeof e))
|
|
11814
|
+
return e;
|
|
11815
|
+
if (void 0 !== e)
|
|
11816
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
11817
|
+
return _assertThisInitialized(t);
|
|
11818
|
+
}
|
|
11819
|
+
function _setPrototypeOf(t, e) {
|
|
11820
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e2) {
|
|
11821
|
+
return t2.__proto__ = e2, t2;
|
|
11822
|
+
}, _setPrototypeOf(t, e);
|
|
11823
|
+
}
|
|
11774
11824
|
function _toPrimitive(t, r) {
|
|
11775
11825
|
if ("object" != typeof t || !t)
|
|
11776
11826
|
return t;
|
|
@@ -11785,84 +11835,15 @@ function _toPrimitive(t, r) {
|
|
|
11785
11835
|
}
|
|
11786
11836
|
function _toPropertyKey(t) {
|
|
11787
11837
|
var i = _toPrimitive(t, "string");
|
|
11788
|
-
return "symbol" == typeof i ? i :
|
|
11789
|
-
}
|
|
11790
|
-
function _classCallCheck(instance, Constructor) {
|
|
11791
|
-
if (!(instance instanceof Constructor)) {
|
|
11792
|
-
throw new TypeError("Cannot call a class as a function");
|
|
11793
|
-
}
|
|
11794
|
-
}
|
|
11795
|
-
function _defineProperties(target, props) {
|
|
11796
|
-
for (var i = 0; i < props.length; i++) {
|
|
11797
|
-
var descriptor = props[i];
|
|
11798
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
11799
|
-
descriptor.configurable = true;
|
|
11800
|
-
if ("value" in descriptor)
|
|
11801
|
-
descriptor.writable = true;
|
|
11802
|
-
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
11803
|
-
}
|
|
11804
|
-
}
|
|
11805
|
-
function _createClass(Constructor, protoProps, staticProps) {
|
|
11806
|
-
if (protoProps)
|
|
11807
|
-
_defineProperties(Constructor.prototype, protoProps);
|
|
11808
|
-
if (staticProps)
|
|
11809
|
-
_defineProperties(Constructor, staticProps);
|
|
11810
|
-
Object.defineProperty(Constructor, "prototype", {
|
|
11811
|
-
writable: false
|
|
11812
|
-
});
|
|
11813
|
-
return Constructor;
|
|
11814
|
-
}
|
|
11815
|
-
function _inherits(subClass, superClass) {
|
|
11816
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
11817
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
11818
|
-
}
|
|
11819
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
11820
|
-
constructor: {
|
|
11821
|
-
value: subClass,
|
|
11822
|
-
writable: true,
|
|
11823
|
-
configurable: true
|
|
11824
|
-
}
|
|
11825
|
-
});
|
|
11826
|
-
Object.defineProperty(subClass, "prototype", {
|
|
11827
|
-
writable: false
|
|
11828
|
-
});
|
|
11829
|
-
if (superClass)
|
|
11830
|
-
_setPrototypeOf(subClass, superClass);
|
|
11831
|
-
}
|
|
11832
|
-
function _getPrototypeOf(o) {
|
|
11833
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf2(o2) {
|
|
11834
|
-
return o2.__proto__ || Object.getPrototypeOf(o2);
|
|
11835
|
-
};
|
|
11836
|
-
return _getPrototypeOf(o);
|
|
11837
|
-
}
|
|
11838
|
-
function _setPrototypeOf(o, p) {
|
|
11839
|
-
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o2, p2) {
|
|
11840
|
-
o2.__proto__ = p2;
|
|
11841
|
-
return o2;
|
|
11842
|
-
};
|
|
11843
|
-
return _setPrototypeOf(o, p);
|
|
11844
|
-
}
|
|
11845
|
-
function _assertThisInitialized(self) {
|
|
11846
|
-
if (self === void 0) {
|
|
11847
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
11848
|
-
}
|
|
11849
|
-
return self;
|
|
11850
|
-
}
|
|
11851
|
-
function _possibleConstructorReturn(self, call) {
|
|
11852
|
-
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
11853
|
-
return call;
|
|
11854
|
-
} else if (call !== void 0) {
|
|
11855
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
11856
|
-
}
|
|
11857
|
-
return _assertThisInitialized(self);
|
|
11838
|
+
return "symbol" == typeof i ? i : i + "";
|
|
11858
11839
|
}
|
|
11859
11840
|
var Adaptive = /* @__PURE__ */ function(_BasePlugin) {
|
|
11860
|
-
_inherits(Adaptive2, _BasePlugin);
|
|
11861
11841
|
function Adaptive2() {
|
|
11862
11842
|
_classCallCheck(this, Adaptive2);
|
|
11863
11843
|
return _callSuper(this, Adaptive2, arguments);
|
|
11864
11844
|
}
|
|
11865
|
-
|
|
11845
|
+
_inherits(Adaptive2, _BasePlugin);
|
|
11846
|
+
return _createClass(Adaptive2, [{
|
|
11866
11847
|
key: "afterCreate",
|
|
11867
11848
|
value: function afterCreate() {
|
|
11868
11849
|
this.on("timeupdate", this.onTimeUpdate.bind(this));
|
|
@@ -11915,7 +11896,6 @@ var Adaptive = /* @__PURE__ */ function(_BasePlugin) {
|
|
|
11915
11896
|
};
|
|
11916
11897
|
}
|
|
11917
11898
|
}]);
|
|
11918
|
-
return Adaptive2;
|
|
11919
11899
|
}(BasePlugin);
|
|
11920
11900
|
class FlvPlugin extends FlvPlugin$1 {
|
|
11921
11901
|
constructor() {
|