Renamve nativeHtmlRef to nativeHtmlVideoRef
This commit is contained in:
parent
5b199b52b4
commit
491ed77a32
@ -100,7 +100,7 @@ const Video = forwardRef<VideoRef, ReactVideoProps>(
|
||||
setFullScreen: unsupported,
|
||||
save: unsupported,
|
||||
restoreUserInterfaceForPictureInPictureStopCompleted: unsupported,
|
||||
nativeHtmlRef: nativeRef,
|
||||
nativeHtmlVideoRef: nativeRef,
|
||||
}),
|
||||
[
|
||||
seek,
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user