From c465b852491cc624158e0f46f8f40f9187f80f95 Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Thu, 28 Dec 2023 21:58:06 +0100 Subject: [PATCH] [mirotalk] - disable for now --- public/js/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/client.js b/public/js/client.js index ab33e02b..29a3b741 100644 --- a/public/js/client.js +++ b/public/js/client.js @@ -131,7 +131,7 @@ console.log('LOCAL_STORAGE_SETTINGS', lsSettings); const isEmbedded = window.self !== window.top; // Check if PIP is supported by this browser -const showVideoPipBtn = document.pictureInPictureEnabled; +const showVideoPipBtn = !isMobileDevice && document.pictureInPictureEnabled; // Check if Document PIP is supported by this browser const showDocumentPipBtn = !isEmbedded && 'documentPictureInPicture' in window;