Merge branch 'dev'
CI/CD / deploy (push) Successful in 2m35s
Details
CI/CD / deploy (push) Successful in 2m35s
Details
This commit is contained in:
commit
280fb9426c
|
|
@ -97,7 +97,7 @@ class FolkJitsiRoom extends HTMLElement {
|
|||
if (!(window as any).JitsiMeetExternalAPI) {
|
||||
await new Promise<void>((resolve, reject) => {
|
||||
const script = document.createElement("script");
|
||||
script.src = `${this.jitsiUrl}/external_api.min.js`;
|
||||
script.src = `${this.jitsiUrl}/libs/external_api.min.js`;
|
||||
script.onload = () => resolve();
|
||||
script.onerror = () => reject(new Error("Failed to load Jitsi External API"));
|
||||
document.head.appendChild(script);
|
||||
|
|
|
|||
|
|
@ -507,7 +507,7 @@ routes.get("/:room", (c) => {
|
|||
<div id="jitsi-container">
|
||||
<div class="loading"><div class="spinner"></div><span>Connecting to meeting...</span></div>
|
||||
</div>
|
||||
<script src="${escapeHtml(JITSI_URL)}/external_api.min.js"></script>
|
||||
<script src="${escapeHtml(JITSI_URL)}/libs/external_api.min.js"></script>
|
||||
<script>
|
||||
try {
|
||||
var api = new JitsiMeetExternalAPI("${escapeHtml(JITSI_URL.replace(/^https?:\/\//, ""))}", {
|
||||
|
|
|
|||
Loading…
Reference in New Issue