implement video seek feature (#593)
* implement video seek feature * rm attribute from MediaInteractions * resolve ts warning * use getEventTarget
This commit is contained in:
4
typings/types.d.ts
vendored
4
typings/types.d.ts
vendored
@@ -334,11 +334,13 @@ export declare type inputCallback = (v: inputValue & {
|
||||
}) => void;
|
||||
export declare const enum MediaInteractions {
|
||||
Play = 0,
|
||||
Pause = 1
|
||||
Pause = 1,
|
||||
Seeked = 2
|
||||
}
|
||||
export declare type mediaInteractionParam = {
|
||||
type: MediaInteractions;
|
||||
id: number;
|
||||
currentTime?: number;
|
||||
};
|
||||
export declare type mediaInteractionCallback = (p: mediaInteractionParam) => void;
|
||||
export declare type DocumentDimension = {
|
||||
|
||||
Reference in New Issue
Block a user