@volcengine/veplayer-plugin 2.10.4-rc.3 → 2.10.4-rc.4
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 +10 -4
- package/esm/index.production.js +1 -1
- package/esm/veplayer.plugin.abr.development.js +3 -1
- package/esm/veplayer.plugin.abr.production.js +1 -1
- package/esm/veplayer.plugin.drm.development.js +3 -1
- package/esm/veplayer.plugin.drm.production.js +1 -1
- package/esm/veplayer.plugin.flv.development.js +5 -3
- package/esm/veplayer.plugin.flv.production.js +1 -1
- package/esm/veplayer.plugin.hls.development.js +4 -2
- package/esm/veplayer.plugin.hls.production.js +1 -1
- package/esm/veplayer.plugin.hlsjs.development.js +3 -1
- package/esm/veplayer.plugin.hlsjs.production.js +1 -1
- package/esm/veplayer.plugin.mp4.development.js +9 -3
- package/esm/veplayer.plugin.mp4.production.js +1 -1
- package/esm/veplayer.plugin.rtm.development.js +4 -2
- package/esm/veplayer.plugin.rtm.production.js +1 -1
- package/esm/veplayer.plugin.shaka.development.js +8 -2
- package/esm/veplayer.plugin.shaka.production.js +2 -2
- package/esm/veplayer.strategy.base.development.js +3 -1
- package/esm/veplayer.strategy.base.production.js +1 -1
- package/package.json +1 -1
- package/umd/veplayer.plugin.abr.development.js +3 -1
- package/umd/veplayer.plugin.abr.production.js +1 -1
- package/umd/veplayer.plugin.drm.development.js +3 -1
- package/umd/veplayer.plugin.drm.production.js +1 -1
- package/umd/veplayer.plugin.flv.development.js +5 -3
- package/umd/veplayer.plugin.flv.production.js +1 -1
- package/umd/veplayer.plugin.hls.development.js +4 -2
- package/umd/veplayer.plugin.hls.production.js +1 -1
- package/umd/veplayer.plugin.hlsjs.development.js +3 -1
- package/umd/veplayer.plugin.hlsjs.production.js +1 -1
- package/umd/veplayer.plugin.mp4.development.js +9 -3
- package/umd/veplayer.plugin.mp4.production.js +1 -1
- package/umd/veplayer.plugin.rtm.development.js +4 -2
- package/umd/veplayer.plugin.rtm.production.js +1 -1
- package/umd/veplayer.plugin.shaka.development.js +8 -2
- package/umd/veplayer.plugin.shaka.production.js +1 -1
- package/umd/veplayer.strategy.base.development.js +3 -1
- package/umd/veplayer.strategy.base.production.js +1 -1
package/esm/index.development.js
CHANGED
|
@@ -1579,6 +1579,8 @@ var sniffer$1 = {
|
|
|
1579
1579
|
var ua2 = navigator.userAgent;
|
|
1580
1580
|
var isWindowsPhone = /(?:Windows Phone)/.test(ua2);
|
|
1581
1581
|
var isSymbian = /(?:SymbianOS)/.test(ua2) || isWindowsPhone;
|
|
1582
|
+
var isTizen = /(?:Tizen)/ig.test(ua2);
|
|
1583
|
+
var isWebOS = /(?:Web0S)/ig.test(ua2);
|
|
1582
1584
|
var isAndroid2 = /(?:Android)/.test(ua2);
|
|
1583
1585
|
var isFireFox = /(?:Firefox)/.test(ua2);
|
|
1584
1586
|
var isIpad = /(?:iPad|PlayBook)/.test(ua2) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1;
|
|
@@ -1594,7 +1596,9 @@ var sniffer$1 = {
|
|
|
1594
1596
|
isPc,
|
|
1595
1597
|
isSymbian,
|
|
1596
1598
|
isWindowsPhone,
|
|
1597
|
-
isFireFox
|
|
1599
|
+
isFireFox,
|
|
1600
|
+
isTizen,
|
|
1601
|
+
isWebOS
|
|
1598
1602
|
};
|
|
1599
1603
|
},
|
|
1600
1604
|
get osVersion() {
|
|
@@ -1695,7 +1699,7 @@ var sniffer$1 = {
|
|
|
1695
1699
|
}
|
|
1696
1700
|
}
|
|
1697
1701
|
};
|
|
1698
|
-
var version$6 = "3.0.
|
|
1702
|
+
var version$6 = "3.0.24-rc.6";
|
|
1699
1703
|
var ERROR_MAP = {
|
|
1700
1704
|
1: 5101,
|
|
1701
1705
|
2: 5102,
|
|
@@ -1813,7 +1817,7 @@ function hook$1(hookName, handler) {
|
|
|
1813
1817
|
}
|
|
1814
1818
|
if (this.__hooks && this.__hooks[hookName]) {
|
|
1815
1819
|
try {
|
|
1816
|
-
var preRet = runHooks$1(this, hookName, handler);
|
|
1820
|
+
var preRet = runHooks$1.apply(void 0, [this, hookName, handler].concat(Array.prototype.slice.call(arguments)));
|
|
1817
1821
|
if (preRet) {
|
|
1818
1822
|
if (preRet.then) {
|
|
1819
1823
|
preRet.then(function(isContinue) {
|
|
@@ -1927,6 +1931,8 @@ function runHooks$1(obj, hookName, handler) {
|
|
|
1927
1931
|
});
|
|
1928
1932
|
} else if (ret !== false) {
|
|
1929
1933
|
return runHooksRecursive2.apply(void 0, [obj2, hookName2, handler2].concat(args2));
|
|
1934
|
+
} else if (ret === false) {
|
|
1935
|
+
return false;
|
|
1930
1936
|
}
|
|
1931
1937
|
};
|
|
1932
1938
|
return runHooksRecursive.apply(void 0, [obj, hookName, handler].concat(args));
|
|
@@ -12933,7 +12939,7 @@ var Flv = /* @__PURE__ */ function(_EventEmitter) {
|
|
|
12933
12939
|
_createClass$p(Flv2, [{
|
|
12934
12940
|
key: "version",
|
|
12935
12941
|
get: function get4() {
|
|
12936
|
-
return "3.0.
|
|
12942
|
+
return "3.0.24-rc.6";
|
|
12937
12943
|
}
|
|
12938
12944
|
}, {
|
|
12939
12945
|
key: "isLive",
|