diff --git a/src/Video.web.tsx b/src/Video.web.tsx index 92146795..6f84683a 100644 --- a/src/Video.web.tsx +++ b/src/Video.web.tsx @@ -149,19 +149,7 @@ const Video = forwardRef( nativeRef.current.playbackRate = rate; }, [rate]); - useMediaSession( - source?.metadata, - nativeRef, - useMemo( - () => ({ - seek, - resume, - pause, - }), - [seek, resume, pause], - ), - showNotificationControls, - ); + useMediaSession(source?.metadata, nativeRef, showNotificationControls); return (