# Keyboard shortcuts

- Space bar - toggle play/pause.
- Right and Left Arrow - seek the video forwards and back.
- Up and Down Arrow - increase and decrease the volume.
- M key - toggle mute/unmute.
- F key - toggle fullscreen off and on.
- Shift + > - increase speed
- Shift + < - decrease speed

## Code Source

    <!--Load skin, player and plugins-->
    <link href="../skins/nuevo/videojs.min.css" rel="stylesheet" type="text/css" />
    <script src="../video.min.js"></script>
    <script src="../nuevo.min.js"></script>
    <script src="../plugins/videojs.hotkeys.min.js"></script>

    <!--Setup Video tag-->
    <video id="player_1" class="video-js vjs-fluid" controls preload playsinline poster="../examples/assets/images/poster.jpg">
    	<source src="//opencdn.b-cdn.net/video/demo_720.mp4" type="video/mp4">
    	<source src="//opencdn.b-cdn.net/video/demo_720.webm" type="video/webm">
    </video>

    <script>
    <!--Initialize player + nuevo and hotkeys plugins-->
    <script>
    	var player = videojs('player_1');
    	player.nuevo({
    		title: "Nuevo plugin for VideoJs Player"
    	});
    	player.hotkeys({
    		volumeStep: 0.1,
    		seekStep: 5
    	});
    </script>

Hotkeys options are optional and easy to understand.
volumeStep = step value to increse/decrease volume value.
seekStep = step value to forward or backeard video in time.
Arrow keys (volume, forward, rewind) work only when the player is focused, it's just like on Youtube player.