mirror of
https://github.com/FreeTubeApp/FreeTube
synced 2024-12-12 04:29:49 +01:00
Videojs hotkeys to enable shortcut on button focus
This commit is contained in:
parent
879f00321d
commit
8ff1751f5b
@ -221,7 +221,11 @@ export default Vue.extend({
|
||||
qualitySelector(videojs, { showQualitySelectionLabelInControlBar: true })
|
||||
}
|
||||
|
||||
this.player = videojs(videoPlayer)
|
||||
this.player = videojs(videoPlayer, {
|
||||
userActions: {
|
||||
hotkeys: this.keyboardShortcutHandler
|
||||
}
|
||||
})
|
||||
|
||||
this.player.volume(this.volume)
|
||||
this.player.playbackRate(this.defaultPlayback)
|
||||
|
Loading…
Reference in New Issue
Block a user