From 6df20f516c457ae1a30798aef359268905340702 Mon Sep 17 00:00:00 2001 From: Fredrik Burmester Date: Tue, 26 Nov 2024 22:27:05 +0100 Subject: [PATCH] fix: pressin to show controls --- app/(auth)/player/direct-player.tsx | 7 ++----- app/(auth)/player/transcoding-player.tsx | 7 ++----- components/video-player/controls/Controls.tsx | 2 +- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/app/(auth)/player/direct-player.tsx b/app/(auth)/player/direct-player.tsx index 4e8a2fad..a01974b1 100644 --- a/app/(auth)/player/direct-player.tsx +++ b/app/(auth)/player/direct-player.tsx @@ -404,10 +404,7 @@ export default function page() { return ( - { - // setShowControls(!showControls); - }} + - + {videoRef.current && ( { return ( - { - // setShowControls(!showControls); - }} + { ) : ( No video source... )} - + {item && ( = ({ { + onPressIn={() => { toggleControls(); }} style={{