From eff12b7350dec35a3cece4928f1479332548fe9a Mon Sep 17 00:00:00 2001 From: Fredrik Burmester Date: Wed, 25 Sep 2024 07:42:36 +0200 Subject: [PATCH] fix: pip --- components/FullScreenVideoPlayer.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/FullScreenVideoPlayer.tsx b/components/FullScreenVideoPlayer.tsx index 2729aa98..c1201a98 100644 --- a/components/FullScreenVideoPlayer.tsx +++ b/components/FullScreenVideoPlayer.tsx @@ -370,7 +370,10 @@ export const FullScreenVideoPlayer: React.FC = () => { onLoad={(data) => (max.value = secondsToTicks(data.duration))} onError={handleVideoError} playWhenInactive={true} + allowsExternalPlayback={true} playInBackground={true} + pictureInPicture={true} + showNotificationControls={true} ignoreSilentSwitch="ignore" fullscreen={false} />