startAnimations()

in client/src/pages/splash/splash.ts [69:94]


  startAnimations() {
    // start spinner hidden, then change to visible after 1 frame, so it fades in
    this.spinnerVisible = false;
    setTimeout(() => this.spinnerVisible = true, 1);
    this.videoStarted = false;
    this.videoComplete = false;
    this.logosVisible = false;
    if (this.video?.nativeElement) {
      const videoEl = this.video.nativeElement as HTMLVideoElement;
      videoEl.play();
      videoEl.currentTime = 0;
    }
    if (this.logoAnimation) {
      this.logoAnimation.stop();
    }
    if (this.timeout) {
      clearTimeout(this.timeout);
    }
    // if video hasn't started playing before timeout, skip it
    this.timeout = setTimeout(() => {
      this.videoComplete = true;
      if (!this.logosVisible) {
        this._showLogos();
      }
    }, this.config.videoMaxStartTime);
  }