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:
Chocobozzz 2018-07-09 15:04:50 +02:00
commit 5634dfc811
1 changed files with 2 additions and 1 deletions

View File

@ -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
} }
}) })
} }