Skip to content

[WIP] Svedit 0.13#141

Open
michael wants to merge 3 commits into
mainfrom
svedit-0-13
Open

[WIP] Svedit 0.13#141
michael wants to merge 3 commits into
mainfrom
svedit-0-13

Conversation

@michael

@michael michael commented Jul 18, 2026

Copy link
Copy Markdown
Owner

No description provided.

michael added 2 commits July 17, 2026 18:15
Firefox sometimes never fires loadedmetadata on a detached <video>
element with a blob URL, so get_video_dimensions() never resolved and
the upload stalled. Keep the event handler but also poll readyState
every 100ms and resolve once it reaches HAVE_METADATA, then clean up the
interval, object URL, and video source on whichever path wins.

See: https://stackoverflow.com/questions/33116067
@vercel

vercel Bot commented Jul 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
editable-website Error Error Jul 19, 2026 5:10pm

* Client-side video processing

* Detect already web-optimized videos and pass through without processing

* Add docs for video processing

* Transcode videos in the browser on upload

Dropped videos are converted to web-optimized MP4 (H.264 + AAC) in a
background worker using mediabunny. Bitrate is derived from a target
file size (MAX_VIDEO_FILESIZE) and resolution steps down a ladder for
long videos to keep quality acceptable. Already-optimized files are
detected and passed through untouched (or losslessly remuxed from MOV),
and *_optimized.mp4 filenames bypass processing entirely. Documented in
the manual under "Media uploads".
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