@volcengine/veplayer 1.19.0 → 1.19.1-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 +14 -0
- package/index.min.js +2 -2
- package/lite.cjs +2 -2
- package/lite.d.ts +14 -0
- 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,6 +1093,7 @@ export interface LitePlayerPlaybackStateSnapshot {
|
|
|
1093
1093
|
isBeforePlayerCreate: boolean;
|
|
1094
1094
|
albumId: string | null;
|
|
1095
1095
|
episodeId: string | null;
|
|
1096
|
+
vid: string | null;
|
|
1096
1097
|
playbackSessionId: string;
|
|
1097
1098
|
duration: number;
|
|
1098
1099
|
currentTime: number;
|
|
@@ -1223,6 +1224,19 @@ export interface LiteTTDramaEnv {
|
|
|
1223
1224
|
getDramaInfo: (callback: (res: LiteDramaInfoResponse) => void, options: LiteDramaInfoRequest) => void;
|
|
1224
1225
|
videoSecurityModule?: unknown;
|
|
1225
1226
|
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;
|
|
1226
1240
|
getTokenVerifySecret?: () => Promise<string>;
|
|
1227
1241
|
}
|
|
1228
1242
|
export interface LiteDefaultConfig {
|