@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
|
@@ -4626,6 +4626,8 @@ var sniffer = {
|
|
|
4626
4626
|
var ua2 = navigator.userAgent;
|
|
4627
4627
|
var isWindowsPhone = /(?:Windows Phone)/.test(ua2);
|
|
4628
4628
|
var isSymbian = /(?:SymbianOS)/.test(ua2) || isWindowsPhone;
|
|
4629
|
+
var isTizen = /(?:Tizen)/ig.test(ua2);
|
|
4630
|
+
var isWebOS = /(?:Web0S)/ig.test(ua2);
|
|
4629
4631
|
var isAndroid2 = /(?:Android)/.test(ua2);
|
|
4630
4632
|
var isFireFox = /(?:Firefox)/.test(ua2);
|
|
4631
4633
|
var isIpad = /(?:iPad|PlayBook)/.test(ua2) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1;
|
|
@@ -4641,7 +4643,9 @@ var sniffer = {
|
|
|
4641
4643
|
isPc,
|
|
4642
4644
|
isSymbian,
|
|
4643
4645
|
isWindowsPhone,
|
|
4644
|
-
isFireFox
|
|
4646
|
+
isFireFox,
|
|
4647
|
+
isTizen,
|
|
4648
|
+
isWebOS
|
|
4645
4649
|
};
|
|
4646
4650
|
},
|
|
4647
4651
|
get osVersion() {
|
|
@@ -4742,7 +4746,7 @@ var sniffer = {
|
|
|
4742
4746
|
}
|
|
4743
4747
|
}
|
|
4744
4748
|
};
|
|
4745
|
-
var version$2 = "3.0.
|
|
4749
|
+
var version$2 = "3.0.24-rc.6";
|
|
4746
4750
|
var ERROR_MAP = {
|
|
4747
4751
|
1: 5101,
|
|
4748
4752
|
2: 5102,
|
|
@@ -4853,7 +4857,7 @@ function hook(hookName, handler) {
|
|
|
4853
4857
|
}
|
|
4854
4858
|
if (this.__hooks && this.__hooks[hookName]) {
|
|
4855
4859
|
try {
|
|
4856
|
-
var preRet = runHooks(this, hookName, handler);
|
|
4860
|
+
var preRet = runHooks.apply(void 0, [this, hookName, handler].concat(Array.prototype.slice.call(arguments)));
|
|
4857
4861
|
if (preRet) {
|
|
4858
4862
|
if (preRet.then) {
|
|
4859
4863
|
preRet.then(function(isContinue) {
|
|
@@ -4967,6 +4971,8 @@ function runHooks(obj, hookName, handler) {
|
|
|
4967
4971
|
});
|
|
4968
4972
|
} else if (ret !== false) {
|
|
4969
4973
|
return runHooksRecursive2.apply(void 0, [obj2, hookName2, handler2].concat(args2));
|
|
4974
|
+
} else if (ret === false) {
|
|
4975
|
+
return false;
|
|
4970
4976
|
}
|
|
4971
4977
|
};
|
|
4972
4978
|
return runHooksRecursive.apply(void 0, [obj, hookName, handler].concat(args));
|