Renamve nativeHtmlRef to nativeHtmlVideoRef

This commit is contained in:
Zoe Roux 2024-07-09 12:44:01 +07:00
parent 5b199b52b4
commit 491ed77a32
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ const Video = forwardRef<VideoRef, ReactVideoProps>(
setFullScreen: unsupported,
save: unsupported,
restoreUserInterfaceForPictureInPictureStopCompleted: unsupported,
nativeHtmlRef: nativeRef,
nativeHtmlVideoRef: nativeRef,
}),
[
seek,

View File

@ -17,5 +17,5 @@ export interface VideoRef {
setVolume: (volume: number) => void;
getCurrentPosition: () => Promise<number>;
setFullScreen: (fullScreen: boolean) => void;
nativeHtmlRef?: RefObject<HTMLVideoElement>; // web only
nativeHtmlVideoRef?: RefObject<HTMLVideoElement>; // web only
}