Fixes video hotkey part 1
A patch has to be merged in videojs hotkey plugin too
This commit is contained in:
parent
08d9ba0f85
commit
e85bfe96fd
|
@ -456,7 +456,8 @@ export class PeertubePlayerManager {
|
|||
enableInactiveFocus: false,
|
||||
captureDocumentHotkeys: true,
|
||||
documentHotkeysFocusElementFilter: (e: HTMLElement) => {
|
||||
return e.id === 'content' || e.tagName.toLowerCase() === 'body'
|
||||
const tagName = e.tagName.toLowerCase()
|
||||
return e.id === 'content' || tagName === 'body' || tagName === 'video'
|
||||
},
|
||||
|
||||
enableVolumeScroll: false,
|
||||
|
|
Loading…
Reference in New Issue