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