Skip to content

feat: show persistent playback speed between speed buttons#4211

Open
xusnitdinov wants to merge 1 commit into
code-charity:masterfrom
xusnitdinov:feat/show-persistent-playback-speed
Open

feat: show persistent playback speed between speed buttons#4211
xusnitdinov wants to merge 1 commit into
code-charity:masterfrom
xusnitdinov:feat/show-persistent-playback-speed

Conversation

@xusnitdinov

Copy link
Copy Markdown

Summary

  • When Increase/Decrease Speed buttons are enabled, the middle control now always shows the current playback rate (e.g. 1.25x) instead of a static 1x label that only briefly appears via the toast.
  • Clicking the middle control still resets speed to 1x.
  • Label updates on increase/decrease clicks and on ratechange.

Test plan

  • Enable Player > Extra buttons > Increase/Decrease Speed buttons
  • Confirm the middle button shows the current speed (e.g. 1x)
  • Click increase/decrease and confirm the middle label updates and stays visible
  • Click the middle button and confirm speed resets to 1x
  • Change speed via YouTube's native menu and confirm the label still updates

Closes #4209

The middle control now displays the current rate at all times instead of a static 1x label, and still resets to 1x on click. Closes code-charity#4209.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

💡 Show the speed

1 participant