diff --git a/src/Video.web.tsx b/src/Video.web.tsx index 86aea96b..7ade7936 100644 --- a/src/Video.web.tsx +++ b/src/Video.web.tsx @@ -100,7 +100,7 @@ const Video = forwardRef( setFullScreen: unsupported, save: unsupported, restoreUserInterfaceForPictureInPictureStopCompleted: unsupported, - nativeHtmlRef: nativeRef, + nativeHtmlVideoRef: nativeRef, }), [ seek, diff --git a/src/types/video-ref.ts b/src/types/video-ref.ts index b41072a8..613ec10b 100644 --- a/src/types/video-ref.ts +++ b/src/types/video-ref.ts @@ -17,5 +17,5 @@ export interface VideoRef { setVolume: (volume: number) => void; getCurrentPosition: () => Promise; setFullScreen: (fullScreen: boolean) => void; - nativeHtmlRef?: RefObject; // web only + nativeHtmlVideoRef?: RefObject; // web only }