Screenbox icon indicating copy to clipboard operation
Screenbox copied to clipboard

Title: Request: Keyboard shortcuts for playback speed control

Open Azam0313 opened this issue 7 months ago • 4 comments

Title: Request: Keyboard shortcuts for playback speed control

Description: Hello, I am using Screenbox on Windows and noticed that there are no keyboard shortcuts to increase or decrease playback speed. It would be very helpful to have shortcuts for:

Increase playback speed. (Ctrl+pgUp)

Decrease playback speed. (Ctrl+pgDn)

Customize playback speed. (Ctrl+ s)

Reset to normal speed (optional)

Other media players (like VLC) provide this and it improves usability a lot. Can you please add this feature or guide me where in the code I can implement it?

Thank you.

Azam0313 avatar Sep 18 '25 14:09 Azam0313

Title: Request: Keyboard shortcuts for playback speed control

Description: Hello, I am using Screenbox on Windows and noticed that there are no keyboard shortcuts to increase or decrease playback speed. It would be very helpful to have shortcuts for:

Increase playback speed

Decrease playback speed

Reset to normal speed (optional)

Other media players (like VLC) provide this and it improves usability a lot. Can you please add this feature or guide me where in the code I can implement it?

Thank you.Title: Request: Keyboard shortcuts for playback speed control

Description: Hello, I am using Screenbox on Windows and noticed that there are no keyboard shortcuts to increase or decrease playback speed. It would be very helpful to have shortcuts for:

Increase playback speed. (Ctrl+pgUp)

Decrease playback speed. (Ctrl+pgDn)

Customize playback speed. (Ctrl+ s)

Reset to normal speed (optional)

Other media players (like VLC) provide this and it improves usability a lot. Can you please add this feature or guide me where in the code I can implement it?

Thank you.

Azam0313 avatar Sep 18 '25 14:09 Azam0313

Hi @Azam0313! I'm Dosu and I’m helping the Screenbox team.

Screenbox currently supports playback speed shortcuts: Shift + . (speed up) and Shift + , (slow down), but does not have Ctrl+PgUp, Ctrl+PgDn, or a reset-to-normal-speed shortcut. To add your requested shortcuts, you’ll want to update two places:

  1. PlayerPage.xaml: Add new <KeyboardAccelerator> entries for your desired key combos (e.g., Key="PageUp" Modifiers="Control" for Ctrl+PgUp) and bind them to the OnPlaybackRateKeyboardAcceleratorInvoked handler.
  2. PlayerPageViewModel.cs: Extend the OnPlaybackRateKeyboardAcceleratorInvoked method to handle the new key/modifier combinations. For example, you can check for Ctrl+PgUp and call the same logic as Shift+., or add logic to reset the speed to 1.0 when a specific shortcut is pressed.

Playback speed is managed via the _mediaPlayer.PlaybackRate property, and the logic for stepping through speeds is in the TogglePlaybackRate method. There’s currently no shortcut for resetting to normal speed, but you can add one by setting _mediaPlayer.PlaybackRate = 1.0 in your handler.
See the relevant code and shortcut definitions here and here.

No recent pull requests address this, so your changes would be new contributions. Let me know if you want a more detailed code example!

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Chat with Dosu Join Discord Share on X

dosubot[bot] avatar Sep 18 '25 14:09 dosubot[bot]

The app already supports shortcuts for adjusting the playback speed, as the bot pointed out. They are based on YouTube shortcuts, (Shift + ,) to decrease and (Shift + .) to increase the speed.

United600 avatar Sep 18 '25 14:09 United600

Plz provide me a one click to increase speed ya decrease speed 10x not high nd to provide speed customize specific shortcuts key plz work on them

And provide better resulation

Thanks 👍 ♥️

On Thu, 18 Sep, 2025, 8:21 pm United600, @.***> wrote:

United600 left a comment (huynhsontung/Screenbox#672) https://github.com/huynhsontung/Screenbox/issues/672#issuecomment-3307930527

The app already supports shortcuts for adjusting the playback speed, as the bot pointed out. They are based on YouTube shortcuts, (Shift + ,) to decrease and (Shift + .) to increase the speed.

— Reply to this email directly, view it on GitHub https://github.com/huynhsontung/Screenbox/issues/672#issuecomment-3307930527, or unsubscribe https://github.com/notifications/unsubscribe-auth/BV7YV5M5NB7YVGGLRS2T5DL3TLBILAVCNFSM6AAAAACG34AXX2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTGMBXHEZTANJSG4 . You are receiving this because you were mentioned.Message ID: @.***>

Azam0313 avatar Sep 18 '25 15:09 Azam0313