diff --git a/web/components/video/OwncastPlayer/OwncastPlayer.tsx b/web/components/video/OwncastPlayer/OwncastPlayer.tsx index c96e6ae31..f92ee9c6f 100644 --- a/web/components/video/OwncastPlayer/OwncastPlayer.tsx +++ b/web/components/video/OwncastPlayer/OwncastPlayer.tsx @@ -183,8 +183,9 @@ export const OwncastPlayer: FC = ({ source, online }) => { }; // Register keyboard shortcut for the space bar to toggle playback - useHotkeys('space', togglePlayback, { - enableOnContentEditable: false, + useHotkeys('space', e => { + e.preventDefault(); + togglePlayback(); }); // Register keyboard shortcut for f to toggle full screen