Write HTML. Render video. Built for agents.
JavaScript aiai-agentsanimationclaude-codeffmpegframeworkgsaphtmlhtml-to-videomcpmotion-graphicspuppeteerrenderingtypescriptvideo-editor
chore: address remaining review nits
Miguel Ángel20c82980d5aa
diff --git a/CREDITS.md b/CREDITS.mdindex fe6177e0fd..129fe1ec74 100644--- a/CREDITS.md+++ b/CREDITS.md@@ -22,3 +22,9 @@ Remotion.Thanks also to the authors and maintainers of the open-source projectsHyperFrames builds on, including Puppeteer, FFmpeg, GSAP, Hono, and thebroader Node.js ecosystem.++## Third-party licenses++- **[mediabunny](https://github.com/nicoch/mediabunny)** — media toolkit used+ in the studio for fast metadata extraction from file headers. Licensed under+ the [Mozilla Public License 2.0 (MPL-2.0)](https://mozilla.org/MPL/2.0/).diff --git a/packages/core/src/runtime/mediaPreloader.test.ts b/packages/core/src/runtime/mediaPreloader.test.tsindex b36f7a93cd..0226c04c7c 100644--- a/packages/core/src/runtime/mediaPreloader.test.ts+++ b/packages/core/src/runtime/mediaPreloader.test.ts@@ -91,6 +91,22 @@ describe("createMediaPreloadManager", () => {expect(manager.isLazy()).toBe(true);});+ it("activates lazy mode for 4-5 clip compositions without spurious eviction", () => {+ const f = createTestFixture(4);+ expect(f.manager.isLazy()).toBe(true);+ for (const el of f.elements) el.preload = "metadata";+ f.manager.sync(0);+ const promoted = f.elements.filter((el) => el.preload === "auto").length;+ expect(promoted).toBeGreaterThanOrEqual(2);+ expect(promoted).toBeLessThanOrEqual(4);+ f.manager.sync(0);+ const evicted = f.elements.filter(+ (el) =>+ el.preload === "metadata" && (el.load as ReturnType<typeof vi.fn>).mock.calls.length > 1,+ );+ expect(evicted.length).toBe(0);+ });+it("sync promotes clips in the lookahead window", () => {const f = createTestFixture(8);for (const el of f.elements) el.preload = "metadata";