@volcengine/veplayer 1.19.1-rc.0 → 1.20.0-rc.0
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 +18 -17
- package/index.min.js +2 -2
- package/lite.cjs +2 -2
- package/lite.d.ts +16 -17
- package/lite.esm.mjs +2 -2
- package/lite.min.js +2 -2
- package/package.json +1 -1
- package/plugin/modules/DashAbralgo.mjs +1 -1
- package/plugin/modules/XGVideo.mjs +1 -1
- package/plugin/modules/danmuMask.mjs +1 -1
- package/plugin/modules/danmujs.mjs +1 -1
- package/plugin/modules/dash.mjs +1 -1
- package/plugin/modules/flv.mjs +1 -1
- package/plugin/modules/hls.mjs +1 -1
- package/plugin/modules/hlsEncrypt.mjs +1 -1
- package/plugin/modules/hlsjs.mjs +1 -1
- package/plugin/modules/hlsjsPro.mjs +1 -1
- package/plugin/modules/mp4Encrypt.mjs +1 -1
- package/plugin/modules/preloader.mjs +1 -1
- package/plugin/modules/streamprobe.mjs +1 -1
- package/plugin/modules/vestrategy.mjs +1 -1
- package/plugin/modules/vestrategy_adapt_range.mjs +1 -1
- package/plugin/modules/vestrategy_h265.mjs +1 -1
- package/plugin/modules/vestrategy_preload.mjs +1 -1
package/lite.d.ts
CHANGED
|
@@ -1093,7 +1093,6 @@ export interface LitePlayerPlaybackStateSnapshot {
|
|
|
1093
1093
|
isBeforePlayerCreate: boolean;
|
|
1094
1094
|
albumId: string | null;
|
|
1095
1095
|
episodeId: string | null;
|
|
1096
|
-
vid: string | null;
|
|
1097
1096
|
playbackSessionId: string;
|
|
1098
1097
|
duration: number;
|
|
1099
1098
|
currentTime: number;
|
|
@@ -1188,18 +1187,31 @@ export interface LiteDramaVideoInfo {
|
|
|
1188
1187
|
}
|
|
1189
1188
|
/** Short-drama bridge result with only Lite-safe media data. */
|
|
1190
1189
|
export interface LiteDramaInfoResponse {
|
|
1190
|
+
/** {zh} @brief 顶层 Native 通参;旧客户端可缺失。 */
|
|
1191
|
+
/** {en} @brief Top-level Native tracking fields; absent on older clients. */
|
|
1192
|
+
tracking_context?: {
|
|
1193
|
+
enter_from?: string;
|
|
1194
|
+
minis_type?: string;
|
|
1195
|
+
minis_id?: string;
|
|
1196
|
+
ttoclid?: string;
|
|
1197
|
+
};
|
|
1191
1198
|
is_success: number | boolean;
|
|
1192
1199
|
error?: LiteDramaInfoError;
|
|
1193
1200
|
data?: {
|
|
1194
1201
|
status: number;
|
|
1195
1202
|
drama_info: {
|
|
1196
1203
|
album_id: string;
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1204
|
+
album_name?: string;
|
|
1205
|
+
episode_total_num?: number;
|
|
1206
|
+
drama_name?: string;
|
|
1207
|
+
album_cover?: string;
|
|
1208
|
+
drama_cover?: string;
|
|
1209
|
+
album_description?: string;
|
|
1210
|
+
drama_description?: string;
|
|
1200
1211
|
};
|
|
1201
1212
|
episode_info: {
|
|
1202
1213
|
episode_id: string;
|
|
1214
|
+
episode_current_num?: number;
|
|
1203
1215
|
episode_name: string;
|
|
1204
1216
|
episode_cover: string;
|
|
1205
1217
|
episode_description: string;
|
|
@@ -1224,19 +1236,6 @@ export interface LiteTTDramaEnv {
|
|
|
1224
1236
|
getDramaInfo: (callback: (res: LiteDramaInfoResponse) => void, options: LiteDramaInfoRequest) => void;
|
|
1225
1237
|
videoSecurityModule?: unknown;
|
|
1226
1238
|
sendLog: (eventName: string, params: Record<string, unknown>) => void;
|
|
1227
|
-
/** {zh}
|
|
1228
|
-
* @hidden
|
|
1229
|
-
* @brief 当前在播短剧身份变化通知,由宿主集成层消费。
|
|
1230
|
-
*/
|
|
1231
|
-
/** {en}
|
|
1232
|
-
* @hidden
|
|
1233
|
-
* @brief Notifies the host integration when the current drama playback identity changes.
|
|
1234
|
-
*/
|
|
1235
|
-
onCurrentDramaPlaybackContextChange?: (context: {
|
|
1236
|
-
albumId: string | null;
|
|
1237
|
-
episodeId: string | null;
|
|
1238
|
-
vid: string | null;
|
|
1239
|
-
} | null) => boolean | void;
|
|
1240
1239
|
getTokenVerifySecret?: () => Promise<string>;
|
|
1241
1240
|
}
|
|
1242
1241
|
export interface LiteDefaultConfig {
|