Renamve nativeHtmlRef to nativeHtmlVideoRef
This commit is contained in:
parent
5b199b52b4
commit
491ed77a32
@ -100,7 +100,7 @@ const Video = forwardRef<VideoRef, ReactVideoProps>(
|
|||||||
setFullScreen: unsupported,
|
setFullScreen: unsupported,
|
||||||
save: unsupported,
|
save: unsupported,
|
||||||
restoreUserInterfaceForPictureInPictureStopCompleted: unsupported,
|
restoreUserInterfaceForPictureInPictureStopCompleted: unsupported,
|
||||||
nativeHtmlRef: nativeRef,
|
nativeHtmlVideoRef: nativeRef,
|
||||||
}),
|
}),
|
||||||
[
|
[
|
||||||
seek,
|
seek,
|
||||||
|
@ -17,5 +17,5 @@ export interface VideoRef {
|
|||||||
setVolume: (volume: number) => void;
|
setVolume: (volume: number) => void;
|
||||||
getCurrentPosition: () => Promise<number>;
|
getCurrentPosition: () => Promise<number>;
|
||||||
setFullScreen: (fullScreen: boolean) => void;
|
setFullScreen: (fullScreen: boolean) => void;
|
||||||
nativeHtmlRef?: RefObject<HTMLVideoElement>; // web only
|
nativeHtmlVideoRef?: RefObject<HTMLVideoElement>; // web only
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user