From 37c7453ceecf108cc8bef9c89f4c87240fc641a3 Mon Sep 17 00:00:00 2001 From: Alexis Navarro Date: Thu, 12 Aug 2021 13:18:31 -0500 Subject: [PATCH] Add Loading screen for SDK --- index.html | 4 ++-- src/index.js | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index c3ff19c..4efe761 100644 --- a/index.html +++ b/index.html @@ -14,8 +14,8 @@

- - +
We are loadding the SDK. Please wait...
+ diff --git a/src/index.js b/src/index.js index 1ed71f2..5943e8b 100644 --- a/src/index.js +++ b/src/index.js @@ -117,6 +117,8 @@ function renderVideoConference() { async function app() { try { + document.querySelector(".loading").style.display = "none"; + console.log("SDK loaded"); onBoarding = createOnBoarding(); // initialize the instance container.innerHTML = `

Warming up...

`; await onBoarding.warmup();