Merge branch 'ctrl-number-hotkeys' into 'develop'
Disable hotkeys modifiers for numbers in the player See merge request chocobozzz/PeerTube!14
This commit is contained in:
commit
5634dfc811
|
@ -55,7 +55,8 @@ function getVideojsOptions (options: {
|
||||||
if (options.enableHotkeys === true) {
|
if (options.enableHotkeys === true) {
|
||||||
Object.assign(videojsOptions.plugins, {
|
Object.assign(videojsOptions.plugins, {
|
||||||
hotkeys: {
|
hotkeys: {
|
||||||
enableVolumeScroll: false
|
enableVolumeScroll: false,
|
||||||
|
enableModifiersForNumbers: false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue