Don't fatally end the Jitsi widget when it's not being used as a widget

This commit is contained in:
Travis Ralston 2020-10-14 16:16:08 -06:00
parent d4d1b957af
commit d1a6b656bc

View file

@ -88,7 +88,7 @@ let meetApi: any; // JitsiMeetExternalAPI
]);
widgetApi.start();
} else {
throw new Error("No parent URL or no widget ID");
console.warn("No parent URL or no widget ID - assuming no widget API is available");
}
// Populate the Jitsi params now