diff --git a/src/video/components/actions/KeyboardShortcutsAction.tsx b/src/video/components/actions/KeyboardShortcutsAction.tsx index cab92baa..24e8b813 100644 --- a/src/video/components/actions/KeyboardShortcutsAction.tsx +++ b/src/video/components/actions/KeyboardShortcutsAction.tsx @@ -63,6 +63,16 @@ export function KeyboardShortcutsAction() { toggleVolume(); break; + // Decrease volume + case "arrowdown": + controls.setVolume(Math.max(mediaPlaying.volume - 0.1, 0)); + break; + + // Increase volume + case "arrowup": + controls.setVolume(Math.min(mediaPlaying.volume + 0.1, 1)); + break; + // Do a barrel Roll! case "r": if (isRolling || evt.ctrlKey || evt.metaKey) return;