π₯ Make videos programmatically with React
update docs
Jonny Burger938a434faae2
diff --git a/packages/docs/docs/web-renderer/render-media-on-web.mdx b/packages/docs/docs/web-renderer/render-media-on-web.mdxindex 25b22c2eb8..f4ea4686d7 100644--- a/packages/docs/docs/web-renderer/render-media-on-web.mdx+++ b/packages/docs/docs/web-renderer/render-media-on-web.mdx@@ -5,6 +5,8 @@ title: renderMediaOnWeb()crumb: '@remotion/web-renderer'---+# renderMediaOnWeb()<AvailableFrom v="4.0.397" />+:::warningVery experimental feature - expect bugs and breaking changes at any time.[Track progress on GitHub](https://github.com/remotion-dev/remotion/issues/5913) and discuss in the [`#web-renderer`](https://remotion.dev/discord) channel on Discord.@@ -12,8 +14,6 @@ Very experimental feature - expect bugs and breaking changes at any time._Part of the `@remotion/web-renderer` package._-<AvailableFrom v="4.0.397" />-Renders a video or audio in the browser.If you want to render a single frame to an image, use [`renderStillOnWeb()`](/docs/web-renderer/render-still-on-web).@@ -271,9 +271,9 @@ By default, Remotion will automatically choose `"web-fs"` if available, otherwis### `schema?`-_Zod schema_ <TsType type="AnyZodObject" source="zod" />+_Zod v4 schema_ <TsType type="$ZodObject" source="zod/v4/core" />-A Zod schema to validate the input props.+A Zod v4 schema to validate the input props.See [Schemas](/docs/schemas) for more information.### `licenseKey?`diff --git a/packages/docs/docs/web-renderer/render-still-on-web.mdx b/packages/docs/docs/web-renderer/render-still-on-web.mdxindex 5a269c150b..df7a24fbab 100644--- a/packages/docs/docs/web-renderer/render-still-on-web.mdx+++ b/packages/docs/docs/web-renderer/render-still-on-web.mdx@@ -5,6 +5,8 @@ title: renderStillOnWeb()crumb: '@remotion/web-renderer'---+# renderStillOnWeb()<AvailableFrom v="4.0.397" />+:::warningVery experimental feature - expect bugs and breaking changes at any time.[Track progress on GitHub](https://github.com/remotion-dev/remotion/issues/5913) and discuss in the [`#web-renderer`](https://remotion.dev/discord) channel on Discord.@@ -12,8 +14,6 @@ Very experimental feature - expect bugs and breaking changes at any time._Part of the `@remotion/web-renderer` package._-<AvailableFrom v="4.0.397" />-Renders a single frame to an image in the browser.If you want to render a video instead, use [`renderMediaOnWeb()`](/docs/web-renderer/render-media-on-web).@@ -149,9 +149,9 @@ _function_### `schema?`-_Zod schema_ <TsType type="AnyZodObject" source="zod" />+_Zod v4 schema_ <TsType type="$ZodObject" source="zod/v4/core" />-A Zod schema to validate the input props.+A Zod v4 schema to validate the input props.See [Schemas](/docs/schemas) for more information.### `licenseKey?`diff --git a/packages/docs/docs/zod-types/index.mdx b/packages/docs/docs/zod-types/index.mdxindex 976a911ac8..7c00981c25 100644--- a/packages/docs/docs/zod-types/index.mdx+++ b/packages/docs/docs/zod-types/index.mdx@@ -9,14 +9,14 @@ import Tabs from '@theme/Tabs';import TabItem from '@theme/TabItem';import {ZodTypesTableOfContents} from './TableOfContents';-Since Remotion v4.0.426, `@remotion/zod-types` is based on Zod v4.-If you want, you can now upgrade to Zod v4.--If you want to stay on Zod 3.22.3 as previously required by Remotion, use [`@remotion/zod-types-v3`](/docs/zod-types-v3) instead of [`@remotion/zod-types`](/docs/zod-types).-Other versions of Zod v3 might not compose well β we recommend staying on Zod 3.22.3 or upgrading to Zod v4.-Includes utility types and Remotion-specific types for [Zod](https://github.com/colinhacks/zod).+:::note+Since Remotion v4.0.426, `@remotion/zod-types` is based on Zod v4.+If you want, you can now upgrade to Zod v4.+If you want to stay on Zod 3.22.3 as previously required by Remotion, use [`@remotion/zod-types-v3`](/docs/zod-types/v3) instead of [`@remotion/zod-types`](/docs/zod-types).+:::+## Installation<Installation pkg="@remotion/zod-types" />diff --git a/packages/docs/docs/zod-types/v3.mdx b/packages/docs/docs/zod-types/v3.mdxindex 94df07c252..afbfe50030 100644--- a/packages/docs/docs/zod-types/v3.mdx+++ b/packages/docs/docs/zod-types/v3.mdx@@ -2,14 +2,14 @@image: /generated/articles-docs-zod-types-v3.pngsidebar_label: Zod 3 vs. Zod 4title: '@remotion/zod-types-v3'-crumb: Schema+crumb: '@remotion/zod-types'---# @remotion/zod-types-v3<AvailableFrom v="4.0.426" />[`@remotion/zod-types`](/docs/zod-types) creates schemas using Zod v4 since Remotion v4.0.426.-This package is for if you are using Zod v3.22.3 and want to compose functions like [`zColor()`] with Zod v3.22.3 schemas.+This package is for if you are using Zod v3.22.3 and want to compose functions like [`zColor()`](/docs/zod-types/z-color) with Zod v3.22.3 schemas.## Installationdiff --git a/packages/docs/src/data/articles.ts b/packages/docs/src/data/articles.tsindex 12cc0c068e..4c017c8e85 100644--- a/packages/docs/src/data/articles.ts+++ b/packages/docs/src/data/articles.ts@@ -7087,6 +7087,15 @@ export const articles = [noAi: false,slug: 'zod-types/index',},+ {+ id: 'zod-types/v3',+ title: '@remotion/zod-types-v3',+ relativePath: 'docs/zod-types/v3.mdx',+ compId: 'articles-docs-zod-types-v3',+ crumb: '@remotion/zod-types',+ noAi: false,+ slug: 'zod-types/v3',+ },{id: 'zod-types/z-color',title: 'zColor()',diff --git a/packages/docs/static/generated/articles-docs-zod-types-v3.png b/packages/docs/static/generated/articles-docs-zod-types-v3.pngnew file mode 100644index 0000000000..29d307f461Binary files /dev/null and b/packages/docs/static/generated/articles-docs-zod-types-v3.png differ