@volcengine/veplayer 1.10.0-rc.12 → 1.10.0-rc.14

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 (3) hide show
  1. package/index.d.ts +16 -16
  2. package/index.min.js +2 -2
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -2872,12 +2872,12 @@ export interface IPlayerConfig extends IPlayerOptions {
2872
2872
  */
2873
2873
  fitVideoSize?: "fixWidth" | "fixHeight" | "fixed";
2874
2874
  /** {zh}
2875
- * @brief 视频画面填充模式。取值如下:
2876
- * - `fillWidth`: 填充宽度,高度溢出则裁剪高度。
2877
- * - `fillHeight`: 填充高度,宽度溢出则裁剪宽度。
2878
- * - `fill`: 拉伸视频以填充容器。
2879
- * - `cover`: 保持视频宽高比的同时填充元素的整个内容框。
2880
- * - `auto`: 使用浏览器默认的视频画面填充模式。
2875
+ * @brief 视频画面填充模式,等同于设置{@link https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit CSS object-fit}属性。取值如下:
2876
+ * - `auto`: 使用浏览器默认的视频画面填充模式,注意设置此值时,在视频的宽高与播放器容器的宽高不匹配时会出现黑边。
2877
+ * - `fill`: 拉伸视频以填充播放器容器,等同于设置 CSS `object-fit: fill`,注意设置此值时,视频画面会被被拉伸变形。
2878
+ * - `cover`: 保持视频宽高比的同时填充整个播放器容器,等同于设置 CSS `object-fit: cover`,注意设置此值时,视频画面会被被部分裁剪。
2879
+ * - `fillWidth`: 填充宽度,高度溢出则裁剪高度,当播放器容器宽高比小于视频的宽高比,等同于设置CSS `object-fit: cover`。
2880
+ * - `fillHeight`: 填充高度,宽度溢出则裁剪宽度,当播放器容器宽高比大于视频的宽高比,等同于设置CSS `object-fit: cover`。
2881
2881
  * @default auto
2882
2882
  */
2883
2883
  videoFillMode?: "auto" | "fillHeight" | "fillWidth" | "fill" | "cover";
@@ -5891,17 +5891,17 @@ export declare const Events: {
5891
5891
  */
5892
5892
  URL_CHANGE: string;
5893
5893
  /** {zh}
5894
- * @brief 播放器聚焦。
5894
+ * @brief 播放器聚焦,同时会展示 Control 栏控件,包含播放按钮、进度条等。
5895
5895
  */
5896
5896
  /** {en}
5897
- * @brief The player has focus.
5897
+ * @brief The player is active and the control bar will appear showing options like play button, progress bar, and other controls.
5898
5898
  */
5899
5899
  PLAYER_FOCUS: string;
5900
5900
  /** {zh}
5901
- * @brief 播放器失焦。
5901
+ * @brief 播放器失焦,同时会隐藏 Control 栏控件,包含播放按钮、进度条等。
5902
5902
  */
5903
5903
  /** {en}
5904
- * @brief The player loses focus.
5904
+ * @brief The player is inactive and the control bar will vanish, hiding options such as the play button, progress bar, and other controls.
5905
5905
  */
5906
5906
  PLAYER_BLUR: string;
5907
5907
  /** {zh}
@@ -5991,7 +5991,7 @@ export declare const Events: {
5991
5991
  SHORTCUT: string;
5992
5992
  /** {zh}
5993
5993
  * @deprecated
5994
- * @brief SEI 信息解析。
5994
+ * @brief (已废弃)SEI 信息解析。
5995
5995
  */
5996
5996
  /** {en}
5997
5997
  * @deprecated
@@ -6210,17 +6210,17 @@ export declare const Event: {
6210
6210
  */
6211
6211
  URL_CHANGE: string;
6212
6212
  /** {zh}
6213
- * @brief 播放器聚焦。
6213
+ * @brief 播放器聚焦,同时会展示 Control 栏控件,包含播放按钮、进度条等。
6214
6214
  */
6215
6215
  /** {en}
6216
- * @brief The player has focus.
6216
+ * @brief The player is active and the control bar will appear showing options like play button, progress bar, and other controls.
6217
6217
  */
6218
6218
  PLAYER_FOCUS: string;
6219
6219
  /** {zh}
6220
- * @brief 播放器失焦。
6220
+ * @brief 播放器失焦,同时会隐藏 Control 栏控件,包含播放按钮、进度条等。
6221
6221
  */
6222
6222
  /** {en}
6223
- * @brief The player loses focus.
6223
+ * @brief The player is inactive and the control bar will vanish, hiding options such as the play button, progress bar, and other controls.
6224
6224
  */
6225
6225
  PLAYER_BLUR: string;
6226
6226
  /** {zh}
@@ -6310,7 +6310,7 @@ export declare const Event: {
6310
6310
  SHORTCUT: string;
6311
6311
  /** {zh}
6312
6312
  * @deprecated
6313
- * @brief SEI 信息解析。
6313
+ * @brief (已废弃)SEI 信息解析。
6314
6314
  */
6315
6315
  /** {en}
6316
6316
  * @deprecated