timeupdate_() {
    if (this.tech_.paused() || this.tech_.seeking()) {
      return;
    }

    let currentTime = this.tech_.currentTime();

    if (this.consecutiveUpdates === 5 &&
        currentTime === this.lastRecordedTime) {
      this.consecutiveUpdates++;
      this.waiting_();
    } else if (currentTime === this.lastRecordedTime) {
      this.consecutiveUpdates++;
    } else {
      this.consecutiveUpdates = 0;
      this.lastRecordedTime = currentTime;
    }
  }
/**
   * The purpose of this function is to emulate the "waiting" event on
   * browsers that do not emit it when they are waiting for more
   * data to continue playback
   *
   * @private
   */
The purpose of this function is to emulate the "waiting" event on
browsers that do not emit it when they are waiting for more
data to continue playback

@private
The purpose of this function is to emulate the " waiting " event on browsers that do not emit it when they are waiting for more data to continue playback @private
timeupdate_() {
    if (this.tech_.paused() || this.tech_.seeking()) {
      return;
    }
    let currentTime = this.tech_.currentTime();
    if (this.consecutiveUpdates === 5 &&
        currentTime === this.lastRecordedTime) {
      this.consecutiveUpdates++;
      this.waiting_();
    } else if (currentTime === this.lastRecordedTime) {
      this.consecutiveUpdates++;
    } else {
      this.consecutiveUpdates = 0;
      this.lastRecordedTime = currentTime;
    }
  }
timeupdate_ ( ) { if ( this . tech_ . paused ( ) || this . tech_ . seeking ( ) ) { return ; } let currentTime = this . tech_ . currentTime ( ) ; if ( this . consecutiveUpdates === 5 && currentTime === this . lastRecordedTime ) { this . consecutiveUpdates ++ ; this . waiting_ ( ) ; } else if ( currentTime === this . lastRecordedTime ) { this . consecutiveUpdates ++ ; } else { this . consecutiveUpdates = 0 ; this . lastRecordedTime = currentTime ; } }
The purpose of this function is to emulate the "waiting" event on
 browsers that do not emit it when they are waiting for more
 data to continue playback
The purpose of this function is to emulate the " waiting " event on browsers that do not emit it when they are waiting for more data to continue playback