diff --git a/bigbluebutton-html5/imports/ui/components/presentation/presentation-toolbar/component.jsx b/bigbluebutton-html5/imports/ui/components/presentation/presentation-toolbar/component.jsx index ac74e12dd8858a4a1097a1d5d7ca0237e247d73a..75495b21ed3616d9d762029b110113a7812f9ed5 100755 --- a/bigbluebutton-html5/imports/ui/components/presentation/presentation-toolbar/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/presentation/presentation-toolbar/component.jsx @@ -105,9 +105,15 @@ class PresentationToolbar extends PureComponent { if ([KEY_CODES.ARROW_LEFT].includes(which)) { this.previousSlideHandler(); } + if ([KEY_CODES.PAGE_DOWN].includes(which)) { + this.previousSlideHandler(); + } if ([KEY_CODES.ARROW_RIGHT].includes(which)) { this.nextSlideHandler(); } + if ([KEY_CODES.PAGE_UP].includes(which)) { + this.nextSlideHandler(); + } } } diff --git a/bigbluebutton-html5/imports/utils/keyCodes.js b/bigbluebutton-html5/imports/utils/keyCodes.js index 5042c536a0124842f2aa14d201ebaeda2db89d7e..a08c9d9746e05ff44b078c4fb8ffda16382d64d2 100644 --- a/bigbluebutton-html5/imports/utils/keyCodes.js +++ b/bigbluebutton-html5/imports/utils/keyCodes.js @@ -6,6 +6,8 @@ export const ARROW_UP = 38; export const ARROW_DOWN = 40; export const ARROW_RIGHT = 39; export const ARROW_LEFT = 37; +export const PAGE_UP = 33; +export const PAGE_DOWN = 34; export default { SPACE, @@ -16,4 +18,6 @@ export default { ARROW_DOWN, ARROW_RIGHT, ARROW_LEFT, + PAGE_UP, + PAGE_DOWN, };