-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add keyboard shortcuts to jump to the next and previous chapters #2912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add keyboard shortcuts to jump to the next and previous chapters #2912
Conversation
Could you open a pr on freetubedocs as well? |
Testing chars: |
Found a problem: |
@PikachuEXE looks like Apple OS's don't display those unicode arrow characters. |
written out the keys now |
Prev/Next Page on electron problem still valid ._. |
@PikachuEXE the problem is caused by this: https://github.com/FreeTubeApp/FreeTube/blob/development/src/renderer/App.js#L296-L303 |
How about using |
Updated the shortcuts code |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested MacOS, not tested windows
Update: tested on windows too
Im unable atm to create a PR in the docs repo for this. Could somebody open up a PR to add this shortcut to the docs :) |
Has this been tested on linux? I'm on mint using release 19.1 and this does not work for me. |
It worked on Ubuntu but maybe something broke it? |
This is still working for me on OpenSUSE. Do you have a particular video link this isn't working for? Also make sure your focus isn't on a particular button, otherwise you may be encountering #4137. |
Add keyboard shortcuts to jump to the next and previous chapters
Pull Request Type
Related issue
closes #2823
Description
This pull request adds keyboard shortcuts to jump to the next and previous chapters using Option+left arrow and Option+right arrow on macOS and Ctrl+left arrow and Ctrl+right arrow on Windows and Linux, these are the same as on YouTube.
Testing
Watch a video with chapters, e.g. https://youtu.be/OHKKcd3sx2c and test the keyboard shortcuts
Desktop