@ezuikit/player-theme 2.0.2-beta.10 → 2.0.2-beta.11

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/README.md CHANGED
@@ -1,40 +1 @@
1
- ## 简介
2
-
3
- 萤石播放器主题
4
-
5
- ## 快速入门
6
-
7
- ```ts
8
- import Theme from '@ezuikit/player-theme';
9
- // 引入样式
10
- import '@ezuikit/player-theme/dist/style.css';
11
-
12
- // 使用
13
- const theme = new Theme({
14
- // ...
15
- });
16
-
17
- // 播放器接入主题
18
- class Player extends Theme {
19
- constructor(options) {
20
- super(options);
21
- // ...
22
- }
23
- // ...
24
- }
25
- ```
26
-
27
- ## 样式变量
28
-
29
- ```scss
30
- --ezplayer-default-color: #fff;
31
- --ezplayer-primary-color: #407aff;
32
- --ezplayer-active-color: var(--ezplayer-primary-color, #407aff);
33
- --ezplayer-disabled-color: #aaa;
34
- --ezplayer-font-size: 14px;
35
- --ezplayer-icon-font-size: 24px;
36
- --ezplayer-btn-height: var(--ezplayer-icon-font-size, 24px);
37
- --ezplayer-border-radius: 8px;
38
- // 移动端暂时不生效
39
- --ezplayer-picker-panel-bg-color: rgba(0, 0, 0, 0.7);
40
- ```
1
+ # EZUIKit-player-theme
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*
2
- * @ezuikit/player-theme v2.0.2-beta.10
3
- * Copyright (c) 2025-12-13 Ezviz-OpenBiz
2
+ * @ezuikit/player-theme v2.0.2-beta.11
3
+ * Copyright (c) 2025-12-15 Ezviz-OpenBiz
4
4
  * Released under the MIT License.
5
5
  */
6
6
  'use strict';
@@ -8853,9 +8853,12 @@ function _set_prototype_of$5(o, p) {
8853
8853
  _proto._render = function _render() {
8854
8854
  var _this = this;
8855
8855
  var _this_timeLineUtil_updateTimeSections, _this_timeLineUtil;
8856
+ var _this__options_showTimeWidthBtn, _this__options_showCoverFold;
8856
8857
  var _timeLineOptions = {
8857
8858
  language: this._options.language || 'zh',
8858
8859
  coverQuery: this._options.coverQuery || '',
8860
+ showTimeWidthBtn: (_this__options_showTimeWidthBtn = this._options.showTimeWidthBtn) != null ? _this__options_showTimeWidthBtn : true,
8861
+ showCoverFold: (_this__options_showCoverFold = this._options.showCoverFold) != null ? _this__options_showCoverFold : true,
8859
8862
  onChange: function(date) {
8860
8863
  if (_this._currentTime !== (date == null ? void 0 : date.getTime())) {
8861
8864
  _this._options.onChange == null ? void 0 : _this._options.onChange.call(_this._options, date);
@@ -11381,7 +11384,7 @@ var THEME_DEFAULT_OPTIONS = {
11381
11384
  zh: zh,
11382
11385
  en: en
11383
11386
  };
11384
- /** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.0.2-beta.10';
11387
+ /** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.0.2-beta.11';
11385
11388
 
11386
11389
  exports.Control = Control;
11387
11390
  exports.Fullscreen = Fullscreen;
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  /*
2
- * @ezuikit/player-theme v2.0.2-beta.10
3
- * Copyright (c) 2025-12-13 Ezviz-OpenBiz
2
+ * @ezuikit/player-theme v2.0.2-beta.11
3
+ * Copyright (c) 2025-12-15 Ezviz-OpenBiz
4
4
  * Released under the MIT License.
5
5
  */
6
6
  import EventEmitter from 'eventemitter3';
@@ -8851,9 +8851,12 @@ function _set_prototype_of$5(o, p) {
8851
8851
  _proto._render = function _render() {
8852
8852
  var _this = this;
8853
8853
  var _this_timeLineUtil_updateTimeSections, _this_timeLineUtil;
8854
+ var _this__options_showTimeWidthBtn, _this__options_showCoverFold;
8854
8855
  var _timeLineOptions = {
8855
8856
  language: this._options.language || 'zh',
8856
8857
  coverQuery: this._options.coverQuery || '',
8858
+ showTimeWidthBtn: (_this__options_showTimeWidthBtn = this._options.showTimeWidthBtn) != null ? _this__options_showTimeWidthBtn : true,
8859
+ showCoverFold: (_this__options_showCoverFold = this._options.showCoverFold) != null ? _this__options_showCoverFold : true,
8857
8860
  onChange: function(date) {
8858
8861
  if (_this._currentTime !== (date == null ? void 0 : date.getTime())) {
8859
8862
  _this._options.onChange == null ? void 0 : _this._options.onChange.call(_this._options, date);
@@ -11379,6 +11382,6 @@ var THEME_DEFAULT_OPTIONS = {
11379
11382
  zh: zh,
11380
11383
  en: en
11381
11384
  };
11382
- /** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.0.2-beta.10';
11385
+ /** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.0.2-beta.11';
11383
11386
 
11384
11387
  export { Control, Fullscreen, Loading, Message, Play, Poster, Rec, Theme, Utils, Volume };
package/dist/index.umd.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*
2
- * @ezuikit/player-theme v2.0.2-beta.10
3
- * Copyright (c) 2025-12-13 Ezviz-OpenBiz
2
+ * @ezuikit/player-theme v2.0.2-beta.11
3
+ * Copyright (c) 2025-12-15 Ezviz-OpenBiz
4
4
  * Released under the MIT License.
5
5
  */
6
6
  (function (global, factory) {
@@ -11115,9 +11115,12 @@
11115
11115
  _proto._render = function _render() {
11116
11116
  var _this = this;
11117
11117
  var _this_timeLineUtil_updateTimeSections, _this_timeLineUtil;
11118
+ var _this__options_showTimeWidthBtn, _this__options_showCoverFold;
11118
11119
  var _timeLineOptions = {
11119
11120
  language: this._options.language || 'zh',
11120
11121
  coverQuery: this._options.coverQuery || '',
11122
+ showTimeWidthBtn: (_this__options_showTimeWidthBtn = this._options.showTimeWidthBtn) != null ? _this__options_showTimeWidthBtn : true,
11123
+ showCoverFold: (_this__options_showCoverFold = this._options.showCoverFold) != null ? _this__options_showCoverFold : true,
11121
11124
  onChange: function(date) {
11122
11125
  if (_this._currentTime !== (date == null ? void 0 : date.getTime())) {
11123
11126
  _this._options.onChange == null ? void 0 : _this._options.onChange.call(_this._options, date);
@@ -13643,7 +13646,7 @@
13643
13646
  zh: zh,
13644
13647
  en: en
13645
13648
  };
13646
- /** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.0.2-beta.10';
13649
+ /** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '2.0.2-beta.11';
13647
13650
 
13648
13651
  // 不要动这里的代码, 这个出口是为了编译成 umd 规范的文件
13649
13652
 
package/dist/style.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*
2
- * @ezuikit/player-theme v2.0.2-beta.10
3
- * Copyright (c) 2025-12-13 Ezviz-OpenBiz
2
+ * @ezuikit/player-theme v2.0.2-beta.11
3
+ * Copyright (c) 2025-12-15 Ezviz-OpenBiz
4
4
  * Released under the MIT License.
5
5
  */
6
6
  require("./style.css");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ezuikit/player-theme",
3
- "version": "2.0.2-beta.10",
3
+ "version": "2.0.2-beta.11",
4
4
  "description": "player theme",
5
5
  "title": "theme",
6
6
  "main": "dist/index.js",
@@ -37,13 +37,12 @@
37
37
  "eventemitter3": "^5.0.1",
38
38
  "screenfull": "5.2.0"
39
39
  },
40
- "devDependencies": {
41
- "@common/rollup": "workspace:*",
42
- "@ezuikit/control-ptz": "workspace:*",
43
- "@ezuikit/control-zoom": "workspace:*"
40
+ "repository": {
41
+ "type": "git",
42
+ "url": "git+https://github.com/Ezviz-OpenBiz/EZUIKit-player-theme.git"
44
43
  },
45
- "publishConfig": {
46
- "access": "public",
47
- "registry": "https://registry.npmjs.org/"
48
- }
44
+ "bugs": {
45
+ "url": "https://github.com/Ezviz-OpenBiz/EZUIKit-player-theme/issues"
46
+ },
47
+ "homepage": "https://github.com/Ezviz-OpenBiz/EZUIKit-player-theme#readme"
49
48
  }