Skip to content

[2/2] Preview animated video speed - #209

Merged
dazzatronus merged 1 commit into
mainfrom
derk/animated-video-speed
Sep 29, 2026
Merged

dazzatronus merged 1 commit into
mainfrom
derk/animated-video-speed

Conversation

@dazzatronus

@dazzatronus dazzatronus commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Without this, authors can't see a speed ramp before they render. The preview now plays a video's animated speed the way renders do. The source starts at trim and moves by the integrated speed curve (trapezoid rule, 0.01 s steps). The first and last speeds hold, and gaps blend linearly.

  • Out-of-range rates: when the instantaneous speed is outside the browser's playbackRate range (holds, reverse, above 16×), the player pauses and seeks each tick instead. This also stops constant speeds below 0.0625 from throwing.
  • Speed control: it hides for animated speed, so it can't flatten the curve.
  • Non-number speeds: a non-number speed, including an empty array, previews at 1×.

Verify: npm test. There are new cases in player-sync, media-player-fallback and media-toolbar.

# PR Adds Why separate
1 #208 Bump @shotstack/schemas to 1.20.1 Schema pin Dependency bump. Merge together with #209
2 #209 Preview animated video speed (this PR) Preview support The behaviour change

Code:

@dazzatronus
dazzatronus added this pull request to stack #210 September 29, 2026 01:23
@dazzatronus
dazzatronus marked this pull request as ready for review September 29, 2026 01:56
Base automatically changed from derk/bump-schemas-for-animated-speed to main September 29, 2026 02:09
@dazzatronus
dazzatronus force-pushed the derk/animated-video-speed branch from 238e513 to 1e68487 Compare September 29, 2026 02:09
@dazzatronus
dazzatronus merged commit e6b457a into main Sep 29, 2026
1 check passed
github-actions Bot pushed a commit that referenced this pull request Sep 29, 2026
# [2.23.0](v2.22.8...v2.23.0) (2026-09-29)

### Features

* preview animated video speed ([#209](#209)) ([e6b457a](e6b457a))
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.23.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant