Add a console warning that errors from Jitsi Meet are fine

See diff for info.

We use the fragment to avoid sending conference information to the web server where possible.
This commit is contained in:
Travis Ralston 2020-03-31 12:19:17 -06:00
parent d4f75e4e1b
commit 13a7b71e08

View File

@ -96,6 +96,11 @@ function joinConference() { // event handler bound in HTML
// noinspection JSIgnoredPromiseFromCall // noinspection JSIgnoredPromiseFromCall
widgetApi.setAlwaysOnScreen(true); // ignored promise because we don't care if it works widgetApi.setAlwaysOnScreen(true); // ignored promise because we don't care if it works
console.warn(
"[Jitsi Widget] The next few errors about failing to parse URL parameters are fine if " +
"they mention 'external_api' or 'jitsi' in the stack. They're just Jitsi Meet trying to parse " +
"our fragment values and not recognizing the options.",
);
const meetApi = new JitsiMeetExternalAPI(jitsiDomain, { const meetApi = new JitsiMeetExternalAPI(jitsiDomain, {
width: "100%", width: "100%",
height: "100%", height: "100%",