feat: changing the playback speed and volume with the mouse wheel / scroll (fixes #3388)#3661
Open
W07L wants to merge 8 commits intocode-charity:masterfrom
Open
feat: changing the playback speed and volume with the mouse wheel / scroll (fixes #3388)#3661W07L wants to merge 8 commits intocode-charity:masterfrom
W07L wants to merge 8 commits intocode-charity:masterfrom
Conversation
…tcuts Add toggle to change volume with scroll button + left ctrl and 2 shortcuts
delete restriction to only use left ctrl
Add possibility to change playback speed with mouse wheel/scroll
Fix problem where playback speed can be change without preset shortcuts
Fix problem where volume can be change without preset shortcuts
…hange the volume I delete the idea of displaying the same YouTube sound icons when I change the volume
ImprovedTube
reviewed
Mar 3, 2026
| if (message.key.startsWith('shortcut_') || message.key === 'shortcuts_volume_wheel_ctrl') { | ||
| camelized_key = 'shortcuts'; | ||
| if (typeof ImprovedTube.shortcutsInit === 'function') { | ||
| ImprovedTube.shortcutsInit(); |
Member
There was a problem hiding this comment.
shortcutsInit can be called when shortcuts change,
not required again for every shortcut pressed.
Member
|
Thank you so much! @W07L Please check: #862 Glad you had a look at shortcuts.js #1565 ImprovedTube needs structure / feature discoverability #2251 #748 We have the functionality ( @Heinz14 @W07L ) (Yet it is popular and should have had a quick preset option accessible with one or a few clicks.) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
I have work on this feature request #3388. I have add the possibility to change speedback speed and volume with Mouse wheel/scroll + Shift/Ctrl/Alt
Both of them work by toggle the option and set the shotcuts. It take effect when the mouse is on the video or the video is on fullscreen
Change
Test
I have on Microsoft Edge, Google Chrome and Firefox and it work on all of them.