From 491ed77a3230884ea10e2fc2c1f3f2e9f1066fa1 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Tue, 9 Jul 2024 12:44:01 +0700 Subject: [PATCH] Renamve nativeHtmlRef to nativeHtmlVideoRef --- src/Video.web.tsx | 2 +- src/types/video-ref.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }