@volcengine/veplayer-plugin 2.10.4-rc.2 → 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 +2016 -1754
- package/esm/index.production.js +7 -7
- 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 +7 -6
- 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 +20 -23
- 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 +7 -6
- 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 +20 -23
- 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
|
@@ -902,6 +902,8 @@ var __publicField = (obj, key, value) => {
|
|
|
902
902
|
var ua = navigator.userAgent;
|
|
903
903
|
var isWindowsPhone = /(?:Windows Phone)/.test(ua);
|
|
904
904
|
var isSymbian = /(?:SymbianOS)/.test(ua) || isWindowsPhone;
|
|
905
|
+
var isTizen = /(?:Tizen)/ig.test(ua);
|
|
906
|
+
var isWebOS = /(?:Web0S)/ig.test(ua);
|
|
905
907
|
var isAndroid = /(?:Android)/.test(ua);
|
|
906
908
|
var isFireFox = /(?:Firefox)/.test(ua);
|
|
907
909
|
var isIpad = /(?:iPad|PlayBook)/.test(ua) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1;
|
|
@@ -917,7 +919,9 @@ var __publicField = (obj, key, value) => {
|
|
|
917
919
|
isPc,
|
|
918
920
|
isSymbian,
|
|
919
921
|
isWindowsPhone,
|
|
920
|
-
isFireFox
|
|
922
|
+
isFireFox,
|
|
923
|
+
isTizen,
|
|
924
|
+
isWebOS
|
|
921
925
|
};
|
|
922
926
|
},
|
|
923
927
|
get osVersion() {
|
|
@@ -1060,7 +1064,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1060
1064
|
}
|
|
1061
1065
|
if (this.__hooks && this.__hooks[hookName]) {
|
|
1062
1066
|
try {
|
|
1063
|
-
var preRet = runHooks(this, hookName, handler);
|
|
1067
|
+
var preRet = runHooks.apply(void 0, [this, hookName, handler].concat(Array.prototype.slice.call(arguments)));
|
|
1064
1068
|
if (preRet) {
|
|
1065
1069
|
if (preRet.then) {
|
|
1066
1070
|
preRet.then(function(isContinue) {
|
|
@@ -1174,6 +1178,8 @@ var __publicField = (obj, key, value) => {
|
|
|
1174
1178
|
});
|
|
1175
1179
|
} else if (ret !== false) {
|
|
1176
1180
|
return runHooksRecursive2.apply(void 0, [obj2, hookName2, handler2].concat(args2));
|
|
1181
|
+
} else if (ret === false) {
|
|
1182
|
+
return false;
|
|
1177
1183
|
}
|
|
1178
1184
|
};
|
|
1179
1185
|
return runHooksRecursive.apply(void 0, [obj, hookName, handler].concat(args));
|