/video-player-controls

Some ideas for video player controls, to be implemented at the authors' discretion.

Primary LanguageJavaScriptThe UnlicenseUnlicense

Video player controls

Will you be using keyboard controls for your video player?

There are some you can see in almost player out there; e.g. spacebar for pause, left/right for forward/back, and occasionally some playback options. So, here's a table you can use:

Key Maps to
?/h help dialogue
k/space pause
j -30s
k +30s
left -5s
right +5s
up increase volume
down decrease volume
m mute volume
f/F11 toggle fullscreen
esc exit fullscreen
q quit (when not in fullscreen, with confirmation) or exit fullscreen
Q/C-w quit/close tab
c scroll caption language down (if applicable)
C scroll caption language up (if applicable)
v switch audio language down (if applicable)
V switch audio language up (if applicable)
</- playback slower (coarse)
[ playback slower (fine)
>/+ playback faster (coarse)
] playback faster (fine)
n next in playlist
p prev in playlist
[0-9] go to that * 10% in video
,/{ frame back
./} frame forward
% skip to time stamp, given in `[h

For web based video players with ratings/comments/searching:

Key Maps to
'/" Comment (at this timestamp, if you want timestamped comments like nikoniko)
!/~/s quick search
# copy current timestamped URL to clipboard
d toggle description
a toggle vote up
z toggle vote down
A vote up
Z vote down
x/r report possibly explicit, copyright-infringing or otherwise inappropriate video