
    }
    self.recordStat("error", {
      code: code,
      src: e.target.src,
      networkState: player.networkState,
      currentTime: player.currentTime,
      readyState: player.readyState,
      type: 'video'
    })
  });
  var loadedMetadata = function() {
    if (self.scrubTime != null) {
      player.currentTime = self.scrubTime;
      self.scrubTime = null;
    }
    var time = getQueryVariable('t');
    if (time) {
      player.currentTime = time;
    }

    if (!self.isMobile) {
      window.