Turns the clip editor into a three-point editing surface: mark in/out on the source, send the range to the clip, and scrub the result — with the timeline honest about which parts of the edit the last render can already show. - Chrome: the source track ignored drags entirely. Without preventDefault the gesture became a text selection and then a native drag, which swallows every later pointer event and shows the not-allowed cursor. - The source track's block is draggable (body moves, edges trim) and every gesture on it scrubs the source monitor, so a cut is chosen against the picture rather than against numbers. - Three-point editing: mark in / mark out (i / o) off the monitor's playhead, then "replace #N" (.) or "insert after #N" (,). Dragging empty track marks a range instead of silently appending a segment. - /edl ships the whole source transcript instead of a ±45s window: a cut can only be extended into words the editor was sent. The panel shows all of it, follows playback, and seeks the monitor on click. - Layout: source monitor + its track + transcript | clip preview + its track | controls. Each track sits under the video it drives. - The clip timeline works while edited. A cut that only removes material keeps nothing but frames the last render already produced, so it stays scrubbable and playable; only material the render never saw is marked red, and the playhead — now a solid handle — stops at its edge. Transcript words render in memoised 50-word slices: repainting a couple of thousand of them costs ~66ms, and timeupdate fires four times a second. |
||
|---|---|---|
| .. | ||
| public | ||
| seo | ||
| src | ||
| .gitignore | ||
| Dockerfile | ||
| eslint.config.js | ||
| index.html | ||
| nginx.conf | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| tailwind.config.js | ||
| vite-plugin-seo.js | ||
| vite.config.js | ||
React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel (or oxc when used in rolldown-vite) for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the ESLint configuration
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.