mirror of
https://github.com/videojs/video.js.git
synced 2024-11-24 08:42:25 +02:00
parent
3352346a74
commit
bb93a18ca8
@ -174,10 +174,10 @@ vjs.Slider.prototype.onFocus = function(){
|
||||
};
|
||||
|
||||
vjs.Slider.prototype.onKeyPress = function(event){
|
||||
if (event.which == 37) { // Left Arrow
|
||||
if (event.which == 37 || event.which == 40) { // Left and Down Arrows
|
||||
event.preventDefault();
|
||||
this.stepBack();
|
||||
} else if (event.which == 39) { // Right Arrow
|
||||
} else if (event.which == 38 || event.which == 39) { // Up and Right Arrows
|
||||
event.preventDefault();
|
||||
this.stepForward();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user