@byteplus/veplayer 1.15.3-rc.15 → 1.15.3-rc.17

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 CHANGED
@@ -2320,9 +2320,9 @@ export interface MinisError {
2320
2320
  * JSB 获取短剧信息返回结果
2321
2321
  */
2322
2322
  export interface IJSBCallbackResult {
2323
- is_success: number;
2324
- error: MinisError;
2325
- data: {
2323
+ is_success: number | boolean;
2324
+ error?: MinisError;
2325
+ data?: {
2326
2326
  status: number;
2327
2327
  drama_info: {
2328
2328
  album_id: string;
@@ -5493,6 +5493,22 @@ declare class VePlayer {
5493
5493
  * @hidden
5494
5494
  */
5495
5495
  static getSkipMinisDramaPlayDomainValidation(): boolean;
5496
+ /** {zh}
5497
+ * @brief 设置是否为通过短剧信息或 playAuthToken 获取到的视频地址追加时间戳 query(t=Date.now())。
5498
+ * @param enable true=追加时间戳,false=不追加
5499
+ */
5500
+ /** {en}
5501
+ * @brief Set whether to append a timestamp query (t=Date.now()) to video URLs from drama info or playAuthToken.
5502
+ * @param enable true=append timestamp, false=do not append
5503
+ */
5504
+ static setAppendVideoUrlTimestamp(enable?: boolean): void;
5505
+ /** {zh}
5506
+ * @hidden
5507
+ */
5508
+ /** {en}
5509
+ * @hidden
5510
+ */
5511
+ static getAppendVideoUrlTimestamp(): boolean;
5496
5512
  /**
5497
5513
  * @hidden
5498
5514
  * umd加载器