FIX: more cowebsite fixes

This commit is contained in:
kharhamel 2020-11-16 16:15:21 +01:00
parent 2a6b2e0cbf
commit 3d8d8cc3a9
2 changed files with 24 additions and 24 deletions

View file

@ -52,7 +52,7 @@ class JitsiFactory {
return new Promise((resolve, reject) => {
options.onload = () => resolve(); //we want for the iframe to be loaded before triggering animations.
setTimeout(() => reject('Failed to load the iframe'), 10000); //failsafe in case the iframe is deleted before loading
setTimeout(() => resolve(), 2000); //failsafe in case the iframe is deleted before loading or too long to load
this.jitsiApi = new window.JitsiMeetExternalAPI(domain, options);
this.jitsiApi.executeCommand('displayName', playerName);