load() {
    // un-pause
    this.monitorBuffer_();

    // if we don't have a playlist yet, keep waiting for one to be
    // specified
    if (!this.playlist_) {
      return;
    }

    // if all the configuration is ready, initialize and begin loading
    if (this.state === 'INIT' && this.mimeType_) {
      return this.init_();
    }

    // if we're in the middle of processing a segment already, don't
    // kick off an additional segment request
    if (!this.sourceUpdater_ ||
        (this.state !== 'READY' &&
        this.state !== 'INIT')) {
      return;
    }

    this.state = 'READY';
    this.fillBuffer_();
  }
/**
   * load a playlist and start to fill the buffer
   */
load a playlist and start to fill the buffer
load a playlist and start to fill the buffer
load() {
    this.monitorBuffer_();
    if (!this.playlist_) {
      return;
    }
    if (this.state === 'INIT' && this.mimeType_) {
      return this.init_();
    }
    if (!this.sourceUpdater_ ||
        (this.state !== 'READY' &&
        this.state !== 'INIT')) {
      return;
    }
    this.state = 'READY';
    this.fillBuffer_();
  }
load ( ) { this . monitorBuffer_ ( ) ; if ( ! this . playlist_ ) { return ; } if ( this . state === 'INIT' && this . mimeType_ ) { return this . init_ ( ) ; } if ( ! this . sourceUpdater_ || ( this . state !== 'READY' && this . state !== 'INIT' ) ) { return ; } this . state = 'READY' ; this . fillBuffer_ ( ) ; }
load a playlist and start to fill the buffer
load a playlist and start to fill the buffer
// un-pause // if we don't have a playlist yet, keep waiting for one to be // specified // if all the configuration is ready, initialize and begin loading // if we're in the middle of processing a segment already, don't // kick off an additional segment request