diff options
Diffstat (limited to 'client/src/assets/player')
-rw-r--r-- | client/src/assets/player/peertube-player-manager.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/assets/player/peertube-player-manager.ts b/client/src/assets/player/peertube-player-manager.ts index 630eebbca..7fa84e195 100644 --- a/client/src/assets/player/peertube-player-manager.ts +++ b/client/src/assets/player/peertube-player-manager.ts | |||
@@ -456,7 +456,8 @@ export class PeertubePlayerManager { | |||
456 | enableInactiveFocus: false, | 456 | enableInactiveFocus: false, |
457 | captureDocumentHotkeys: true, | 457 | captureDocumentHotkeys: true, |
458 | documentHotkeysFocusElementFilter: (e: HTMLElement) => { | 458 | documentHotkeysFocusElementFilter: (e: HTMLElement) => { |
459 | return e.id === 'content' || e.tagName.toLowerCase() === 'body' | 459 | const tagName = e.tagName.toLowerCase() |
460 | return e.id === 'content' || tagName === 'body' || tagName === 'video' | ||
460 | }, | 461 | }, |
461 | 462 | ||
462 | enableVolumeScroll: false, | 463 | enableVolumeScroll: false, |