Skip to content

feat: export html5 clips in the browser - #283

Merged
dazzatronus merged 1 commit into
mainfrom
fix/html5-browser-export
Oct 31, 2026
Merged

dazzatronus merged 1 commit into
mainfrom
fix/html5-browser-export

Conversation

@dazzatronus

Copy link
Copy Markdown
Contributor

The export check sends every html5 clip to a cloud render. It was added in #225, when export read an html5 frame before it had finished drawing. #229 made export wait for each frame, and #277 to #281 fixed what drew differently in Safari and Firefox. The rule now only costs people a cloud render for edits the browser exports faithfully.

On a 15 s html5 edit with audio and a large embedded photo, compared with a cloud render (SSIM):

Browser Mean Frames below 0.95
Chrome 0.982 1 of 374
Firefox, muted (it can't encode AAC) 0.973 1
Safari 0.967 2

Export now draws each clip with prepareStaticRender({ strict: true }). An html5 frame that can't be drawn, or a clip whose page didn't load, fails the export instead of leaving the clip out, so the host can fall back to a cloud render. Snapshots still leave just that clip blank.

html assets other than the plain-text form still go to the cloud.

Verify: npm run verify:ci. Then export an edit with an html5 clip in Chrome: it downloads an MP4 instead of reporting an html issue.

Risk: a host that counted on html5 always failing the check now gets a browser export for those edits.

@dazzatronus
dazzatronus merged commit 8ab73fc into main Oct 31, 2026
1 check passed
@dazzatronus
dazzatronus deleted the fix/html5-browser-export branch October 31, 2026 07:13
github-actions Bot pushed a commit that referenced this pull request Oct 31, 2026
# [2.31.0](v2.30.1...v2.31.0) (2026-10-31)

### Features

* export html5 clips in the browser ([#283](#283)) ([8ab73fc](8ab73fc))
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.31.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