add android download options for browsers other than chrome

This commit is contained in:
stefan.tollkuehn committed 2026-10-07 17:22:49 +02:00
1 parent 226edd8c48
commit b424abe8e4
3 files changed
+47 -1

No files matched your search

+20
View File
@@ -42,6 +42,11 @@
"title": "Jitsi Meet for iOS",
"description": "Install the Jitsi Meet app and then try opening the meeting again.",
"button": "Download Jitsi for iOS"
},
"android": {
"title": "Jitsi Meet for Android",
"description": "Install the Jitsi Meet app and then try opening the meeting again.",
"button": "Download Jitsi for Android"
}
},
"browser": {
@@ -124,6 +129,11 @@
"title": "Jitsi Meet für iOS",
"description": "Installieren Sie die Jitsi Meet App und versuchen Sie anschließend erneut, das Meeting zu öffnen.",
"button": "Jitsi für iOS herunterladen"
},
"android": {
"title": "Jitsi Meet für Android",
"description": "Installieren Sie die Jitsi Meet App und versuchen Sie anschließend erneut, das Meeting zu öffnen.",
"button": "Jitsi für Android herunterladen"
}
},
"browser": {
@@ -206,6 +216,11 @@
"title": "Jitsi Meet pour iOS",
"description": "Installez l'application Jitsi Meet, puis essayez de rouvrir la réunion.",
"button": "Télécharger Jitsi pour iOS"
},
"android": {
"title": "Jitsi Meet pour Android",
"description": "Installez l'application Jitsi Meet, puis essayez de rouvrir la réunion.",
"button": "Télécharger Jitsi pour Android"
}
},
"browser": {
@@ -288,6 +303,11 @@
"title": "适用于 iOS 的 Jitsi Meet",
"description": "请安装 Jitsi Meet 应用,然后再次尝试打开会议。",
"button": "下载 iOS 版 Jitsi"
},
"android": {
"title": "适用于 Android 的 Jitsi Meet",
"description": "请安装 Jitsi Meet 应用,然后再次尝试打开会议。",
"button": "下载 Android 版 Jitsi"
}
},
"browser": {
+12 -1
View File
@@ -33,7 +33,8 @@ const CONFIG = {
windows: "https://github.com/jitsi/jitsi-meet-electron/releases/latest/download/jitsi-meet.exe",
macos: "https://github.com/jitsi/jitsi-meet-electron/releases/latest/download/jitsi-meet.dmg",
linux: "https://github.com/jitsi/jitsi-meet-electron/releases",
ios: "https://apps.apple.com/app/jitsi-meet/id1165103905"
ios: "https://apps.apple.com/app/jitsi-meet/id1165103905",
android: "https://play.google.com/store/apps/details?id=org.jitsi.meet"
}
};
@@ -339,11 +340,13 @@ const windowsDownload = document.getElementById("windowsDownload");
const macosDownload = document.getElementById("macosDownload");
const linuxDownload = document.getElementById("linuxDownload");
const iosDownload = document.getElementById("iosDownload");
const androidDownload = document.getElementById("androidDownload");
const otherDownload = document.getElementById("otherDownload");
const windowsLink = document.getElementById("windowsLink");
const macosLink = document.getElementById("macosLink");
const linuxLink = document.getElementById("linuxLink");
const iosLink = document.getElementById("iosLink");
const androidLink = document.getElementById("androidLink");
const createNewMeetingButton = document.getElementById("createNewMeetingButton");
const createNewFromLauncherButton = document.getElementById("createNewFromLauncherButton");
@@ -631,6 +634,7 @@ function configureDownloads() {
macosDownload.classList.add("hidden");
linuxDownload.classList.add("hidden");
iosDownload.classList.add("hidden");
androidDownload.classList.add("hidden");
otherDownload.classList.add("hidden");
/* Windows */
@@ -661,6 +665,13 @@ function configureDownloads() {
return;
}
/* Android */
if (os === "android") {
androidLink.href = CONFIG.downloads.android;
androidDownload.classList.remove("hidden");
return;
}
/* Alles andere */
otherDownload.classList.remove("hidden");
}