  log("Mouse move pause")
      player.pause();
      var newTime = calculateDistance(e, playerDiv.getElementsByClassName('player-progress')[0]) * player.duration;

      // Don't let video end while scrubbing.
      if (newTime === player.duration) { newTime = newTime - 0.1; }

      if (!isNaN(newTime)) {
        // Set new time (tell player to seek to new time)
        player.currentTime = newTime;
        self.scrubTime = newTime;
      }
      self.update_player_controls();
    }
    var handleMouseUp 