Skip to content

🎥 Make videos programmatically with React

update netlify URL

Jonny Burger375c4601ebdc
diff --git a/packages/it-tests/src/ssr/cancel-after-success.test.ts b/packages/it-tests/src/ssr/cancel-after-success.test.ts
index e15288c5b5..8fbeeb1cef 100644
--- a/packages/it-tests/src/ssr/cancel-after-success.test.ts
+++ b/packages/it-tests/src/ssr/cancel-after-success.test.ts
@@ -9,7 +9,7 @@ test("Cancelling after success should not throw error", async () => {
await renderMedia({
codec: "h264",
serveUrl:
- "https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/",
+ "https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.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.ts
index c1b8d76d8d..823376ae39 100644
--- a/packages/it-tests/src/ssr/cancel-renderframes.test.ts
+++ b/packages/it-tests/src/ssr/cancel-renderframes.test.ts
@@ -6,7 +6,7 @@ test("Should be able to cancel render", async () => {
const { cancel, cancelSignal } = makeCancelSignal();
const val = renderFrames({
serveUrl:
- "https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/",
+ "https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/",
composition: {
durationInFrames: 1000000,
fps: 30,
diff --git a/packages/it-tests/src/ssr/cancel-rendermedia.test.ts b/packages/it-tests/src/ssr/cancel-rendermedia.test.ts
index 93a1282794..b460d3e357 100644
--- a/packages/it-tests/src/ssr/cancel-rendermedia.test.ts
+++ b/packages/it-tests/src/ssr/cancel-rendermedia.test.ts
@@ -7,7 +7,7 @@ test("Should be able to cancel render", async () => {
const val = renderMedia({
codec: "h264",
serveUrl:
- "https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/",
+ "https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.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.ts
index d302c47a94..0d335bf6a4 100644
--- a/packages/it-tests/src/ssr/cancel-renderstill.test.ts
+++ b/packages/it-tests/src/ssr/cancel-renderstill.test.ts
@@ -6,7 +6,7 @@ test("Should be able to cancel render", async () => {
const { cancel, cancelSignal } = makeCancelSignal();
const val = renderStill({
serveUrl:
- "https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/",
+ "https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.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.ts
index a76b7a5e69..6aa271f7eb 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
@@ -6,7 +6,7 @@ test("Fatal error on frame 10 should yield correct error", async () => {
return renderMedia({
codec: "h264",
serveUrl:
- "https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/",
+ "https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/",
composition: {
durationInFrames: 1000000,
fps: 30,
diff --git a/packages/it-tests/src/ssr/render-frames.test.ts b/packages/it-tests/src/ssr/render-frames.test.ts
index 4eb8e4d1ea..cebe4c1859 100644
--- a/packages/it-tests/src/ssr/render-frames.test.ts
+++ b/packages/it-tests/src/ssr/render-frames.test.ts
@@ -13,7 +13,7 @@ import { RenderInternals } from "@remotion/renderer";
test("Legacy SSR way of rendering videos should still work", async () => {
const puppeteerInstance = await openBrowser("chrome");
const compositions = await getCompositions(
- "https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/",
+ "https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/",
{
puppeteerInstance,
}
@@ -40,7 +40,7 @@ test("Legacy SSR way of rendering videos should still work", async () => {
inputProps: {},
onFrameUpdate: () => undefined,
serveUrl:
- "https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/",
+ "https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/",
concurrency: null,
frameRange: [0, 10],
outputDir: framesDir,
diff --git a/packages/it-tests/src/ssr/render-media.test.ts b/packages/it-tests/src/ssr/render-media.test.ts
index ef5d514a14..7d097e517d 100644
--- a/packages/it-tests/src/ssr/render-media.test.ts
+++ b/packages/it-tests/src/ssr/render-media.test.ts
@@ -7,7 +7,7 @@ import { expect, test } from "vitest";
test("Render video with browser instance open", async () => {
const puppeteerInstance = await openBrowser("chrome");
const compositions = await getCompositions(
- "https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/",
+ "https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/",
{
puppeteerInstance,
}
@@ -27,7 +27,7 @@ test("Render video with browser instance open", async () => {
outputLocation: outPath,
codec: "h264",
serveUrl:
- "https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/",
+ "https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/",
composition: reactSvg,
frameRange: [0, 2],
puppeteerInstance,
@@ -38,7 +38,7 @@ test("Render video with browser instance open", async () => {
test("Render video with browser instance not open", async () => {
const compositions = await getCompositions(
- "https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/"
+ "https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/"
);
const reactSvg = compositions.find((c) => c.id === "react-svg");
@@ -55,7 +55,7 @@ test("Render video with browser instance not open", async () => {
outputLocation: outPath,
codec: "h264",
serveUrl:
- "https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/",
+ "https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/",
composition: reactSvg,
frameRange: [0, 2],
});
@@ -73,7 +73,7 @@ test("should fail on invalid CRF", async () => {
outputLocation: outPath,
codec: "h264",
serveUrl:
- "https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/",
+ "https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/",
// @ts-expect-error
crf: "wrong",
config: {
@@ -98,7 +98,7 @@ test("should fail on invalid CRF", async () => {
test("Render video to a buffer", async () => {
const compositions = await getCompositions(
- "https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/"
+ "https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/"
);
const reactSvg = compositions.find((c) => c.id === "react-svg");
@@ -110,7 +110,7 @@ test("Render video to a buffer", async () => {
const { buffer } = await renderMedia({
codec: "h264",
serveUrl:
- "https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/",
+ "https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/",
composition: reactSvg,
frameRange: [0, 2],
});
diff --git a/packages/it-tests/src/ssr/render-still.test.ts b/packages/it-tests/src/ssr/render-still.test.ts
index 733edc44cd..8804284264 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://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/",
+ "https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/",
{
puppeteerInstance,
}
@@ -35,7 +35,7 @@ test("Render video with browser instance open", async () => {
const { buffer } = await renderStill({
output: outPath,
serveUrl:
- "https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/",
+ "https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/",
composition: reactSvg,
puppeteerInstance,
});
@@ -45,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://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/"
+ "https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/"
);
const reactSvg = compositions.find((c) => c.id === "react-svg");
@@ -61,7 +61,7 @@ test("Render still with browser instance not open and legacy webpack config", as
await renderStill({
output: outPath,
serveUrl:
- "https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/",
+ "https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.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.ts
index ab4564e430..7e6d2d1ec1 100644
--- a/packages/lambda/src/test/integration/renders/gif.test.ts
+++ b/packages/lambda/src/test/integration/renders/gif.test.ts
@@ -35,7 +35,7 @@ test('Should make a distributed GIF', async () => {
{
type: LambdaRoutines.start,
serveUrl:
- 'https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/',
+ 'https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.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.ts
index 83d206cd86..54257bcd0c 100644
--- a/packages/lambda/src/test/integration/renders/other-bucket.test.ts
+++ b/packages/lambda/src/test/integration/renders/other-bucket.test.ts
@@ -34,7 +34,7 @@ test('Should be able to render to another bucket', async () => {
{
type: LambdaRoutines.start,
serveUrl:
- 'https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/',
+ 'https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.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.ts
index a4ff4cab2f..b98b03af56 100644
--- a/packages/lambda/src/test/integration/renders/silent-audio.test.ts
+++ b/packages/lambda/src/test/integration/renders/silent-audio.test.ts
@@ -34,7 +34,7 @@ test('Should add silent audio if there is no audio', async () => {
{
type: LambdaRoutines.start,
serveUrl:
- 'https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/',
+ 'https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/',
chromiumOptions: {},
codec: 'h264',
composition: 'react-svg',
diff --git a/packages/lambda/src/test/integration/renders/transparent-webm.test.ts b/packages/lambda/src/test/integration/renders/transparent-webm.test.ts
index 4dd191a0ec..7788895ac6 100644
--- a/packages/lambda/src/test/integration/renders/transparent-webm.test.ts
+++ b/packages/lambda/src/test/integration/renders/transparent-webm.test.ts
@@ -37,7 +37,7 @@ test('Should make a transparent video', async () => {
{
type: LambdaRoutines.start,
serveUrl:
- 'https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/',
+ 'https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/',
chromiumOptions: {},
codec: 'vp8',
composition: 'ten-frame-tester',
diff --git a/packages/lambda/src/test/integration/webhooks.test.ts b/packages/lambda/src/test/integration/webhooks.test.ts
index 9375f7e981..c4d0c5d300 100644
--- a/packages/lambda/src/test/integration/webhooks.test.ts
+++ b/packages/lambda/src/test/integration/webhooks.test.ts
@@ -70,7 +70,7 @@ describe('Webhooks', () => {
{
type: LambdaRoutines.start,
serveUrl:
- 'https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/',
+ 'https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/',
chromiumOptions: {},
codec: 'h264',
composition: 'react-svg',
@@ -157,7 +157,7 @@ describe('Webhooks', () => {
{
type: LambdaRoutines.launch,
serveUrl:
- 'https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/',
+ 'https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/',
chromiumOptions: {},
codec: 'h264',
composition: 'react-svg',
diff --git a/packages/renderer/src/test/render-still.test.ts b/packages/renderer/src/test/render-still.test.ts
index 7fb65cfa60..840044bfdc 100644
--- a/packages/renderer/src/test/render-still.test.ts
+++ b/packages/renderer/src/test/render-still.test.ts
@@ -17,7 +17,7 @@ test('Need to pass valid metadata', async () => {
frame: 0,
output: '/file/output.png',
serveUrl:
- 'https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/',
+ 'https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/',
downloadMap,
verbose: false,
indent: false,
@@ -39,7 +39,7 @@ test('Returns buffer in promise result', async () => {
},
frame: 0,
serveUrl:
- 'https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/',
+ 'https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/',
downloadMap,
verbose: false,
indent: false,
@@ -63,7 +63,7 @@ test('Need to pass valid metadata', async () => {
frame: 200,
output: '/file/output.png',
serveUrl:
- 'https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/',
+ 'https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/',
downloadMap,
verbose: false,
indent: false,
@@ -90,7 +90,7 @@ test('Catches invalid image format', () => {
frame: 200,
output: '/file/output.png',
serveUrl:
- 'https://6477646d36b0613569ac2e2f--melodious-sopapillas-d35e3e.netlify.app/',
+ 'https://647dacd8a098e04aa1bfcb19--radiant-mermaid-29c23c.netlify.app/',
})
).rejects.toThrow(
/Image format should be one of: "png", "jpeg", "pdf", "webp"/