A free (MIT), fast, fully typed video editor for React and Next.js — simple enough for anyone, deep enough for pros. It runs entirely in the browser (WebCodecs + WebGPU / WebGL2), on phones and desktops, and never uploads the user's media.
import { VideoEditor } from '@video-ultra/react';
import '@video-ultra/react/styles.css';
export default function Page() {
return (
<div style={{ height: '100dvh' }}>
<VideoEditor onSave={(project) => saveSomewhere(project)} />
</div>
);
}
Docs: the docs site (/docs in the demo app) — getting started, guides for Next.js and Vite,
every option, events, theming, customising the editor, captions and AI, and the generated API
reference.
@video-ultra/captions), styles with word
highlight, .srt / .vtt import and export.SharedArrayBuffer / COOP-COEP needed.| Package | What it is |
|---|---|
@video-ultra/react |
<VideoEditor />, its controller and hooks |
@video-ultra/core |
The engine and project model — framework-free, SSR-safe |
@video-ultra/captions |
Optional: on-device auto captions (speech to text in a worker) |
@video-ultra/ai |
Optional: background removal on the device; AI editing and text to speech through your own server |
npm install @video-ultra/react
# optional
npm install @video-ultra/captions @video-ultra/ai
Current Chrome / Edge, Safari (iOS and macOS) and Firefox — anywhere WebCodecs is available;
tested on Chrome 155, Safari 26 (iPhone and Mac) and Firefox 157. A browser that can't run it gets
a clear message (and onUnsupported). WebGPU is used when present, WebGL2 otherwise (same
picture on both). The editor needs a secure page (https or localhost) for WebCodecs, storage and
sound.
A project is plain JSON (validated and versioned; old files always open). The editor autosaves to
the browser (OPFS) for crash recovery; onSave hands you the project to store wherever you like.
Media stays on the device unless you store it yourself (resolveMedia).
pnpm install
pnpm media # the test media library (needs ffmpeg)
pnpm build
pnpm --filter playground dev # http://localhost:3200/editor and /docs
pnpm verify # shaders, lint, format, build, types, unit tests
node scripts/pack-check.ts # the packages as npm will see them
Browser checks live in scripts/*-check.ts (Playwright; the playground must be running).
MIT © Ultranmus