@ezuikit/player-theme 3.1.1-beta.2 → 3.1.1

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/dist/constant.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*
2
- * @ezuikit/player-theme v3.1.1-beta.2
3
- * Copyright (c) 2026-07-30 01:56:43 Ezviz-OpenBiz
2
+ * @ezuikit/player-theme v3.1.1
3
+ * Copyright (c) 2026-08-03 10:44:57 Ezviz-OpenBiz
4
4
  * Released under the MIT License.
5
5
  */
6
6
  /**
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  /*
2
- * @ezuikit/player-theme v3.1.1-beta.2
3
- * Copyright (c) 2026-07-30 01:56:43 Ezviz-OpenBiz
2
+ * @ezuikit/player-theme v3.1.1
3
+ * Copyright (c) 2026-08-03 10:44:57 Ezviz-OpenBiz
4
4
  * Released under the MIT License.
5
5
  */
6
6
  'use strict';
@@ -10910,6 +10910,18 @@ var THEME_DEFAULT_OPTIONS = {
10910
10910
  return 'rec';
10911
10911
  }
10912
10912
  }
10913
+ } else if (utilsTools.isHttp(url) && url.includes("/openpb/llhls/")) {
10914
+ // 萤石 ll-hls 回放
10915
+ if (url.includes("rec=cloud")) {
10916
+ // 云存储
10917
+ this.recType = 'cloudRec';
10918
+ return 'cloudRec';
10919
+ } else if (url.includes("rec=local")) {
10920
+ // 本地存储
10921
+ this.recType = 'rec';
10922
+ return 'rec';
10923
+ }
10924
+ // 不支持云录制
10913
10925
  }
10914
10926
  this.recType = '';
10915
10927
  return '';
@@ -11361,7 +11373,7 @@ var THEME_DEFAULT_OPTIONS = {
11361
11373
  zh: zh,
11362
11374
  en: en
11363
11375
  };
11364
- /** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '3.1.1-beta.2';
11376
+ /** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '3.1.1';
11365
11377
 
11366
11378
  exports.Control = Control;
11367
11379
  exports.EVENTS = EVENTS;
package/dist/index.esm.js CHANGED
@@ -1,13 +1,13 @@
1
1
  /*
2
- * @ezuikit/player-theme v3.1.1-beta.2
3
- * Copyright (c) 2026-07-30 01:56:43 Ezviz-OpenBiz
2
+ * @ezuikit/player-theme v3.1.1
3
+ * Copyright (c) 2026-08-03 10:44:57 Ezviz-OpenBiz
4
4
  * Released under the MIT License.
5
5
  */
6
6
  import EventEmitter from 'eventemitter3';
7
7
  import Picker from '@skax/picker';
8
8
  import delegate from '@skax/delegate';
9
9
  import deepmerge from 'deepmerge';
10
- import { isMobile, DateTime, parseEzopenUrl } from '@ezuikit/utils-tools';
10
+ import { isMobile, DateTime, parseEzopenUrl, isHttp } from '@ezuikit/utils-tools';
11
11
  import screenfull from 'screenfull';
12
12
  import I18n from '@ezuikit/utils-i18n';
13
13
  import Logger from '@ezuikit/utils-logger';
@@ -10908,6 +10908,18 @@ var THEME_DEFAULT_OPTIONS = {
10908
10908
  return 'rec';
10909
10909
  }
10910
10910
  }
10911
+ } else if (isHttp(url) && url.includes("/openpb/llhls/")) {
10912
+ // 萤石 ll-hls 回放
10913
+ if (url.includes("rec=cloud")) {
10914
+ // 云存储
10915
+ this.recType = 'cloudRec';
10916
+ return 'cloudRec';
10917
+ } else if (url.includes("rec=local")) {
10918
+ // 本地存储
10919
+ this.recType = 'rec';
10920
+ return 'rec';
10921
+ }
10922
+ // 不支持云录制
10911
10923
  }
10912
10924
  this.recType = '';
10913
10925
  return '';
@@ -11359,6 +11371,6 @@ var THEME_DEFAULT_OPTIONS = {
11359
11371
  zh: zh,
11360
11372
  en: en
11361
11373
  };
11362
- /** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '3.1.1-beta.2';
11374
+ /** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '3.1.1';
11363
11375
 
11364
11376
  export { Control, EVENTS, Fullscreen, Loading, Message, Play, Poster, Rec, Theme, Utils, Volume };