🎥 Make videos programmatically with React
Fix typo of Parametrized to Parametrized
Alex Fernandez02199e580ee6
diff --git a/packages/cli/src/editor/components/RenderModal/SchemaEditor/SchemaErrorMessages.tsx b/packages/cli/src/editor/components/RenderModal/SchemaEditor/SchemaErrorMessages.tsxindex 7512f5c99c..259c8ffd1a 100644--- a/packages/cli/src/editor/components/RenderModal/SchemaEditor/SchemaErrorMessages.tsx+++ b/packages/cli/src/editor/components/RenderModal/SchemaEditor/SchemaErrorMessages.tsx@@ -35,7 +35,7 @@ const errorContainer: React.CSSProperties = {const openDocs = () => {window.open(- 'https://www.remotion.dev/docs/parametrized-rendering#define-a-schema-'+ 'https://www.remotion.dev/docs/parameterized-rendering#define-a-schema-');};diff --git a/packages/docs/blog/2023-07-03-remotion-4-0.md b/packages/docs/blog/2023-07-03-remotion-4-0.mdindex aad952a043..2aefae4045 100644--- a/packages/docs/blog/2023-07-03-remotion-4-0.md+++ b/packages/docs/blog/2023-07-03-remotion-4-0.md@@ -58,7 +58,7 @@ A graphical interface allows you to discover and tweak all options of a render.Every render triggered through the UI is also trackable in the CLI as usual and synchronizes to other instances of the Remotion Studio.Failed renders show the stack trace and allow for retries with the same configuration.-Edited props in the Remotion Studio can be used to render a video using the Render Button as well - which means you can now render a parametrized video by filling out a form and not having to touch any code.+Edited props in the Remotion Studio can be used to render a video using the Render Button as well - which means you can now render a parameterized video by filling out a form and not having to touch any code.**Learn more** on July 5th: [Render Button](/4)@@ -98,7 +98,7 @@ We are introducing a new [`calculateMetadata()`](/docs/composition#composition)<Step>2</Step> Perform data fetching before the video renders <br/><Step>3</Step> Precalculate props before mounting the React component <br/><br/>-To demonstrate the possibilities of the new API, we made a new section in the docs entirely dedicated to data-driven videos. See: [Parametrized rendering](/docs/parametrized-rendering).+To demonstrate the possibilities of the new API, we made a new section in the docs entirely dedicated to data-driven videos. See: [Parameterized rendering](/docs/parameterized-rendering).## Upgraded templatesdiff --git a/packages/docs/docs/cli/render.md b/packages/docs/docs/cli/render.mdindex cbdb881176..9c2027c935 100644--- a/packages/docs/docs/cli/render.md+++ b/packages/docs/docs/cli/render.md@@ -28,7 +28,7 @@ Besides choosing a video and output location with the command line arguments, th### `--props`-[React Props to pass to the selected composition of your video.](/docs/parametrized-rendering#passing-input-props-in-the-cli) Must be a serialized JSON string (`--props='{"hello": "world"}'`) or a path to a JSON file (`./path/to/props.json`). Can also be read using [`getInputProps()`](/docs/get-input-props).+[React Props to pass to the selected composition of your video.](/docs/parameterized-rendering#passing-input-props-in-the-cli) Must be a serialized JSON string (`--props='{"hello": "world"}'`) or a path to a JSON file (`./path/to/props.json`). Can also be read using [`getInputProps()`](/docs/get-input-props).:::infoInline JSON string isn't supported on Windows because it removes the `"` character, use a temporary file instead.diff --git a/packages/docs/docs/cli/still.md b/packages/docs/docs/cli/still.mdindex cb7c58b33d..3c2cfba6db 100644--- a/packages/docs/docs/cli/still.md+++ b/packages/docs/docs/cli/still.md@@ -22,7 +22,7 @@ If `composition-id` is also not passed, Remotion will let you select a compositi### `--props`-[React Props to pass to the selected composition of your video.](/docs/parametrized-rendering#passing-input-props-in-the-cli) Must be a serialized JSON string (`--props='{"hello": "world"}'`) or a path to a JSON file (`./path/to/props.json`). Can also be read using [`getInputProps()`](/docs/get-input-props).+[React Props to pass to the selected composition of your video.](/docs/parameterized-rendering#passing-input-props-in-the-cli) Must be a serialized JSON string (`--props='{"hello": "world"}'`) or a path to a JSON file (`./path/to/props.json`). Can also be read using [`getInputProps()`](/docs/get-input-props).:::infoInline JSON string isn't supported on Windows because it removes the `"` character, use a temporary file instead.diff --git a/packages/docs/docs/cli/studio.md b/packages/docs/docs/cli/studio.mdindex 2876c47ffb..d2cf090404 100644--- a/packages/docs/docs/cli/studio.md+++ b/packages/docs/docs/cli/studio.md@@ -23,7 +23,7 @@ If `entry-file` is not passed, Remotion will try to detect the entry file with t### `--props`-[React Props to pass to the selected composition of your video.](/docs/parametrized-rendering#passing-input-props-in-the-cli) Must be a serialized JSON string (`--props='{"hello": "world"}'`) or a path to a JSON file (`./path/to/props.json`). Can also be read using [`getInputProps()`](/docs/get-input-props).+[React Props to pass to the selected composition of your video.](/docs/parameterized-rendering#passing-input-props-in-the-cli) Must be a serialized JSON string (`--props='{"hello": "world"}'`) or a path to a JSON file (`./path/to/props.json`). Can also be read using [`getInputProps()`](/docs/get-input-props).:::infoInline JSON string isn't supported on Windows because it removes the `"` character, use a temporary file instead.diff --git a/packages/docs/docs/how-props-flow.md b/packages/docs/docs/how-props-flow.mdindex 6aea4ddd63..5b543f7580 100644--- a/packages/docs/docs/how-props-flow.md+++ b/packages/docs/docs/how-props-flow.md@@ -2,7 +2,7 @@image: /generated/articles-docs-how-props-flow.pngid: props-resolutiontitle: How props get resolved-crumb: "Parametrized videos"+crumb: "Parameterized videos"---import {HowPropsFlow} from '../components/HowPropsFlow';diff --git a/packages/docs/docs/lambda/cli/render.md b/packages/docs/docs/lambda/cli/render.mdindex 5a3d58c7bc..8ab68c7d59 100644--- a/packages/docs/docs/lambda/cli/render.md+++ b/packages/docs/docs/lambda/cli/render.md@@ -73,7 +73,7 @@ The [AWS region](/docs/lambda/region-selection) to select. Both project and func### `--props`-[React Props to pass to the root component of your video.](/docs/parametrized-rendering#passing-input-props-in-the-cli) Must be a serialized JSON string (`--props='{"hello": "world"}'`) or a path to a JSON file (`./path/to/props.json`).+[React Props to pass to the root component of your video.](/docs/parameterized-rendering#passing-input-props-in-the-cli) Must be a serialized JSON string (`--props='{"hello": "world"}'`) or a path to a JSON file (`./path/to/props.json`).### `--log`diff --git a/packages/docs/docs/lambda/cli/still.md b/packages/docs/docs/lambda/cli/still.mdindex 2ff8dd6a52..6965379b3d 100644--- a/packages/docs/docs/lambda/cli/still.md+++ b/packages/docs/docs/lambda/cli/still.md@@ -57,7 +57,7 @@ The [AWS region](/docs/lambda/region-selection) to select. Both project and func### `--props`-[React Props to pass to the root component of your video.](/docs/parametrized-rendering#passing-input-props-in-the-cli) Must be a serialized JSON string (`--props='{"hello": "world"}'`) or a path to a JSON file (`./path/to/props.json`).+[React Props to pass to the root component of your video.](/docs/parameterized-rendering#passing-input-props-in-the-cli) Must be a serialized JSON string (`--props='{"hello": "world"}'`) or a path to a JSON file (`./path/to/props.json`).### `--scale`diff --git a/packages/docs/docs/lambda/cost.md b/packages/docs/docs/lambda/cost.mdindex 3622d0ad87..79ab410124 100644--- a/packages/docs/docs/lambda/cost.md+++ b/packages/docs/docs/lambda/cost.md@@ -18,7 +18,7 @@ Not all AWS regions have the same cost. See the [AWS Lambda](https://aws.amazon.## Pre-compute data-Consider whether your computation will run on every invoked Lambda function. If possible, pre-compute data once and pass it as [input props](/docs/parametrized-rendering#input-props) to the render.+Consider whether your computation will run on every invoked Lambda function. If possible, pre-compute data once and pass it as [input props](/docs/parameterized-rendering#input-props) to the render.## Less memorydiff --git a/packages/docs/docs/parametrized-rendering.md b/packages/docs/docs/parametrized-rendering.mdindex 6064eb766b..40b7d5006e 100644--- a/packages/docs/docs/parametrized-rendering.md+++ b/packages/docs/docs/parametrized-rendering.md@@ -1,6 +1,6 @@----id: parametrized-rendering-title: Parametrized videos+id: parameterized-rendering+title: Parameterized videossidebar_label: Passing propscrumb: "How To"---diff --git a/packages/docs/docs/renderer/render-frames.md b/packages/docs/docs/renderer/render-frames.mdindex aa037c2eb8..c87c667cb3 100644--- a/packages/docs/docs/renderer/render-frames.md+++ b/packages/docs/docs/renderer/render-frames.md@@ -69,7 +69,7 @@ A `string` specifying the directory (absolute path) to which frames should be sa### `inputProps`-[Custom props which will be passed to the component.](/docs/parametrized-rendering) Useful for rendering videos with dynamic content. Can be an object of any shape.+[Custom props which will be passed to the component.](/docs/parameterized-rendering) Useful for rendering videos with dynamic content. Can be an object of any shape.### `serveUrl`diff --git a/packages/docs/docs/renderer/render-media.md b/packages/docs/docs/renderer/render-media.mdindex e4ee70d421..b08d9428a9 100644--- a/packages/docs/docs/renderer/render-media.md+++ b/packages/docs/docs/renderer/render-media.md@@ -81,7 +81,7 @@ Example values: `512K` for 512 kbps, `1M` for 1 Mbps._object - optional_-An object of arbitrary shape that will be passed as [props to your composition](/docs/parametrized-rendering) and that can be retrieved using [`getInputProps()`](/docs/get-input-props).+An object of arbitrary shape that will be passed as [props to your composition](/docs/parameterized-rendering) and that can be retrieved using [`getInputProps()`](/docs/get-input-props).### `concurrency?`diff --git a/packages/docs/docs/renderer/render-still.md b/packages/docs/docs/renderer/render-still.mdindex 4680c8ce5a..8bdac87602 100644--- a/packages/docs/docs/renderer/render-still.md+++ b/packages/docs/docs/renderer/render-still.md@@ -73,7 +73,7 @@ An absolute path to where the frame should be rendered to._optional_-[Custom props which will be passed to the component.](/docs/parametrized-rendering) Useful for rendering videos with dynamic content. Can be an object of any shape.+[Custom props which will be passed to the component.](/docs/parameterized-rendering) Useful for rendering videos with dynamic content. Can be an object of any shape.### `frame?`diff --git a/packages/docs/docs/schemas.md b/packages/docs/docs/schemas.mdindex 197fd3b05c..d1eba85154 100644--- a/packages/docs/docs/schemas.md+++ b/packages/docs/docs/schemas.md@@ -6,7 +6,7 @@ sidebar_label: Defining a schemacrumb: "How To"----As an alternative to [using TypeScript types](/docs/parametrized-rendering) to define the shape of the props your component accepts, you may use [Zod](https://zod.dev/) to define a schema for your props. You may do so if you want to edit the props visually in the Remotion Studio.+As an alternative to [using TypeScript types](/docs/parameterized-rendering) to define the shape of the props your component accepts, you may use [Zod](https://zod.dev/) to define a schema for your props. You may do so if you want to edit the props visually in the Remotion Studio.## Prerequisitesdiff --git a/packages/docs/docs/ssr-legacy.md b/packages/docs/docs/ssr-legacy.mdindex f3a2b463e0..6a729d895a 100644--- a/packages/docs/docs/ssr-legacy.md+++ b/packages/docs/docs/ssr-legacy.md@@ -153,7 +153,7 @@ under `.github/workflows/render-video.yml`. All you have to do is to adjust theNote that running the workflow may incur costs. However, the workflow will only run if you actively trigger it.-[See also: Passing props in GitHub Actions](/docs/parametrized-rendering#passing-props-in-github-actions)+[See also: Passing props in GitHub Actions](/docs/parameterized-rendering#passing-props-in-github-actions)## Rendering a video using serverlessdiff --git a/packages/docs/docs/ssr.md b/packages/docs/docs/ssr.mdindex f890e13b96..bad350c9be 100644--- a/packages/docs/docs/ssr.md+++ b/packages/docs/docs/ssr.md@@ -88,7 +88,7 @@ The [Hello World starter template](https://github.com/remotion-dev/template-hellNote that running the workflow may incur costs. However, the workflow will only run if you actively trigger it.-See also: [Passing input props in GitHub Actions](/docs/parametrized-rendering#passing-input-props-in-github-actions)+See also: [Passing input props in GitHub Actions](/docs/parameterized-rendering#passing-input-props-in-github-actions)## Render a video using Dockerdiff --git a/packages/docs/docs/troubleshooting/defaultprops-too-big.md b/packages/docs/docs/troubleshooting/defaultprops-too-big.mdindex b5aa058804..9d94207dc1 100644--- a/packages/docs/docs/troubleshooting/defaultprops-too-big.md+++ b/packages/docs/docs/troubleshooting/defaultprops-too-big.md@@ -137,5 +137,5 @@ const RemotionRoot = () => {## See also-- [Parametrized rendering](/docs/parametrized-rendering)+- [Parameterized rendering](/docs/parameterized-rendering)- [`<Composition>`](/docs/composition)diff --git a/packages/docs/sidebars.js b/packages/docs/sidebars.jsindex 5db87b7f5e..02d21a2d8d 100644--- a/packages/docs/sidebars.js+++ b/packages/docs/sidebars.js@@ -380,10 +380,10 @@ module.exports = {},{type: "category",- label: "Parametrized videos",+ label: "Parameterized videos",link: {type: "doc",- id: "parametrized-rendering",+ id: "parameterized-rendering",},items: ["passing-props",diff --git a/packages/docs/src/data/articles.ts b/packages/docs/src/data/articles.tsindex b8407ae1a6..fd3ce58c9c 100644--- a/packages/docs/src/data/articles.ts+++ b/packages/docs/src/data/articles.ts@@ -522,7 +522,7 @@ export const articles = [title: "How props get resolved",relativePath: "docs/how-props-flow.md",compId: "articles-docs-how-props-flow",- crumb: "Parametrized videos",+ crumb: "Parameterized videos",},{id: "iframe",@@ -1346,10 +1346,10 @@ export const articles = [crumb: "How To",},{- id: "parametrized-rendering",- title: "Parametrized videos",- relativePath: "docs/parametrized-rendering.md",- compId: "articles-docs-parametrized-rendering",+ id: "parameterized-rendering",+ title: "Parameterized videos",+ relativePath: "docs/parameterized-rendering.md",+ compId: "articles-docs-parameterized-rendering",crumb: "How To",},{