OGPlayer Web SDK
    Preparing search index...

    Type Alias OGKeyAction

    OGKeyAction:
        | "playPause"
        | "seekBackward"
        | "seekForward"
        | "volumeUp"
        | "volumeDown"
        | "toggleMute"
        | "toggleFullscreen"
        | "exitFullscreen"
        | "toggleSubtitles"
        | "seekToStart"
        | "seekToEnd"
        | "seekToPercent"

    Keyboard shortcuts for <og-player> — the map from KeyboardEvent.key to a player action, kept DOM-free so the resolution is unit-testable. Desktop keyboards only; TV remotes are a separate concern and are not wired through here.

    The default map is the one viewers already know from the big video sites: Space/K play-pause, ←/→ and J/L seek by the player's seek increment, ↑/↓ volume, M mute, F fullscreen, C subtitles, 0–9 jump to 0–90 % (VOD), Home/End start/end (live edge on live), Esc leaves fullscreen.