question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Configureable Seek Time for Arrow Keys

See original GitHub issue

Current Behavior

Currently, when the player is in focus, pressing the left or right arrow keys seeks the video to -2 and +2 seconds respectively.

Is there a way to configure this duration (or override this behaviour)

P.S.: I tried adding an event listener of onKeyDown and doing a seekTo(currentTime+10), but this would do a seek to +12 seconds (10 by this code and 2 by the player). Doing a +8 seems like a very bad hack to me.

Any thoughts on this?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
EmptyCrowncommented, Feb 26, 2020

Was there a resolution for this? As far as I can tell, the default increment always runs.

0reactions
dinhkelliecommented, Jan 8, 2021

Interested in finding a resolution for this! event.preventDefault() isn’t consistent for me so I have to resort to ± 8 seconds in order to achieve 10 seconds

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configureable Seek Time for Arrow Keys · Issue #724 - GitHub
Currently, when the player is in focus, pressing the left or right arrow keys seeks the video to -2 and +2 seconds respectively....
Read more >
How to configure the time duration for the navigate keys? : r/VLC
Go to Tools > Preferences. · In the bottom left corner, select the "All" radio button. · Click on the drop-down arrow next...
Read more >
1474149 - Allow media seek amount so be configured
Bug 1474149 - Shorten media seek amount to 5 seconds ... keys on YouTube - Ctrl+Arrow Key in MPC-BE - Ctrl as modifier...
Read more >
Ducky One 2 Mini - How To Set Dedicated arrow keys (for ...
How you can get dedicated arrow keys on the Ducky One 2 Mini. ... Ducky One 2 Mini - How To Set Dedicated...
Read more >
How to minimize use of arrow keys when typing code?
You can save keystrokes by holding the Ctrl key and using the arrow keys. Instead of moving one character, it moves one word...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found