From b4ae7fb985d185c85d66ad1c7a59eebb5d80977a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Tollk=C3=BChn?= Date: Wed, 7 Oct 2026 14:34:28 +0200 Subject: [PATCH] fix for firefox on android --- launch.html | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/launch.html b/launch.html index 1859f60..d4cc55a 100644 --- a/launch.html +++ b/launch.html @@ -1660,9 +1660,11 @@ ); } + const ANDROID_APP_SCHEME = "org.jitsi.meet://"; + function createAndroidAppUrl(room) { return ( - "org.jitsi.meet://" + + ANDROID_APP_SCHEME + CONFIG.jitsiHost + "/" + encodeURIComponent(room) @@ -1875,9 +1877,16 @@ /* * Protocol Handler starten. + * + * Firefox ignoriert externe Protokolle aus iframes – + * das Custom-Schema direkt in der Hauptnavigation starten. */ try { - iframe.src = protocolUrl; + if (protocolUrl.startsWith(ANDROID_APP_SCHEME)) { + window.location.href = protocolUrl; + } else { + iframe.src = protocolUrl; + } } catch (error) { console.error( "Error opening the Jitsi Protocol Handler:",