Login

Keyboard shortcuts for player

Keyboard shortcuts greatly enhance user interaction by enabling fast, seamless control of video playback without relying on on-screen controls. They allow users to perform actions more quickly, improving the overall efficiency and accessibility of the player. This is especially valuable for those who need an easier way to navigate videos, such as during presentations or multitasking. Additionally, shortcuts enable uninterrupted content viewing by minimizing the need for manual adjustments. FastPix Player offers customization options, allowing users to disable or modify specific shortcuts to fit their personal preferences and viewing habits.


Common keyboard shortcuts

ActionKeyDescription
Toggle Play/PauseKPlays the video if paused; pauses it if playing.
Toggle Full ScreenFSwitches to full screen; pressing again exits full screen mode.
Skip BackwardArrow LeftSkips backward by the duration specified in the backward-seek-offset setting.
Skip ForwardArrow RightSkips forward by the duration specified in the forward-seek-offset setting.
Mute/UnmuteMMutes the audio if unmuted; unmutes it if muted.
Increase volumeArrow UpIncreases the volume.
Decrease volumeArrow DownDecreases the volume.

Accessibility and customization

Disabling all keyboard control


To disable all keyboard shortcuts, add the disable-keyboard-controls attribute to the player configuration:

<fp-player 
  playbackId="Playback ID" 
  thumbnail-time="5" 
  playback-rates="1 4 5 6 7 2" 
  forward-seek-offset="30" 
  disable-keyboard-controls 
></fp-player> 

Disabling specific keyboard controls

You can disable individual keyboard controls by setting the hotKey property. For example, to disable the 'K' key:

<fp-player 
  playbackId="Playback ID" 
  thumbnail-time="5" 
  forward-seek-offset="30" 
  placeholder="" 
  thumbnail-time="5" 
  playback-rates="1 4 5 6 7 2" 
  forward-seek-offset="30" 
  hot-key="keyK" 
></fp-player> 

To disable multiple keys, use the hotKeys property. For example, to disable both the 'K' and 'F' keys:

<fp-player 

  playback-id="7bff10bc-8147-4331-b864-6e5bc4d904cd" 
  thumbnail-time="5" 
  playback-rates="1 4 5 6 7 2" 
  forward-seek-offset="30" 
  hot-keys="keyK keyF" 
></fp-player> 

These keyboard shortcuts are designed to enhance your experience with the FastPix Player, making it easier and more efficient to control playback, volume, and screen modes. You can customize the controls as needed to create the optimal viewing experience.