@volcengine/veplayer-plugin 2.12.0-rc.0 → 2.12.0-rc.2
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 +537 -246
- package/esm/index.production.js +3 -3
- package/esm/veplayer.plugin.abr.development.js +3 -1
- package/esm/veplayer.plugin.abr.production.js +1 -1
- package/esm/veplayer.plugin.ad.development.js +18 -4
- package/esm/veplayer.plugin.ad.production.js +2 -2
- 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 +64 -14
- 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 +293 -151
- 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 +163 -78
- 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.ad.development.js +18 -4
- package/umd/veplayer.plugin.ad.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 +64 -14
- 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 +293 -151
- 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 +163 -78
- package/umd/veplayer.strategy.base.production.js +1 -1
|
@@ -4630,6 +4630,8 @@
|
|
|
4630
4630
|
var ua2 = navigator.userAgent;
|
|
4631
4631
|
var isWindowsPhone = /(?:Windows Phone)/.test(ua2);
|
|
4632
4632
|
var isSymbian = /(?:SymbianOS)/.test(ua2) || isWindowsPhone;
|
|
4633
|
+
var isTizen = /(?:Tizen)/ig.test(ua2);
|
|
4634
|
+
var isWebOS = /(?:Web0S)/ig.test(ua2);
|
|
4633
4635
|
var isAndroid2 = /(?:Android)/.test(ua2);
|
|
4634
4636
|
var isFireFox = /(?:Firefox)/.test(ua2);
|
|
4635
4637
|
var isIpad = /(?:iPad|PlayBook)/.test(ua2) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1;
|
|
@@ -4645,7 +4647,9 @@
|
|
|
4645
4647
|
isPc,
|
|
4646
4648
|
isSymbian,
|
|
4647
4649
|
isWindowsPhone,
|
|
4648
|
-
isFireFox
|
|
4650
|
+
isFireFox,
|
|
4651
|
+
isTizen,
|
|
4652
|
+
isWebOS
|
|
4649
4653
|
};
|
|
4650
4654
|
},
|
|
4651
4655
|
get osVersion() {
|
|
@@ -4746,7 +4750,7 @@
|
|
|
4746
4750
|
}
|
|
4747
4751
|
}
|
|
4748
4752
|
};
|
|
4749
|
-
var version$2 = "3.0.
|
|
4753
|
+
var version$2 = "3.0.24-rc.6";
|
|
4750
4754
|
var ERROR_MAP = {
|
|
4751
4755
|
1: 5101,
|
|
4752
4756
|
2: 5102,
|
|
@@ -4857,7 +4861,7 @@
|
|
|
4857
4861
|
}
|
|
4858
4862
|
if (this.__hooks && this.__hooks[hookName]) {
|
|
4859
4863
|
try {
|
|
4860
|
-
var preRet = runHooks(this, hookName, handler);
|
|
4864
|
+
var preRet = runHooks.apply(void 0, [this, hookName, handler].concat(Array.prototype.slice.call(arguments)));
|
|
4861
4865
|
if (preRet) {
|
|
4862
4866
|
if (preRet.then) {
|
|
4863
4867
|
preRet.then(function(isContinue) {
|
|
@@ -4971,6 +4975,8 @@
|
|
|
4971
4975
|
});
|
|
4972
4976
|
} else if (ret !== false) {
|
|
4973
4977
|
return runHooksRecursive2.apply(void 0, [obj2, hookName2, handler2].concat(args2));
|
|
4978
|
+
} else if (ret === false) {
|
|
4979
|
+
return false;
|
|
4974
4980
|
}
|
|
4975
4981
|
};
|
|
4976
4982
|
return runHooksRecursive.apply(void 0, [obj, hookName, handler].concat(args));
|