@volcengine/veplayer 2.6.0 → 2.6.1-rc.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volcengine/veplayer",
3
- "version": "2.6.0",
3
+ "version": "2.6.1-rc.1",
4
4
  "main": "./umd/veplayer.production.js",
5
5
  "module": "./esm/veplayer.production.js",
6
6
  "browser": "./umd/veplayer.production.js",
package/umd/index.d.ts CHANGED
@@ -1395,6 +1395,13 @@ interface VePlayerBaseOptions extends Omit<PlayerOptions, "autoplay" | "i18n"> {
1395
1395
  * @default false
1396
1396
  */
1397
1397
  closeVideoDblclick?: boolean;
1398
+ /** {zh}
1399
+ * @brief 支持传入 video dom,常应用于多播放器复用同一 video 场景。
1400
+ */
1401
+ /** {en}
1402
+ * @brief Supports passing in video DOM, commonly used for reusing the same video scene across multiple players.
1403
+ */
1404
+ mediaElement?: HTMLVideoElement | null;
1398
1405
  }
1399
1406
  /** {zh}
1400
1407
  * @list option
@@ -1595,6 +1602,7 @@ declare class VePlayerBase {
1595
1602
  private _previousPrepareResult?;
1596
1603
  private _i18nManager;
1597
1604
  private _events;
1605
+ private _customMedia?;
1598
1606
  private _errorCallback;
1599
1607
  /** {zh}
1600
1608
  * @hidden
@@ -3729,6 +3737,13 @@ declare namespace strategy {
3729
3737
  * @default false
3730
3738
  */
3731
3739
  closeVideoDblclick?: boolean;
3740
+ /** {zh}
3741
+ * @brief 支持传入 video dom,常应用于多播放器复用同一 video 场景。
3742
+ */
3743
+ /** {en}
3744
+ * @brief Supports passing in video DOM, commonly used for reusing the same video scene across multiple players.
3745
+ */
3746
+ mediaElement?: HTMLVideoElement | null;
3732
3747
  }
3733
3748
  /** {zh}
3734
3749
  * @list option
@@ -3105,9 +3105,9 @@ var __publicField = (obj, key, value) => {
3105
3105
  device_id: this._deviceId,
3106
3106
  error_report_stop: true,
3107
3107
  ext: {
3108
- veplayer_version: "2.3.0",
3109
- flv_version: "3.0.21-rc.5",
3110
- hls_version: "3.0.21-rc.5",
3108
+ veplayer_version: "2.3.1-rc.1",
3109
+ flv_version: "3.0.21-rc.21",
3110
+ hls_version: "3.0.21-rc.21",
3111
3111
  rts_version: "0.2.1-alpha.14"
3112
3112
  }
3113
3113
  });