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