@volcengine/veplayer 1.17.0-rc.3 → 1.17.0-rc.5
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/index.d.ts +12 -10
- package/index.min.js +2 -2
- package/package.json +1 -1
- package/plugin/hlsEncrypt.js +2 -2
- package/plugin/hlsjsPro.js +2 -2
package/index.d.ts
CHANGED
|
@@ -6135,16 +6135,18 @@ declare class VePlayer {
|
|
|
6135
6135
|
*/
|
|
6136
6136
|
switchAudioTrack(id: string | number): void;
|
|
6137
6137
|
/** {zh}
|
|
6138
|
-
* @brief
|
|
6139
|
-
* @
|
|
6140
|
-
*
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
*
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
|
|
6147
|
-
|
|
6138
|
+
* @brief 当前播放器命中预加载的情况
|
|
6139
|
+
* @type {{
|
|
6140
|
+
* hit: number, // 0-未命中 1-命中
|
|
6141
|
+
* duration: 0, // 预加载时长
|
|
6142
|
+
* length: 0 // 预加载数据长度
|
|
6143
|
+
* }}
|
|
6144
|
+
*/
|
|
6145
|
+
get preLoadData(): {
|
|
6146
|
+
hit: number;
|
|
6147
|
+
duration?: number;
|
|
6148
|
+
length?: number;
|
|
6149
|
+
};
|
|
6148
6150
|
/** {zh}
|
|
6149
6151
|
* @brief 初始化多语言词典
|
|
6150
6152
|
*
|