Skip to content

feat: Support playback speed and volume shortcuts for shorts - #4312

Merged
ImprovedTube merged 1 commit into
code-charity:masterfrom
hkzo:feat/speed-and-volume-shortcuts-for-shorts
Sep 4, 2026
Merged

feat: Support playback speed and volume shortcuts for shorts#4312
ImprovedTube merged 1 commit into
code-charity:masterfrom
hkzo:feat/speed-and-volume-shortcuts-for-shorts

Conversation

@hkzo

@hkzo hkzo commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR adds support for keyboard shortcuts for playback speed and volume on YouTube Shorts.

Ref: #4306

Changes

Previously, keyboard shortcuts for volume and playback speed were scoped primarily to regular watch pages, failing to recognize or apply to YouTube Shorts players.

  • Updated volume and playback speed shortcut handlers to correctly detect and resolve the Shorts player and video elements when dataset.pageType === 'shorts'.
  • Ensured shortcuts operate seamlessly on both standard watch pages and YouTube Shorts.

Testing

  • Verified that volume increase/decrease keyboard shortcuts work correctly on Shorts.
  • Verified that playback speed increase/decrease/reset keyboard shortcuts work correctly on Shorts.
  • Verified that standard player functionality continues to work correctly without regressions.

Notes

I used AI assistance only for translating this PR description. I made the code changes and performed the testing myself.

@ImprovedTube
ImprovedTube merged commit 23a963b into code-charity:master Sep 4, 2026
1 check passed
@ImprovedTube2

Copy link
Copy Markdown
Collaborator

Thank you very much! @hkzo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants