@volcengine/veplayer 1.19.0 → 1.19.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/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 {