Skip to content

Commit 7fb4b66

Browse files
committed
fix(player): < and > have no effect on playback speed
Closes vidstack#1463
1 parent 41336a8 commit 7fb4b66

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/vidstack/src/core/keyboard/controller.ts

+3
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,9 @@ export class MediaKeyboardController extends MediaPlayerController {
222222

223223
return combinations?.some((combo) => {
224224
const modifierKeys = new Set(combo.filter((key) => MODIFIER_KEYS.has(key)));
225+
if ('<>'.includes(event.key)) {
226+
modifierKeys.add('Shift');
227+
}
225228

226229
// Check whether a modifier key was pressed that's not part of this combination.
227230
for (const modKey of MODIFIER_KEYS) {

0 commit comments

Comments
 (0)