mirror of
https://gh-proxy.org/https://github.com/tiajinsha/JKVideo
synced 2026-07-08 07:28:37 +08:00
bug修改
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
/**
|
||||
* 三种播放器(视频详情、首页大卡、直播)暴露的统一 ref 接口。
|
||||
* 不一定每个实现都全部支持,未实现的方法可空操作。
|
||||
*/
|
||||
export interface IVideoPlayer {
|
||||
seek: (timeSec: number) => void;
|
||||
pause: () => void;
|
||||
resume: () => void;
|
||||
getCurrentTime: () => number;
|
||||
}
|
||||
|
||||
export interface VideoItem {
|
||||
bvid: string;
|
||||
aid: number;
|
||||
|
||||
Reference in New Issue
Block a user