@byteplus/veplayer 1.19.0-rc.4 → 1.19.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 +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
|
@@ -204,6 +204,7 @@ export interface LitePlayerPlaybackStateSnapshot {
|
|
|
204
204
|
isBeforePlayerCreate: boolean;
|
|
205
205
|
albumId: string | null;
|
|
206
206
|
episodeId: string | null;
|
|
207
|
+
vid: string | null;
|
|
207
208
|
playbackSessionId: string;
|
|
208
209
|
duration: number;
|
|
209
210
|
currentTime: number;
|
|
@@ -334,6 +335,19 @@ export interface LiteTTDramaEnv {
|
|
|
334
335
|
getDramaInfo: (callback: (res: LiteDramaInfoResponse) => void, options: LiteDramaInfoRequest) => void;
|
|
335
336
|
videoSecurityModule?: unknown;
|
|
336
337
|
sendLog: (eventName: string, params: Record<string, unknown>) => void;
|
|
338
|
+
/** {zh}
|
|
339
|
+
* @hidden
|
|
340
|
+
* @brief 当前在播短剧身份变化通知,由宿主集成层消费。
|
|
341
|
+
*/
|
|
342
|
+
/** {en}
|
|
343
|
+
* @hidden
|
|
344
|
+
* @brief Notifies the host integration when the current drama playback identity changes.
|
|
345
|
+
*/
|
|
346
|
+
onCurrentDramaPlaybackContextChange?: (context: {
|
|
347
|
+
albumId: string | null;
|
|
348
|
+
episodeId: string | null;
|
|
349
|
+
vid: string | null;
|
|
350
|
+
} | null) => boolean | void;
|
|
337
351
|
getTokenVerifySecret?: () => Promise<string>;
|
|
338
352
|
}
|
|
339
353
|
export interface LiteDefaultConfig {
|