Merge branch 'dev'
CI/CD / deploy (push) Failing after 2m32s
Details
CI/CD / deploy (push) Failing after 2m32s
Details
This commit is contained in:
commit
1d05e7b64f
|
|
@ -507,21 +507,22 @@ routes.get("/:room", (c) => {
|
||||||
<div id="jitsi-container">
|
<div id="jitsi-container">
|
||||||
<div class="loading"><div class="spinner"></div><span>Connecting to meeting...</span></div>
|
<div class="loading"><div class="spinner"></div><span>Connecting to meeting...</span></div>
|
||||||
</div>
|
</div>
|
||||||
<script src="${escapeHtml(JITSI_URL)}/external_api.js"></script>
|
<script src="${escapeHtml(JITSI_URL)}/external_api.min.js"></script>
|
||||||
<script>
|
<script>
|
||||||
const api = new JitsiMeetExternalAPI("${escapeHtml(JITSI_URL.replace(/^https?:\/\//, ""))}", {
|
try {
|
||||||
roomName: "${jitsiRoom}",
|
var api = new JitsiMeetExternalAPI("${escapeHtml(JITSI_URL.replace(/^https?:\/\//, ""))}", {
|
||||||
|
roomName: decodeURIComponent("${jitsiRoom}"),
|
||||||
parentNode: document.getElementById("jitsi-container"),
|
parentNode: document.getElementById("jitsi-container"),
|
||||||
width: "100%",
|
width: "100%",
|
||||||
height: "100%",
|
height: "100%",
|
||||||
configOverrides: {
|
configOverwrite: {
|
||||||
startWithAudioMuted: false,
|
startWithAudioMuted: false,
|
||||||
startWithVideoMuted: false,
|
startWithVideoMuted: false,
|
||||||
prejoinPageEnabled: true,
|
prejoinConfig: { enabled: false },
|
||||||
|
prejoinPageEnabled: false,
|
||||||
disableDeepLinking: true,
|
disableDeepLinking: true,
|
||||||
disableThirdPartyRequests: true,
|
disableThirdPartyRequests: true,
|
||||||
enableClosePage: false,
|
enableClosePage: false,
|
||||||
disableInviteFunctions: false,
|
|
||||||
toolbarButtons: [
|
toolbarButtons: [
|
||||||
"microphone","camera","desktop","hangup",
|
"microphone","camera","desktop","hangup",
|
||||||
"raisehand","tileview","toggle-camera",
|
"raisehand","tileview","toggle-camera",
|
||||||
|
|
@ -529,7 +530,7 @@ routes.get("/:room", (c) => {
|
||||||
"participants-pane","select-background",
|
"participants-pane","select-background",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
interfaceConfigOverrides: {
|
interfaceConfigOverwrite: {
|
||||||
SHOW_JITSI_WATERMARK: false,
|
SHOW_JITSI_WATERMARK: false,
|
||||||
SHOW_BRAND_WATERMARK: false,
|
SHOW_BRAND_WATERMARK: false,
|
||||||
SHOW_POWERED_BY: false,
|
SHOW_POWERED_BY: false,
|
||||||
|
|
@ -540,11 +541,14 @@ routes.get("/:room", (c) => {
|
||||||
});
|
});
|
||||||
api.addEventListener("readyToClose", function() {
|
api.addEventListener("readyToClose", function() {
|
||||||
try { window.close(); } catch(e) {}
|
try { window.close(); } catch(e) {}
|
||||||
// window.close() fails if the tab wasn't opened by JS (common on mobile)
|
|
||||||
document.getElementById("jitsi-container").innerHTML =
|
document.getElementById("jitsi-container").innerHTML =
|
||||||
'<div class="ended"><span>Meeting ended</span>'
|
'<div class="ended"><span>Meeting ended</span>'
|
||||||
+ '<a href="${escapeHtml(`/${space}/rmeets`)}">Back to rMeets</a></div>';
|
+ '<a href="${escapeHtml(`/${space}/rmeets`)}">Back to rMeets</a></div>';
|
||||||
});
|
});
|
||||||
|
} catch(e) {
|
||||||
|
document.getElementById("jitsi-container").innerHTML =
|
||||||
|
'<div class="loading" style="color:#ef4444">Failed to connect: ' + e.message + '</div>';
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>`);
|
</html>`);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue