add android download options for browsers other than chrome
This commit is contained in:
1 parent
226edd8c48
commit
b424abe8e4
3 files changed
+47
-1
No files matched your search
@@ -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
@@ -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");
|
||||
}
|
||||
|
||||
+15
@@ -177,6 +177,21 @@
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Android -->
|
||||
<div id="androidDownload" class="download hidden">
|
||||
<h2 data-i18n="downloads.android.title">
|
||||
Jitsi Meet for Android
|
||||
</h2>
|
||||
|
||||
<p data-i18n="downloads.android.description">
|
||||
Install the Jitsi Meet app and then try opening the meeting again.
|
||||
</p>
|
||||
|
||||
<a id="androidLink" class="button secondary" target="_blank" rel="noopener noreferrer" data-i18n="downloads.android.button">
|
||||
Download Jitsi for Android
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- unknown -->
|
||||
<div id="otherDownload" class="download hidden">
|
||||
<h2 data-i18n="downloads.other.title">
|
||||
|
||||
Reference in new issue
Block a user