n player
        e.stopPropagation();
      }
    }

    self.update_player_controls();
  }
}

VideoPlayer.prototype.onKeyPress = function(e) {
  if (e.keyCode == 102 || e.keyCode == 70) {
    if (screenfull.isEnabled) {
      screenfull.toggle(this.playerDiv);
    }
  } else if (e.keyCode == 109 || e.keyCode == 77) {
    if (this.player.muted) {
      this.player.muted = false;
    } else {
      this.player.muted = true;
    }
  } else if (e.keyCode == 32 || e.keyCode == 75) {
    if (this.player.paused) 