   }
  } else {
    log("Got ad, not playing")
    //playOverlay.style.display = "block"
    this.spinner.style.display == 'block'
  }
}

VideoPlayer.prototype.paused = function() {
  return !!this.paused_
}

VideoPlayer.prototype.destroy = function(callback) {
  if (this.bufferCheckInterval) {
    clearInterval(this.bufferCheckInterval);
  }
  if (this.progressUpdateInterval) {
    clearInterval(this.progressUpdateInterval);
  }

  this.player.removeEventListener("timeupdate", this.onTimeUpdate)
  this.pla