Commit 90bec8782d5c023170fbcd70bf6061b9bf24ee35

Authored by Amber Dev
1 parent db965de899

added loader to video chat

Showing 1 changed file with 4 additions and 2 deletions   Show diff stats
src/pages/Dashboard/LiveOnlineClass.vue
... ... @@ -230,14 +230,16 @@ export default {
230 230 console.log("this.api ", this.api);
231 231 _this.api.addEventListener("videoConferenceJoined", () => {
232 232 console.log("Local User Joined");
233   -
  233 + this.showLoader = false;
234 234 _this.api.executeCommand("displayName", _this.username);
235 235 _this.api.executeCommand("password", this_.roomPassword);
236 236 });
  237 +
237 238 _this.api.on("readyToClose", () => {
238 239 this.$router.push({ name: "Refresh" });
239   - this.showLoader = false;
  240 +
240 241 });
  242 +
241 243 } catch (error) {
242 244 console.error("Failed to load Jitsi API", error);
243 245 }
... ...