From 75896d21dc0617b49fce7e13416b54a062ed8662 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Ska=C5=82ka?= Date: Mon, 25 Mar 2024 10:40:58 +0100 Subject: [PATCH] Fix video pausing in fullscreen mode --- src/components/VideoPlayer/BaseVideoPlayer.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/VideoPlayer/BaseVideoPlayer.js b/src/components/VideoPlayer/BaseVideoPlayer.js index fcd29b7265aa..341b3828eafb 100644 --- a/src/components/VideoPlayer/BaseVideoPlayer.js +++ b/src/components/VideoPlayer/BaseVideoPlayer.js @@ -217,6 +217,9 @@ function BaseVideoPlayer({ { + if (isFullScreenRef.current) { + return; + } togglePlayCurrentVideo(); }} style={styles.flex1}