Skip to content

Commit

Permalink
Merge pull request #828 from OldTaoge/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod authored May 23, 2020
2 parents 54b3e92 + 308e31d commit 66a6835
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/js/hotkey.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,17 @@ class HotKey {
break;
case 37:
event.preventDefault();
if (player.options.live) {
break;
}
player.seek(player.video.currentTime - 5);
player.controller.setAutoHide();
break;
case 39:
event.preventDefault();
if (player.options.live) {
break;
}
player.seek(player.video.currentTime + 5);
player.controller.setAutoHide();
break;
Expand Down

0 comments on commit 66a6835

Please sign in to comment.