-
Improvement
-
Resolution: Fixed
-
Minor
-
3.10.1, 3.11, 4.0
-
MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_400_STABLE
-
MOODLE_311_STABLE
-
I currently watch a ton of videos (with video.js) and would appreciate it if Moodle would enable keyboard hotkeys for common video operations.
This change would allow more comfortable use, primarily if "Space" could be used to pause and play videos.
f | toggle fullscreen |
m | toggle mute |
k | toggle play/pause |
Space | toggle play/pause |
https://docs.videojs.com/tutorial-options.html#useractions.hotkeys
How to resolve:
Just add
videojs.options.userActions.hotkeys = true
|
to
media/player/videojs/amd/src/loader.js:93