(client/player) disable hotkeys modifiers for numbers
authorRigel Kent <sendmemail@rigelk.eu>
Fri, 6 Jul 2018 19:34:53 +0000 (21:34 +0200)
committerRigel Kent <sendmemail@rigelk.eu>
Fri, 6 Jul 2018 19:35:02 +0000 (21:35 +0200)
fixes #771

client/src/assets/player/peertube-player.ts

index 7c9a43ed97b8425ec1374530ae1ccf00982a891e..7e339990ccec66675843e225319dda5fd87a1a3b 100644 (file)
@@ -55,7 +55,8 @@ function getVideojsOptions (options: {
   if (options.enableHotkeys === true) {
     Object.assign(videojsOptions.plugins, {
       hotkeys: {
-        enableVolumeScroll: false
+        enableVolumeScroll: false,
+        enableModifiersForNumbers: false
       }
     })
   }