v, "playing");
  }

  var playing = false;
  player.onpause = function() {
    if (self.scrubTime) return;
    playPauseInput.checked = true;
  }
  player.onplay = function() {
    playPauseInput.checked = false;

    if (playOverlay) {
      playOverlay.style.display = "none"
    }

    playing = true;
    self.paused_ = false
    self.started = true
  };
  player.oncanplay = function() {
    if (self.spinner) {
      self.spinner.style.display = 'none';
    }

    setTimeout(function() {
      if (!playin