@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.
Files changed (39) hide show
  1. package/esm/index.development.js +10 -4
  2. package/esm/index.production.js +1 -1
  3. package/esm/veplayer.plugin.abr.development.js +3 -1
  4. package/esm/veplayer.plugin.abr.production.js +1 -1
  5. package/esm/veplayer.plugin.drm.development.js +3 -1
  6. package/esm/veplayer.plugin.drm.production.js +1 -1
  7. package/esm/veplayer.plugin.flv.development.js +5 -3
  8. package/esm/veplayer.plugin.flv.production.js +1 -1
  9. package/esm/veplayer.plugin.hls.development.js +4 -2
  10. package/esm/veplayer.plugin.hls.production.js +1 -1
  11. package/esm/veplayer.plugin.hlsjs.development.js +3 -1
  12. package/esm/veplayer.plugin.hlsjs.production.js +1 -1
  13. package/esm/veplayer.plugin.mp4.development.js +9 -3
  14. package/esm/veplayer.plugin.mp4.production.js +1 -1
  15. package/esm/veplayer.plugin.rtm.development.js +4 -2
  16. package/esm/veplayer.plugin.rtm.production.js +1 -1
  17. package/esm/veplayer.plugin.shaka.development.js +8 -2
  18. package/esm/veplayer.plugin.shaka.production.js +2 -2
  19. package/esm/veplayer.strategy.base.development.js +3 -1
  20. package/esm/veplayer.strategy.base.production.js +1 -1
  21. package/package.json +1 -1
  22. package/umd/veplayer.plugin.abr.development.js +3 -1
  23. package/umd/veplayer.plugin.abr.production.js +1 -1
  24. package/umd/veplayer.plugin.drm.development.js +3 -1
  25. package/umd/veplayer.plugin.drm.production.js +1 -1
  26. package/umd/veplayer.plugin.flv.development.js +5 -3
  27. package/umd/veplayer.plugin.flv.production.js +1 -1
  28. package/umd/veplayer.plugin.hls.development.js +4 -2
  29. package/umd/veplayer.plugin.hls.production.js +1 -1
  30. package/umd/veplayer.plugin.hlsjs.development.js +3 -1
  31. package/umd/veplayer.plugin.hlsjs.production.js +1 -1
  32. package/umd/veplayer.plugin.mp4.development.js +9 -3
  33. package/umd/veplayer.plugin.mp4.production.js +1 -1
  34. package/umd/veplayer.plugin.rtm.development.js +4 -2
  35. package/umd/veplayer.plugin.rtm.production.js +1 -1
  36. package/umd/veplayer.plugin.shaka.development.js +8 -2
  37. package/umd/veplayer.plugin.shaka.production.js +1 -1
  38. package/umd/veplayer.strategy.base.development.js +3 -1
  39. 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));