-
-
Notifications
You must be signed in to change notification settings - Fork 543
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
Using keyboard shortcuts to pause/play makes pause/play not work #1993
Comments
Hey, I'm interested in taking on this issue, would that be possible? |
same issue here on two different machines. edit: just found out (for one machine only, the other one is at work and i can't try) that the issue maybe due to a powertoys component. closing powertoys from the tray restored the default spacebar shortcut. |
Shortcuts are buggy. Sometimes its easier to backup settings and just... reinstal extension.
|
|
EDIT after 3 months and actually reading shortcuts code: My previous comment was fully wrong. This shouldnt happen. Configuring anything in ImproveTube on Spacebar should override YT default action. Can reproduce, this simple code just simply doesnt work: youtube/js&css/web-accessible/www.youtube.com/shortcuts.js Lines 278 to 286 in e1c339d
Cause: YT doesnt use Click event for Space and Space alone !?!?! it uses KeyUp event. We only cancel keydown events.
EDIT: or actually cancel all keyup events corresponding to triggered keydown shortcuts, FIXED |
Bug Report:
⚬ BUG: After installing and using the extension, using spacebar to switch between pause and play no longer works properly. If pressed while the video is playing, it will pause for only a brief moment, but will immediately resume playing; likewise, if pressed while the video is paused, it will play for only a brief moment, but will immediately go back to being paused. I tried setting the pause/play function to the spacebar in ImprovedTube's settings, but that did not solve the issue. The issue persisted until I uninstalled ImprovedTube.
⚬ HOW: 1. Install ImprovedTube.
2. Try to use the spacebar to pause/play a video.
3. Weep, for it does not work.
⚬ ImprovedTube Version: I've already uninstalled it. I can't check which version I had. I installed it yesterday, if that helps.
The text was updated successfully, but these errors were encountered: