Skip to content

Commit a271eca

Browse files
thijstriemstragkatsev
authored andcommitted
docs(hotkeys): hotkeys require player focus (#5859)
Fixes #5832
1 parent 20bf42d commit a271eca

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

docs/guides/options.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@
3636
* [techCanOverridePoster](#techcanoverrideposter)
3737
* [techOrder](#techorder)
3838
* [userActions](#useractions)
39-
* [userActions.doubleClick](#useractions.doubleclick)
40-
* [userActions.hotkeys](#useractions.hotkeys)
41-
* [userActions.hotkeys.fullscreenKey](#useractions.hotkeys.fullscreenkey)
42-
* [userActions.hotkeys.muteKey](#useractions.hotkeys.mutekey)
43-
* [userActions.hotkeys.playPauseKey](#useractions.hotkeys.playpausekey)
39+
* [userActions.doubleClick](#useractionsdoubleclick)
40+
* [userActions.hotkeys](#useractionshotkeys)
41+
* [userActions.hotkeys.fullscreenKey](#useractionshotkeysfullscreenkey)
42+
* [userActions.hotkeys.muteKey](#useractionshotkeysmutekey)
43+
* [userActions.hotkeys.playPauseKey](#useractionshotkeysplaypausekey)
4444
* [vtt.js](#vttjs)
4545
* [Component Options](#component-options)
4646
* [children](#children-1)
@@ -433,8 +433,7 @@ Default hotkey handling is:
433433
| `k` | toggle play/pause | always enabled, even if no Control Bar is present
434434
| `Space` | toggle play/pause | always enabled, even if no Control Bar is present
435435

436-
Note that the `Space` key activates controls such as buttons and menus if that control has keyboard focus. The other hotkeys work regardless of which
437-
control in the player has focus.
436+
Hotkeys require player focus first. Note that the `Space` key activates controls such as buttons and menus if that control has keyboard focus. The other hotkeys work regardless of which control in the player has focus.
438437

439438
### `userActions.hotkeys.fullscreenKey`
440439

0 commit comments

Comments
 (0)