Skip to content

add custom integer playback speed to live view video player#245

Closed
ehfeng wants to merge 1 commit into
mainfrom
hypeship/custom-playback-speed
Closed

add custom integer playback speed to live view video player#245
ehfeng wants to merge 1 commit into
mainfrom
hypeship/custom-playback-speed

Conversation

@ehfeng
Copy link
Copy Markdown
Contributor

@ehfeng ehfeng commented May 19, 2026

Summary

Adds a numeric input on the live-view video controls bar so users can set any positive integer playback speed (1x, 2x, 3x, 5x, 10x, …), removing the implicit 2x cap that came from the native browser controls.

  • new `playbackRate` state + `setPlaybackRate` mutation in `store/video.ts`
  • `video.vue` watches the store value and applies it to the underlying `
  • `controls.vue` renders a small number input (min=1, step=1) next to the play/pause button

Test plan

  • Built locally with `npx vue-cli-service build` — clean
  • Open a live view, type 3 (or higher) in the speed input and confirm the stream speeds up
  • Confirm non-integer / sub-1 input is clamped to a valid integer
  • Confirm typing in the input does not send keystrokes to the remote (`@keydown.stop`)

Adds a numeric input control to the video controls bar that lets users
set the player's playbackRate to any integer >= 1, removing the prior
implicit 2x cap from the native browser controls.
@ehfeng ehfeng closed this May 19, 2026
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.

1 participant