-
Notifications
You must be signed in to change notification settings - Fork 887
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
Keybindings for the videoplayer are not successfully overriden #637
Comments
Will look more into this. In the mean time, if you click on the video while in fullscreen, spacebar to play / pause will once again work. I am able to reproduce this issue though so I'll look into a proper fix. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment has been minimized.
This comment has been minimized.
This comment was marked as outdated.
This comment was marked as outdated.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Same for me, hitting space exits Full Window or Fullscreen mode, its frustrating. |
I would be willing to work on this, I have a couple of ideas that might work well. But I've heard that there is a planned overhaul of the keyboard shortcuts and I'm not sure if solving this issue is already included into that. If it's not, I'm happy to work on it and submit a PR. |
This comment was marked as duplicate.
This comment was marked as duplicate.
Using the 'f' key to put the video in full screen does help because 'space' can still be used to pause the video. Thanks a lot @dinotheextinct for this solution. But it would be nice to have the issue fixed and that 'space' always does pause/play instead of switching full screen for newcomers that do not yet have found the 'f' key solution :-) |
This comment was marked as outdated.
This comment was marked as outdated.
Reopening as discussed in #4978 (comment) |
This comment has been minimized.
This comment has been minimized.
This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
While browsing the source code I found some code which is supposed to (I believe) override the default keybindings of the video player. However my experience shows that they are not overridden.
The code is located in file src/renderer/components/ft-video-player/ft-video-player.js, from line 464 (keyboardShortcutHandler()).
If I understand the code correctly, this means that when a video is playing and the user presses the spacebar then the video should toggle between playing and paused. This is not the case:
Steps to reproduce:
The code does not do what it was intended (I believe) to do and I would love the keybinding overriding to be correctly implemented.
v0.9.0 Beta on Manjaro Linux GNOME
The text was updated successfully, but these errors were encountered: