🎥 Make videos programmatically with React
new netlify URL
Jonny Burgeraf7b0908f1f0
diff --git a/packages/it-tests/src/ssr/cancel-after-success.test.ts b/packages/it-tests/src/ssr/cancel-after-success.test.tsindex 34cc537291..e15288c5b5 100644--- a/packages/it-tests/src/ssr/cancel-after-success.test.ts+++ b/packages/it-tests/src/ssr/cancel-after-success.test.ts@@ -8,7 +8,8 @@ test("Cancelling after success should not throw error", async () => {const outputLocation = "out/render.mp4";await renderMedia({codec: "h264",- serveUrl: "https://thunderous-heliotrope-48a698.netlify.app/",+ serveUrl:+ "https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/",composition: {durationInFrames: 4,fps: 30,diff --git a/packages/it-tests/src/ssr/cancel-renderframes.test.ts b/packages/it-tests/src/ssr/cancel-renderframes.test.tsindex 7c0781609f..c1b8d76d8d 100644--- a/packages/it-tests/src/ssr/cancel-renderframes.test.ts+++ b/packages/it-tests/src/ssr/cancel-renderframes.test.ts@@ -5,7 +5,8 @@ test("Should be able to cancel render", async () => {try {const { cancel, cancelSignal } = makeCancelSignal();const val = renderFrames({- serveUrl: "https://thunderous-heliotrope-48a698.netlify.app/",+ serveUrl:+ "https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/",composition: {durationInFrames: 1000000,fps: 30,diff --git a/packages/it-tests/src/ssr/cancel-renderstill.test.ts b/packages/it-tests/src/ssr/cancel-renderstill.test.tsindex a26416a007..d302c47a94 100644--- a/packages/it-tests/src/ssr/cancel-renderstill.test.ts+++ b/packages/it-tests/src/ssr/cancel-renderstill.test.ts@@ -5,7 +5,8 @@ test("Should be able to cancel render", async () => {try {const { cancel, cancelSignal } = makeCancelSignal();const val = renderStill({- serveUrl: "https://thunderous-heliotrope-48a698.netlify.app/",+ serveUrl:+ "https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/",composition: {durationInFrames: 1000000,fps: 30,diff --git a/packages/it-tests/src/ssr/fatal-error-correct-error.test.ts b/packages/it-tests/src/ssr/fatal-error-correct-error.test.tsindex 62aaa07808..a76b7a5e69 100644--- a/packages/it-tests/src/ssr/fatal-error-correct-error.test.ts+++ b/packages/it-tests/src/ssr/fatal-error-correct-error.test.ts@@ -5,7 +5,8 @@ test("Fatal error on frame 10 should yield correct error", async () => {await expect(() => {return renderMedia({codec: "h264",- serveUrl: "https://thunderous-heliotrope-48a698.netlify.app/",+ serveUrl:+ "https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/",composition: {durationInFrames: 1000000,fps: 30,diff --git a/packages/it-tests/src/ssr/render-still.test.ts b/packages/it-tests/src/ssr/render-still.test.tsindex da2f1b94bd..733edc44cd 100644--- a/packages/it-tests/src/ssr/render-still.test.ts+++ b/packages/it-tests/src/ssr/render-still.test.ts@@ -16,7 +16,7 @@ afterEach(async () => {test("Render video with browser instance open", async () => {const puppeteerInstance = await openBrowser("chrome");const compositions = await getCompositions(- "https://thunderous-heliotrope-48a698.netlify.app/",+ "https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/",{puppeteerInstance,}@@ -34,7 +34,8 @@ test("Render video with browser instance open", async () => {const { buffer } = await renderStill({output: outPath,- serveUrl: "https://thunderous-heliotrope-48a698.netlify.app/",+ serveUrl:+ "https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/",composition: reactSvg,puppeteerInstance,});@@ -44,7 +45,7 @@ test("Render video with browser instance open", async () => {test("Render still with browser instance not open and legacy webpack config", async () => {const compositions = await getCompositions(- "https://thunderous-heliotrope-48a698.netlify.app/"+ "https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/");const reactSvg = compositions.find((c) => c.id === "react-svg");@@ -59,7 +60,8 @@ test("Render still with browser instance not open and legacy webpack config", asawait renderStill({output: outPath,- serveUrl: "https://thunderous-heliotrope-48a698.netlify.app/",+ serveUrl:+ "https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/",composition: reactSvg,});expect(existsSync(outPath)).toBe(true);diff --git a/packages/lambda/src/test/integration/renders/gif.test.ts b/packages/lambda/src/test/integration/renders/gif.test.tsindex 01280e40a0..ab4564e430 100644--- a/packages/lambda/src/test/integration/renders/gif.test.ts+++ b/packages/lambda/src/test/integration/renders/gif.test.ts@@ -34,7 +34,8 @@ test('Should make a distributed GIF', async () => {const res = (await handler({type: LambdaRoutines.start,- serveUrl: 'https://thunderous-heliotrope-48a698.netlify.app/',+ serveUrl:+ 'https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/',chromiumOptions: {},codec: 'gif',composition: 'framer',diff --git a/packages/lambda/src/test/integration/renders/other-bucket.test.ts b/packages/lambda/src/test/integration/renders/other-bucket.test.tsindex 1707f0b843..83d206cd86 100644--- a/packages/lambda/src/test/integration/renders/other-bucket.test.ts+++ b/packages/lambda/src/test/integration/renders/other-bucket.test.ts@@ -33,7 +33,8 @@ test('Should be able to render to another bucket', async () => {const res = (await handler({type: LambdaRoutines.start,- serveUrl: 'https://thunderous-heliotrope-48a698.netlify.app/',+ serveUrl:+ 'https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/',chromiumOptions: {},codec: 'h264',composition: 'react-svg',diff --git a/packages/lambda/src/test/integration/renders/silent-audio.test.ts b/packages/lambda/src/test/integration/renders/silent-audio.test.tsindex d9190e8134..a4ff4cab2f 100644--- a/packages/lambda/src/test/integration/renders/silent-audio.test.ts+++ b/packages/lambda/src/test/integration/renders/silent-audio.test.ts@@ -33,7 +33,8 @@ test('Should add silent audio if there is no audio', async () => {const res = (await handler({type: LambdaRoutines.start,- serveUrl: 'https://thunderous-heliotrope-48a698.netlify.app/',+ serveUrl:+ 'https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/',chromiumOptions: {},codec: 'h264',composition: 'react-svg',diff --git a/packages/lambda/src/test/integration/webhooks.test.ts b/packages/lambda/src/test/integration/webhooks.test.tsindex 6b2a5cfb70..9375f7e981 100644--- a/packages/lambda/src/test/integration/webhooks.test.ts+++ b/packages/lambda/src/test/integration/webhooks.test.ts@@ -69,7 +69,8 @@ describe('Webhooks', () => {const res = await handler({type: LambdaRoutines.start,- serveUrl: 'https://thunderous-heliotrope-48a698.netlify.app/',+ serveUrl:+ 'https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/',chromiumOptions: {},codec: 'h264',composition: 'react-svg',@@ -155,7 +156,8 @@ describe('Webhooks', () => {await handler({type: LambdaRoutines.launch,- serveUrl: 'https://thunderous-heliotrope-48a698.netlify.app/',+ serveUrl:+ 'https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/',chromiumOptions: {},codec: 'h264',composition: 'react-svg',