🎥 Make videos programmatically with React
Docs: Put page-level version badges in titles
JonnyBurgerd15c65e2abe1
diff --git a/.github/scripts/check-docs-available-from.ts b/.github/scripts/check-docs-available-from.tsnew file mode 100644index 0000000000..57479225a7--- /dev/null+++ b/.github/scripts/check-docs-available-from.ts@@ -0,0 +1,65 @@+import {readdirSync, readFileSync} from 'node:fs';+import {join, relative, resolve} from 'node:path';++const docsDir = resolve(import.meta.dir, '../../packages/docs/docs');+const files: string[] = [];+const directories = [docsDir];++while (directories.length > 0) {+ const directory = directories.pop()!;+ for (const entry of readdirSync(directory, {withFileTypes: true}).sort(+ (a, b) => (a.name < b.name ? -1 : a.name > b.name ? 1 : 0),+ )) {+ const path = join(directory, entry.name);+ if (entry.isDirectory()) {+ directories.push(path);+ } else if (entry.isFile() && entry.name.endsWith('.mdx')) {+ files.push(path);+ }+ }+}++const errors: string[] = [];+for (const file of files.sort()) {+ const lines = readFileSync(file, 'utf8').split(/\r?\n/);+ if (lines[0] !== '---') {+ continue;+ }+ const frontmatterEnd = lines.indexOf('---', 1);+ if (frontmatterEnd === -1) {+ continue;+ }++ let inFence = false;+ for (let index = frontmatterEnd + 1; index < lines.length; index++) {+ const line = lines[index].trim();+ if (!inFence && /^##\s/.test(line)) {+ break;+ }+ if (/^```/.test(line)) {+ inFence = !inFence;+ continue;+ }+ if (inFence) {+ continue;+ }++ if (+ /^<AvailableFrom\b[^>]*\/>$/.test(line) ||+ /^_.*available (?:from|since) v?\d.*_$/i.test(line)+ ) {+ errors.push(+ `${relative(resolve(docsDir, '../../..'), file)}:${index + 1}: Put the page-level version in the title as # Title<AvailableFrom v="..." />`,+ );+ }+ }+}++if (errors.length > 0) {+ console.error(errors.join('\n'));+ process.exitCode = 1;+} else {+ console.log(+ `Checked ${files.length} docs pages for page-level version placement.`,+ );+}diff --git a/.github/workflows/push.yml b/.github/workflows/push.ymlindex 132c4158cb..30e5d33ae0 100644--- a/.github/workflows/push.yml+++ b/.github/workflows/push.yml@@ -287,6 +287,8 @@ jobs:bun run checkskills- name: Test CI planning contractrun: bun test ./.github/scripts/ci.test.ts+ - name: Check docs version headings+ run: bun .github/scripts/check-docs-available-from.tsbuild:name: Build Node ${{ matrix.node_version }} on ${{ matrix.os }}needs: affecteddiff --git a/packages/docs/docs/animated-emoji/animated-emoji.mdx b/packages/docs/docs/animated-emoji/animated-emoji.mdxindex fcfd1c7be7..7aa9a2ce7e 100644--- a/packages/docs/docs/animated-emoji/animated-emoji.mdx+++ b/packages/docs/docs/animated-emoji/animated-emoji.mdx@@ -9,8 +9,9 @@ crumb: "@remotion/animated-emoji"import {AvailableEmoji} from "./AvailableEmoji";+# <AnimatedEmoji><AvailableFrom v="4.0.187" />+_Part of the [`@remotion/animated-emoji`](/docs/animated-emoji) package._-_available from v4.0.187_Displays an animated emoji from [Google Fonts Animated Emoji](https://googlefonts.github.io/noto-emoji-animation/).diff --git a/packages/docs/docs/animated-emoji/get-available-emoji.mdx b/packages/docs/docs/animated-emoji/get-available-emoji.mdxindex 8c09fc3c1f..e575480721 100644--- a/packages/docs/docs/animated-emoji/get-available-emoji.mdx+++ b/packages/docs/docs/animated-emoji/get-available-emoji.mdx@@ -7,7 +7,7 @@ slug: /animated-emoji/get-available-emojicrumb: "@remotion/animated-emoji"----_available from v4.0.187_+# getAvailableEmoji()<AvailableFrom v="4.0.187" />Gets a list of available emoji that you can use with [`<AnimatedEmoji>`](/docs/animated-emoji/animated-emoji).diff --git a/packages/docs/docs/animated-emoji/index.mdx b/packages/docs/docs/animated-emoji/index.mdxindex 9d2eae64c2..26966a3d69 100644--- a/packages/docs/docs/animated-emoji/index.mdx+++ b/packages/docs/docs/animated-emoji/index.mdx@@ -8,7 +8,7 @@ import Tabs from "@theme/Tabs";import TabItem from "@theme/TabItem";import {TableOfContents} from "./TableOfContents";-_available from v4.0.187_+# @remotion/animated-emoji<AvailableFrom v="4.0.187" />This package wraps the [Google Fonts Animated Emoji](https://googlefonts.github.io/noto-emoji-animation/) into Remotion components.diff --git a/packages/docs/docs/animation-utils/index.mdx b/packages/docs/docs/animation-utils/index.mdxindex f46c4ad9d0..6ef42e9671 100644--- a/packages/docs/docs/animation-utils/index.mdx+++ b/packages/docs/docs/animation-utils/index.mdx@@ -3,7 +3,7 @@ image: /generated/articles-docs-animation-utils-index.pngtitle: '@remotion/animation-utils'----<AvailableFrom v="4.0.92" />+# @remotion/animation-utils<AvailableFrom v="4.0.92" />Functions that support you in animating CSS styles.diff --git a/packages/docs/docs/audiobuffertodataurl.mdx b/packages/docs/docs/audiobuffertodataurl.mdxindex 4988fb7961..c874833588 100644--- a/packages/docs/docs/audiobuffertodataurl.mdx+++ b/packages/docs/docs/audiobuffertodataurl.mdx@@ -5,7 +5,9 @@ title: audioBufferToDataUrl()crumb: '@remotion/media-utils'----_Part of the `@remotion/media-utils` package of helper functions. Available from v2.5.7._+# audioBufferToDataUrl()<AvailableFrom v="2.5.7" />++_Part of the `@remotion/media-utils` package of helper functions._This API takes an [`AudioBuffer`](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer) instance and converts it to a Base 64 Data URL so it can be passed to an [`<Audio>`](/docs/media/audio) tag from `@remotion/media`.diff --git a/packages/docs/docs/captions/api.mdx b/packages/docs/docs/captions/api.mdxindex 83680e99bd..e19b18eb07 100644--- a/packages/docs/docs/captions/api.mdx+++ b/packages/docs/docs/captions/api.mdx@@ -4,7 +4,7 @@ title: '@remotion/captions'crumb: 'Subtitle videos'----_Available from v4.0.216_+# @remotion/captions<AvailableFrom v="4.0.216" />The `@remotion/captions` package provides utilities for dealing with subtitles.diff --git a/packages/docs/docs/cli/benchmark.mdx b/packages/docs/docs/cli/benchmark.mdxindex 0d69745299..b495508083 100644--- a/packages/docs/docs/cli/benchmark.mdx+++ b/packages/docs/docs/cli/benchmark.mdx@@ -5,7 +5,7 @@ sidebar_label: benchmarkcrumb: CLI Reference----<AvailableFrom v="3.2.28" />+# npx remotion benchmark<AvailableFrom v="3.2.28" />Measures render time by running a render multiple times, if desired with multiple compositions and concurrency values to compare against each other.diff --git a/packages/docs/docs/cli/bundle.mdx b/packages/docs/docs/cli/bundle.mdxindex bdcb32a45b..5c7a336518 100644--- a/packages/docs/docs/cli/bundle.mdx+++ b/packages/docs/docs/cli/bundle.mdx@@ -5,7 +5,7 @@ sidebar_label: bundlecrumb: CLI Reference----_available from v4.0.89_+# npx remotion bundle<AvailableFrom v="4.0.89" />Creates a [Remotion Bundle](/docs/terminology/bundle) on the command line.Equivalent to the [`bundle()`](/docs/bundle) Node.JS API.diff --git a/packages/docs/docs/cli/compositions.mdx b/packages/docs/docs/cli/compositions.mdxindex 4daac168fa..3c7ec9300d 100644--- a/packages/docs/docs/cli/compositions.mdx+++ b/packages/docs/docs/cli/compositions.mdx@@ -5,7 +5,7 @@ sidebar_label: compositionscrumb: CLI Reference----<AvailableFrom v="2.6.12" />+# npx remotion compositions<AvailableFrom v="2.6.12" />Print list of composition IDs based on a path of an entry point.diff --git a/packages/docs/docs/cli/ffmpeg.mdx b/packages/docs/docs/cli/ffmpeg.mdxindex f78fd8bc31..62582c7ac5 100644--- a/packages/docs/docs/cli/ffmpeg.mdx+++ b/packages/docs/docs/cli/ffmpeg.mdx@@ -6,13 +6,13 @@ crumb: '@remotion/cli'sidebar_label: 'ffmpeg'----_available since v4.0_+# npx remotion ffmpeg<AvailableFrom v="4.0" />In order to use `ffmpeg` without having to directly install it, Remotion provides it via `npx remotion ffmpeg`.Note that in order to keep the binary size small, the FFmpeg binary only understand the codecs that Remotion itself supports: H.264, H.265, VP8, VP9 and ProRes. A binary from the 7.1 release line of FFmpeg is used.-# Example+## ExampleConvert a video file to an audio filediff --git a/packages/docs/docs/cli/ffprobe.mdx b/packages/docs/docs/cli/ffprobe.mdxindex adaa3c4abe..f8eae82f5d 100644--- a/packages/docs/docs/cli/ffprobe.mdx+++ b/packages/docs/docs/cli/ffprobe.mdx@@ -6,13 +6,13 @@ crumb: '@remotion/cli'sidebar_label: 'ffprobe'----_available since v4.0_+# npx remotion ffprobe<AvailableFrom v="4.0" />In order to use `ffprobe` without having to directly install it, Remotion provides it via `npx remotion ffprobe`.Note that in order to keep the binary size small, the FFprobe binary only understand the codecs that Remotion itself supports: H.264, H.265, VP8, VP9 and ProRes. A binary from the 7.1 release line of FFprobe is used.-# Example+## Example```bashnpx remotion ffprobe your_video.mp4diff --git a/packages/docs/docs/cli/gpu.mdx b/packages/docs/docs/cli/gpu.mdxindex 032792596d..2e3fcd557e 100644--- a/packages/docs/docs/cli/gpu.mdx+++ b/packages/docs/docs/cli/gpu.mdx@@ -5,7 +5,7 @@ sidebar_label: gputitle: npx remotion gpu----<AvailableFrom v="4.0.52" />+# npx remotion gpu<AvailableFrom v="4.0.52" />Prints out how the Chrome browser uses the GPUs.diff --git a/packages/docs/docs/cli/install.mdx b/packages/docs/docs/cli/install.mdxindex d8f2c2078e..33796445a2 100644--- a/packages/docs/docs/cli/install.mdx+++ b/packages/docs/docs/cli/install.mdx@@ -5,7 +5,9 @@ sidebar_label: installcrumb: CLI Reference----_removed in v4.0.0, available from v3.3_+# npx remotion install<AvailableFrom v="3.3" />++_Removed in v4.0.0.__See ["No more FFmpeg installation"](/docs/4-0-migration#no-more-ffmpeg-install-ffmpegexecutable-option-removed)._This page is for archival purpose.diff --git a/packages/docs/docs/cli/still.mdx b/packages/docs/docs/cli/still.mdxindex 70f5a8530d..ed46978191 100644--- a/packages/docs/docs/cli/still.mdx+++ b/packages/docs/docs/cli/still.mdx@@ -5,7 +5,7 @@ sidebar_label: stillcrumb: CLI Reference----<AvailableFrom v="2.3" />+# npx remotion still<AvailableFrom v="2.3" />Render a still frame based on the entry point, the composition ID and save it to the output location.diff --git a/packages/docs/docs/cli/versions.mdx b/packages/docs/docs/cli/versions.mdxindex b9baa21bc3..91003e8a0c 100644--- a/packages/docs/docs/cli/versions.mdx+++ b/packages/docs/docs/cli/versions.mdx@@ -5,7 +5,7 @@ sidebar_label: versionscrumb: CLI Reference----<AvailableFrom v="2.6.2" />+# npx remotion versions<AvailableFrom v="2.6.2" />Prints out which versions of Remotion packages are installed.diff --git a/packages/docs/docs/cloudrun/light-client.mdx b/packages/docs/docs/cloudrun/light-client.mdxindex bc44872a57..1179fcaa3c 100644--- a/packages/docs/docs/cloudrun/light-client.mdx+++ b/packages/docs/docs/cloudrun/light-client.mdx@@ -5,7 +5,7 @@ title: Light clientcrumb: "Cloud Run"----_available from v4.0.84_+# Light client<AvailableFrom v="4.0.84" />The following methods and types can be imported from `@remotion/cloudrun/client`:diff --git a/packages/docs/docs/enable-scss/enable-scss.mdx b/packages/docs/docs/enable-scss/enable-scss.mdxindex daa3418337..a2a3dc8338 100644--- a/packages/docs/docs/enable-scss/enable-scss.mdx+++ b/packages/docs/docs/enable-scss/enable-scss.mdx@@ -5,7 +5,7 @@ slug: /enable-scss/enable-scsscrumb: "@remotion/enable-scss"----_available from v4.0.162_+# enableScss()<AvailableFrom v="4.0.162" />A function that modifies the default bundler configuration to make the necessary changes to support SASS/SCSS.diff --git a/packages/docs/docs/env-variables.mdx b/packages/docs/docs/env-variables.mdxindex 98cdae964f..7dc6af2a17 100644--- a/packages/docs/docs/env-variables.mdx+++ b/packages/docs/docs/env-variables.mdx@@ -5,7 +5,7 @@ title: Environment variablescrumb: 'How To'----<AvailableFrom v="2.1.2" />+# Environment variables<AvailableFrom v="2.1.2" />Remotion supports environment variables being passed directly from the CLI, using a `.env` file and from the [`renderMedia()`](/docs/renderer/render-media) function.diff --git a/packages/docs/docs/folder.mdx b/packages/docs/docs/folder.mdxindex a1007aad55..0d8a1cbe21 100644--- a/packages/docs/docs/folder.mdx+++ b/packages/docs/docs/folder.mdx@@ -5,7 +5,7 @@ id: foldercrumb: 'API'----<AvailableFrom v="3.0.1" />+# <Folder><AvailableFrom v="3.0.1" />By wrapping a [`<Composition />`](/docs/composition) inside a `<Folder />`, you can visually categorize it in your sidebar, should you have many compositions.diff --git a/packages/docs/docs/get-image-dimensions.mdx b/packages/docs/docs/get-image-dimensions.mdxindex 8949973941..cf64a2150e 100644--- a/packages/docs/docs/get-image-dimensions.mdx+++ b/packages/docs/docs/get-image-dimensions.mdx@@ -5,7 +5,9 @@ id: get-image-dimensionscrumb: '@remotion/media-utils'----_Part of the `@remotion/media-utils` package of helper functions. Available from v4.0.143._+# getImageDimensions()<AvailableFrom v="4.0.143" />++_Part of the `@remotion/media-utils` package of helper functions._Takes an image `src`, retrieves the dimensions of an image.diff --git a/packages/docs/docs/get-input-props.mdx b/packages/docs/docs/get-input-props.mdxindex 6c3e80c130..bfed161374 100644--- a/packages/docs/docs/get-input-props.mdx+++ b/packages/docs/docs/get-input-props.mdx@@ -5,7 +5,7 @@ id: get-input-propscrumb: 'API'----<AvailableFrom v="2.0" />+# getInputProps()<AvailableFrom v="2.0" />Using this method, you can retrieve inputs that you pass in from the command line using [`--props`](/docs/cli), or the [`inputProps`](/docs/ssr) parameter if you are using the Node.JS APIs ([`renderMedia()`](/docs/renderer/render-media), [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda)).diff --git a/packages/docs/docs/get-static-files.mdx b/packages/docs/docs/get-static-files.mdxindex 2ead29d0d5..fd6d0de462 100644--- a/packages/docs/docs/get-static-files.mdx+++ b/packages/docs/docs/get-static-files.mdx@@ -5,7 +5,7 @@ title: getStaticFiles()crumb: 'API'----<AvailableFrom v="3.3.26" />+# getStaticFiles()<AvailableFrom v="3.3.26" />:::noteThis API is being moved to the `@remotion/studio` package. Prefer importing the API from [`@remotion/studio`](/docs/studio/get-static-files) instead of `remotion`.diff --git a/packages/docs/docs/gif/get-gif-duration-in-seconds.mdx b/packages/docs/docs/gif/get-gif-duration-in-seconds.mdxindex dca1bb11f1..e22251fa9a 100644--- a/packages/docs/docs/gif/get-gif-duration-in-seconds.mdx+++ b/packages/docs/docs/gif/get-gif-duration-in-seconds.mdx@@ -5,9 +5,9 @@ id: get-gif-duration-in-secondscrumb: '@remotion/gif'----_Part of the [`@remotion/gif`](/docs/gif) package_+# getGifDurationInSeconds()<AvailableFrom v="3.2.22" />-<AvailableFrom v="3.2.22" />+_Part of the [`@remotion/gif`](/docs/gif) package._Gets the duration in seconds of a GIF.diff --git a/packages/docs/docs/gif/preload-gif.mdx b/packages/docs/docs/gif/preload-gif.mdxindex 9bcd4dc0aa..66d9d982cd 100644--- a/packages/docs/docs/gif/preload-gif.mdx+++ b/packages/docs/docs/gif/preload-gif.mdx@@ -4,7 +4,7 @@ title: preloadGif()crumb: "@remotion/gif"----_available from v3.3.38_+# preloadGif()<AvailableFrom v="3.3.38" />Call `preloadGif(src)` with the URL of the GIF that you would like to load and the GIF will be prepared for display in the [`<Player>`](/docs/player).diff --git a/packages/docs/docs/lambda/autodelete.mdx b/packages/docs/docs/lambda/autodelete.mdxindex beb90327ae..e7780cac76 100644--- a/packages/docs/docs/lambda/autodelete.mdx+++ b/packages/docs/docs/lambda/autodelete.mdx@@ -9,7 +9,7 @@ crumb: 'Lambda API'import Tabs from '@theme/Tabs';import TabItem from '@theme/TabItem';-_available from v4.0.32_+# Auto-delete renders<AvailableFrom v="4.0.32" />To automatically delete renders and associated files after some time, you need to:diff --git a/packages/docs/docs/lambda/cli/compositions.mdx b/packages/docs/docs/lambda/cli/compositions.mdxindex 25f7da59b5..f3512102a2 100644--- a/packages/docs/docs/lambda/cli/compositions.mdx+++ b/packages/docs/docs/lambda/cli/compositions.mdx@@ -5,7 +5,7 @@ sidebar_label: compositionscrumb: 'Lambda CLI Reference'----<AvailableFrom v="3.3.2" />+# npx remotion lambda compositions<AvailableFrom v="3.3.2" />Print list of composition IDs from a serve URL, fetched from inside a Lambda function.diff --git a/packages/docs/docs/lambda/getcompositionsonlambda.mdx b/packages/docs/docs/lambda/getcompositionsonlambda.mdxindex 840aaf7223..48fb4d3969 100644--- a/packages/docs/docs/lambda/getcompositionsonlambda.mdx+++ b/packages/docs/docs/lambda/getcompositionsonlambda.mdx@@ -6,7 +6,7 @@ slug: /lambda/getcompositionsonlambdacrumb: 'Lambda API'----<AvailableFrom v="3.3.2" />+# getCompositionsOnLambda()<AvailableFrom v="3.3.2" />Gets the compositions inside a Lambda function.diff --git a/packages/docs/docs/lambda/php.mdx b/packages/docs/docs/lambda/php.mdxindex c8dbc28bcc..fc93ab7f73 100644--- a/packages/docs/docs/lambda/php.mdx+++ b/packages/docs/docs/lambda/php.mdx@@ -6,7 +6,7 @@ sidebar_label: Rendering from PHPcrumb: '@remotion/lambda'----_available from v3.3.96_+# Triggering renders from PHP<AvailableFrom v="3.3.96" />To trigger a Lambda render using PHP, install the `remotion/lambda` package using `composer`. Use the same version as the `remotion` version you are using from NPM and pin the version by removing the `^` character in your `composer.json`.diff --git a/packages/docs/docs/lambda/python.mdx b/packages/docs/docs/lambda/python.mdxindex dfd3a38533..3d8f4ba36c 100644--- a/packages/docs/docs/lambda/python.mdx+++ b/packages/docs/docs/lambda/python.mdx@@ -6,7 +6,7 @@ sidebar_label: Rendering from Pythoncrumb: '@remotion/lambda'----_available from v4.0.15_+# Triggering renders from Python<AvailableFrom v="4.0.15" />To trigger a Lambda render using Python, install the `remotion-lambda` package using `pip`, by executing `pip install remotion-lambda` from your python project. Use the same version as the `remotion` version you are using from NPM, e.g. `pip install remotion-lambda==4.0.15` (see [newest version](https://remotion.dev/changelog)).diff --git a/packages/docs/docs/lambda/ruby.mdx b/packages/docs/docs/lambda/ruby.mdxindex f937b45eb5..fbece9dd88 100644--- a/packages/docs/docs/lambda/ruby.mdx+++ b/packages/docs/docs/lambda/ruby.mdx@@ -6,7 +6,7 @@ sidebar_label: Rendering from Rubycrumb: '@remotion/lambda'----_available from v4.0.232_+# Triggering renders from Ruby<AvailableFrom v="4.0.232" />To trigger a Lambda render using Ruby, install the [`remotion_lambda`](https://rubygems.org/gems/remotion_lambda) gem.The version should be the same version of the `@remotion/lambda` NPM package version that you used to deploy your function.diff --git a/packages/docs/docs/lambda/speculateFunctionName.mdx b/packages/docs/docs/lambda/speculateFunctionName.mdxindex 21e33ad311..f83953f5a3 100644--- a/packages/docs/docs/lambda/speculateFunctionName.mdx+++ b/packages/docs/docs/lambda/speculateFunctionName.mdx@@ -6,7 +6,7 @@ slug: /lambda/speculatefunctionnamecrumb: 'Lambda API'----_available from v3.3.75_+# speculateFunctionName()<AvailableFrom v="3.3.75" />Speculate the name of the Lambda function that will be created by [`deployFunction()`](/docs/lambda/deployfunction) or its CLI equivalent, [`npx remotion lambda functions deploy`](/docs/lambda/cli/functions/deploy). This could be useful in cases when the configuration of the Lambda function is known in advance, and the name of the function is needed.diff --git a/packages/docs/docs/lambda/validatewebhooksignature.mdx b/packages/docs/docs/lambda/validatewebhooksignature.mdxindex 2aabeb58e2..13122b7f24 100644--- a/packages/docs/docs/lambda/validatewebhooksignature.mdx+++ b/packages/docs/docs/lambda/validatewebhooksignature.mdx@@ -6,7 +6,7 @@ slug: /lambda/validatewebhooksignaturecrumb: 'Lambda API'----<AvailableFrom v="3.2.30" />+# validateWebhookSignature()<AvailableFrom v="3.2.30" />Validates that the signature that was received by a [webhook](/docs/lambda/webhooks) endpoint is authentic. If the validation fails, an error is thrown.diff --git a/packages/docs/docs/layout-utils/fit-text-on-n-lines.mdx b/packages/docs/docs/layout-utils/fit-text-on-n-lines.mdxindex 73a5091247..fa965842cd 100644--- a/packages/docs/docs/layout-utils/fit-text-on-n-lines.mdx+++ b/packages/docs/docs/layout-utils/fit-text-on-n-lines.mdx@@ -4,7 +4,9 @@ title: fitTextOnNLines()crumb: '@remotion/layout-utils'----_Part of the [`@remotion/layout-utils`](/docs/layout-utils) package. Available from v4.0.313_+# fitTextOnNLines()<AvailableFrom v="4.0.313" />++_Part of the [`@remotion/layout-utils`](/docs/layout-utils) package._Calculates the `fontSize` needed to fit a text into a given width while respecting a maximum number of lines. Optionally, you can specify a maximum font size, and see how the text is split into lines.diff --git a/packages/docs/docs/layout-utils/fit-text.mdx b/packages/docs/docs/layout-utils/fit-text.mdxindex ab3ebff032..a421e61e1f 100644--- a/packages/docs/docs/layout-utils/fit-text.mdx+++ b/packages/docs/docs/layout-utils/fit-text.mdx@@ -4,7 +4,9 @@ title: fitText()crumb: "@remotion/layout-utils"----_Part of the [`@remotion/layout-utils`](/docs/layout-utils) package. Available from v4.0.88_+# fitText()<AvailableFrom v="4.0.88" />++_Part of the [`@remotion/layout-utils`](/docs/layout-utils) package._Calculates the `font-size` needed to fit a text into a given width.diff --git a/packages/docs/docs/layout-utils/index.mdx b/packages/docs/docs/layout-utils/index.mdxindex 22b692b2e4..b85a9b9a23 100644--- a/packages/docs/docs/layout-utils/index.mdx+++ b/packages/docs/docs/layout-utils/index.mdx@@ -3,7 +3,7 @@ image: /generated/articles-docs-layout-utils-index.pngtitle: '@remotion/layout-utils'----<AvailableFrom v="4.0.50" />+# @remotion/layout-utils<AvailableFrom v="4.0.50" />Utility functions for creating dynamic layouts.diff --git a/packages/docs/docs/licensing/index.mdx b/packages/docs/docs/licensing/index.mdxindex 327d957e7c..f520ed19f5 100644--- a/packages/docs/docs/licensing/index.mdx+++ b/packages/docs/docs/licensing/index.mdx@@ -5,7 +5,7 @@ title: '@remotion/licensing'crumb: API----_available from v4.0.237_+# @remotion/licensing<AvailableFrom v="4.0.237" />This package allows holders of the [Company License](/docs/license/pricing) to send events to Remotion to track the usage of renders.Also, it offers an API to programmatically check the usage in order to implement spend controls.diff --git a/packages/docs/docs/loop.mdx b/packages/docs/docs/loop.mdxindex 69c296ec5f..c3e8d7cda4 100644--- a/packages/docs/docs/loop.mdx+++ b/packages/docs/docs/loop.mdx@@ -7,13 +7,13 @@ crumb: 'API'import {LoopExamples, BlueSquare} from '../components/LoopExamples/LoopExamples';+# <Loop><AvailableFrom v="2.5.0" />+```twoslash include exampleconst BlueSquare: React.FC = () => <div></div>// - BlueSquare```-<AvailableFrom v="2.5.0" />-The `<Loop />` component allows you to quickly lay out an animation so it repeats itself.```tsx twoslash title="MyComp.tsx"diff --git a/packages/docs/docs/measure-spring.mdx b/packages/docs/docs/measure-spring.mdxindex 11e1e51e31..18830ea90c 100644--- a/packages/docs/docs/measure-spring.mdx+++ b/packages/docs/docs/measure-spring.mdx@@ -5,7 +5,7 @@ id: measure-springcrumb: 'API'----<AvailableFrom v="2.0.8" />+# measureSpring()<AvailableFrom v="2.0.8" />Based on a [spring()](/docs/spring) configuration and the frame rate, return how long it takes for a spring animation to settle.diff --git a/packages/docs/docs/media-parser/parse-media.mdx b/packages/docs/docs/media-parser/parse-media.mdxindex 702da04291..55a052dff3 100644--- a/packages/docs/docs/media-parser/parse-media.mdx+++ b/packages/docs/docs/media-parser/parse-media.mdx@@ -6,14 +6,13 @@ slug: /media-parser/parse-mediacrumb: '@remotion/media-parser'----# ~~parseMedia()~~+# ~~parseMedia()~~<AvailableFrom v="4.0.190" />:::info DeprecatedDeprecated in favor of [getting metadata using Mediabunny](/docs/mediabunny/metadata).:::_Part of the [`@remotion/media-parser`](/docs/media-parser) package._-_available from v4.0.190_## Examplesdiff --git a/packages/docs/docs/motion-blur/camera-motion-blur.mdx b/packages/docs/docs/motion-blur/camera-motion-blur.mdxindex 67bf767476..c4e9a2e1da 100644--- a/packages/docs/docs/motion-blur/camera-motion-blur.mdx+++ b/packages/docs/docs/motion-blur/camera-motion-blur.mdx@@ -7,13 +7,13 @@ crumb: 'Realistic camera effect'import {CameraMotionBlurExample} from '../../components/CameraMotionBlurExample/CameraMotionBlurExample';+# <CameraMotionBlur><AvailableFrom v="3.2.39" />+```twoslash include exampleconst RainbowSquare: React.FC = () => <div></div>// - RainbowSquare```-<AvailableFrom v="3.2.39" />-The `<CameraMotionBlur>` produces natural looking motion blur similar to what would be produced bya film camera.diff --git a/packages/docs/docs/motion-blur/trail.mdx b/packages/docs/docs/motion-blur/trail.mdxindex f95f9b3de2..da9428ceb4 100644--- a/packages/docs/docs/motion-blur/trail.mdx+++ b/packages/docs/docs/motion-blur/trail.mdx@@ -7,12 +7,14 @@ crumb: 'Motion blur'import {TrailExample} from '../../components/TrailExample/TrailExample';+# <Trail><AvailableFrom v="3.2.39" />+```twoslash include exampleconst BlueSquare: React.FC = () => <div></div>// - BlueSquare```-_available from v3.2.39, previously called `<MotionBlur>`_+_Previously called `<MotionBlur>`._The `<Trail>` component duplicates it's children and adds a time offset to each layer in order to create a trail effect.diff --git a/packages/docs/docs/noise/index.mdx b/packages/docs/docs/noise/index.mdxindex 8e5c332d3b..1f145f0728 100644--- a/packages/docs/docs/noise/index.mdx+++ b/packages/docs/docs/noise/index.mdx@@ -3,7 +3,7 @@ image: /generated/articles-docs-noise-index.pngtitle: '@remotion/noise'----<AvailableFrom v="3.2.32" />+# @remotion/noise<AvailableFrom v="3.2.32" />Utility functions that create a noise effect.diff --git a/packages/docs/docs/openai-whisper/index.mdx b/packages/docs/docs/openai-whisper/index.mdxindex 2241f1d115..c408b4d83d 100644--- a/packages/docs/docs/openai-whisper/index.mdx+++ b/packages/docs/docs/openai-whisper/index.mdx@@ -4,7 +4,7 @@ title: '@remotion/openai-whisper'crumb: 'Subtitle videos'----<AvailableFrom v="4.0.217" />+# @remotion/openai-whisper<AvailableFrom v="4.0.217" />The `@remotion/openai-whisper` package provides utilities for working with the OpenAI Whisper API.diff --git a/packages/docs/docs/paths/center-path.mdx b/packages/docs/docs/paths/center-path.mdxindex 48cfcb2cf7..dc9be31543 100644--- a/packages/docs/docs/paths/center-path.mdx+++ b/packages/docs/docs/paths/center-path.mdx@@ -4,7 +4,9 @@ title: centerPath()crumb: "@remotion/paths"----_Part of the [`@remotion/paths`](/docs/paths) package. Available from v4.0.486_+# centerPath()<AvailableFrom v="4.0.486" />++_Part of the [`@remotion/paths`](/docs/paths) package._Translates an SVG path so that the center of the [bounding box](/docs/paths/get-bounding-box) is at a target point.diff --git a/packages/docs/docs/paths/extend-viewbox.mdx b/packages/docs/docs/paths/extend-viewbox.mdxindex ad8073b295..606c8025dd 100644--- a/packages/docs/docs/paths/extend-viewbox.mdx+++ b/packages/docs/docs/paths/extend-viewbox.mdx@@ -4,7 +4,9 @@ title: extendViewBox()crumb: "@remotion/paths"----_Part of the [`@remotion/paths`](/docs/paths) package. Available since v3.2.25_+# extendViewBox()<AvailableFrom v="3.2.25" />++_Part of the [`@remotion/paths`](/docs/paths) package._Widens an SVG `viewBox` in all directions by a certain scale factor.diff --git a/packages/docs/docs/paths/get-bounding-box.mdx b/packages/docs/docs/paths/get-bounding-box.mdxindex 10d241515d..74df66aa36 100644--- a/packages/docs/docs/paths/get-bounding-box.mdx+++ b/packages/docs/docs/paths/get-bounding-box.mdx@@ -4,7 +4,9 @@ title: getBoundingBox()crumb: "@remotion/paths"----_Part of the [`@remotion/paths`](/docs/paths) package. Available from v3.3.40_+# getBoundingBox()<AvailableFrom v="3.3.40" />++_Part of the [`@remotion/paths`](/docs/paths) package._Returns the bounding box of the given path, suitable for calculating the `viewBox` value that you need to pass to an SVG.diff --git a/packages/docs/docs/paths/get-instruction-index-at-length.mdx b/packages/docs/docs/paths/get-instruction-index-at-length.mdxindex 79015812b4..58f8b18757 100644--- a/packages/docs/docs/paths/get-instruction-index-at-length.mdx+++ b/packages/docs/docs/paths/get-instruction-index-at-length.mdx@@ -4,9 +4,9 @@ title: getInstructionIndexAtLength()crumb: "@remotion/paths"----_Part of the [`@remotion/paths`](/docs/paths) package._+# getInstructionIndexAtLength()<AvailableFrom v="4.0.84" />-_available from v4.0.84_+_Part of the [`@remotion/paths`](/docs/paths) package._Gets the index of the instruction that is at the length of the path.The first argument is an SVG path, the second one is the length at which the point should be sampled.diff --git a/packages/docs/docs/paths/get-subpaths.mdx b/packages/docs/docs/paths/get-subpaths.mdxindex 84e6c7cf62..5d1dab1549 100644--- a/packages/docs/docs/paths/get-subpaths.mdx+++ b/packages/docs/docs/paths/get-subpaths.mdx@@ -4,7 +4,9 @@ title: getSubpaths()crumb: "@remotion/paths"----_Part of the [`@remotion/paths`](/docs/paths) package. Available from v3.3.6_+# getSubpaths()<AvailableFrom v="3.3.6" />++_Part of the [`@remotion/paths`](/docs/paths) package._Takes an SVG path and returns an array of subpaths.diff --git a/packages/docs/docs/paths/parse-path.mdx b/packages/docs/docs/paths/parse-path.mdxindex 758a05b722..7b13beca13 100644--- a/packages/docs/docs/paths/parse-path.mdx+++ b/packages/docs/docs/paths/parse-path.mdx@@ -4,7 +4,9 @@ title: parsePath()crumb: "@remotion/paths"----_Part of the [`@remotion/paths`](/docs/paths) package. Available from v3.3.40_+# parsePath()<AvailableFrom v="3.3.40" />++_Part of the [`@remotion/paths`](/docs/paths) package._Parses an SVG string path into an array of `Instruction`'s.diff --git a/packages/docs/docs/paths/reduce-instructions.mdx b/packages/docs/docs/paths/reduce-instructions.mdxindex 8f2acd0af9..0bec50048d 100644--- a/packages/docs/docs/paths/reduce-instructions.mdx+++ b/packages/docs/docs/paths/reduce-instructions.mdx@@ -4,7 +4,9 @@ title: reduceInstructions()crumb: "@remotion/paths"----_Part of the [`@remotion/paths`](/docs/paths) package. Available from v3.3.40_+# reduceInstructions()<AvailableFrom v="3.3.40" />++_Part of the [`@remotion/paths`](/docs/paths) package._Takes an array of [`Instruction`](/docs/paths/parse-path)'s and reduces the amount of instruction types them so the path only consists of `M`, `L`, `C` and `Z` instructions.diff --git a/packages/docs/docs/paths/reset-path.mdx b/packages/docs/docs/paths/reset-path.mdxindex fd47ab0933..6b583f7ef0 100644--- a/packages/docs/docs/paths/reset-path.mdx+++ b/packages/docs/docs/paths/reset-path.mdx@@ -4,7 +4,9 @@ title: resetPath()crumb: "@remotion/paths"----_Part of the [`@remotion/paths`](/docs/paths) package. Available from v3.3.40_+# resetPath()<AvailableFrom v="3.3.40" />++_Part of the [`@remotion/paths`](/docs/paths) package._Translates an SVG path so that the top-left corner of the [bounding box](/docs/paths/get-bounding-box) is at `0, 0`. Useful for simplifying the math when transforming the coordinates of an SVG path.diff --git a/packages/docs/docs/paths/scale-path.mdx b/packages/docs/docs/paths/scale-path.mdxindex ab3d5095bd..b9372170de 100644--- a/packages/docs/docs/paths/scale-path.mdx+++ b/packages/docs/docs/paths/scale-path.mdx@@ -4,7 +4,9 @@ title: scalePath()crumb: "@remotion/paths"----_Part of the [`@remotion/paths`](/docs/paths) package. Available from v3.3.43_+# scalePath()<AvailableFrom v="3.3.43" />++_Part of the [`@remotion/paths`](/docs/paths) package._Allows you to grow or shrink the size of a path.diff --git a/packages/docs/docs/paths/serialize-instructions.mdx b/packages/docs/docs/paths/serialize-instructions.mdxindex f4e5f4159a..0dedf7c673 100644--- a/packages/docs/docs/paths/serialize-instructions.mdx+++ b/packages/docs/docs/paths/serialize-instructions.mdx@@ -4,7 +4,9 @@ title: serializeInstructions()crumb: "@remotion/paths"----_Part of the [`@remotion/paths`](/docs/paths) package. Available from v3.3.40_+# serializeInstructions()<AvailableFrom v="3.3.40" />++_Part of the [`@remotion/paths`](/docs/paths) package._Takes an array of [`Instruction`](/docs/paths/parse-path)'s and serializes it into an SVG path string.diff --git a/packages/docs/docs/paths/warp-path.mdx b/packages/docs/docs/paths/warp-path.mdxindex 6d301d8dee..6aecaf51c9 100644--- a/packages/docs/docs/paths/warp-path.mdx+++ b/packages/docs/docs/paths/warp-path.mdx@@ -6,9 +6,11 @@ crumb: "@remotion/paths"import {WarpTextTutorial} from '../../src/components/tutorials';+# warpPath()<AvailableFrom v="3.3.43" />+<WarpTextTutorial />-_Part of the [`@remotion/paths`](/docs/paths) package. Available from v3.3.43_+_Part of the [`@remotion/paths`](/docs/paths) package._Allows you to remap the coordinates of an SVG using a function in order to create a warp effect.diff --git a/packages/docs/docs/player/buffer-state.mdx b/packages/docs/docs/player/buffer-state.mdxindex bd11334530..6decd989e9 100644--- a/packages/docs/docs/player/buffer-state.mdx+++ b/packages/docs/docs/player/buffer-state.mdx@@ -6,7 +6,7 @@ id: buffer-statecrumb: Best practices----_available from 4.0.111_+# The Player buffer state<AvailableFrom v="4.0.111" />Just like regular video players, it is possible that the content being displayed in the Player is not yet fully loaded.In this case, the best practice is to briefly pause the video, let the content load and then resume playback.diff --git a/packages/docs/docs/player/thumbnail.mdx b/packages/docs/docs/player/thumbnail.mdxindex fda6e9f339..8365609af4 100644--- a/packages/docs/docs/player/thumbnail.mdx+++ b/packages/docs/docs/player/thumbnail.mdx@@ -5,7 +5,7 @@ title: '<Thumbnail>'crumb: '@remotion/player'----<AvailableFrom v="3.2.41" />+# <Thumbnail><AvailableFrom v="3.2.41" />A component which can be rendered in a regular React App (for example: for example: [Next.JS](https://nextjs.org), [Vite.js](https://vitejs.dev), [Create React App](https://create-react-app.dev/)) to display a single frame of a video.diff --git a/packages/docs/docs/render-as-gif.mdx b/packages/docs/docs/render-as-gif.mdxindex f5282daef0..22e978c2f6 100644--- a/packages/docs/docs/render-as-gif.mdx+++ b/packages/docs/docs/render-as-gif.mdx@@ -5,7 +5,7 @@ title: Rendering GIFscrumb: "Techniques"----_Available since v3.1_+# Rendering GIFs<AvailableFrom v="3.1" />You can render a video as a GIF by:diff --git a/packages/docs/docs/renderer/get-can-extract-frames-fast.mdx b/packages/docs/docs/renderer/get-can-extract-frames-fast.mdxindex 664b2f609a..7d3f4db023 100644--- a/packages/docs/docs/renderer/get-can-extract-frames-fast.mdx+++ b/packages/docs/docs/renderer/get-can-extract-frames-fast.mdx@@ -5,11 +5,13 @@ id: get-can-extract-frames-fastcrumb: '@remotion/renderer'---+# getCanExtractFramesFast()<AvailableFrom v="3.3.2" />+:::warningFrom v4.0 on, frames can always be extracted fast and therefore the function has been removed. The information in this document only applies to older versions of Remotion and is preserved for people who are still using them.:::-_Available since v3.3.2, removed in v4.0 - Part of the `@remotion/renderer` package._+_Removed in v4.0 - Part of the `@remotion/renderer` package._Probes whether frames of a video can be efficiently extracted when using [`<OffthreadVideo>`](/docs/offthreadvideo).diff --git a/packages/docs/docs/renderer/open-browser.mdx b/packages/docs/docs/renderer/open-browser.mdxindex 6b09e845fd..49bd04fb1d 100644--- a/packages/docs/docs/renderer/open-browser.mdx+++ b/packages/docs/docs/renderer/open-browser.mdx@@ -5,7 +5,9 @@ id: open-browsercrumb: '@remotion/renderer'----_Available since v3.0 - Part of the `@remotion/renderer` package._+# openBrowser()<AvailableFrom v="3.0" />++_Part of the `@remotion/renderer` package._Opens a Chrome or Chromium browser instance. By reusing an instance across [`renderFrames()`](/docs/renderer/render-frames), [`renderStill()`](/docs/renderer/render-still), [`renderMedia()`](/docs/renderer/render-media) and [`getCompositions()`](/docs/renderer/get-compositions) calls, you can save time by not opening and closing browsers for each call.diff --git a/packages/docs/docs/rounded-text-box/index.mdx b/packages/docs/docs/rounded-text-box/index.mdxindex 4672144461..f8ac4939d3 100644--- a/packages/docs/docs/rounded-text-box/index.mdx+++ b/packages/docs/docs/rounded-text-box/index.mdx@@ -3,7 +3,7 @@ image: /generated/articles-docs-rounded-text-box-index.pngtitle: '@remotion/rounded-text-box'----<AvailableFrom v="4.0.360" />+# @remotion/rounded-text-box<AvailableFrom v="4.0.360" />Create a TikTok-like multiline text box SVG path with rounded corners.diff --git a/packages/docs/docs/scaling.mdx b/packages/docs/docs/scaling.mdxindex b1993f505a..596d2df061 100644--- a/packages/docs/docs/scaling.mdx+++ b/packages/docs/docs/scaling.mdx@@ -5,7 +5,7 @@ title: Output scalingcrumb: 'How To'----<AvailableFrom v="2.6.7" />+# Output scaling<AvailableFrom v="2.6.7" />Output scaling is useful if you would like to render the video in multiple resolutions in the same aspect ratio.diff --git a/packages/docs/docs/series.mdx b/packages/docs/docs/series.mdxindex 5aafd5480a..4f8a9f674e 100644--- a/packages/docs/docs/series.mdx+++ b/packages/docs/docs/series.mdx@@ -5,7 +5,7 @@ title: <Series>crumb: 'API'----<AvailableFrom v="2.3.1" />+# <Series><AvailableFrom v="2.3.1" />import {SeriesExample} from '../components/SeriesExamples/SeriesExample';diff --git a/packages/docs/docs/shapes/heart.mdx b/packages/docs/docs/shapes/heart.mdxindex 47c2002023..e7d2d40936 100644--- a/packages/docs/docs/shapes/heart.mdx+++ b/packages/docs/docs/shapes/heart.mdx@@ -6,7 +6,7 @@ crumb: '@remotion/shapes'import {ShapeSeeAlso, ShapeOptions} from '../../components/shapes/shapes-info';-_available from v4.0.315_+# <Heart /><AvailableFrom v="4.0.315" />Renders an SVG element containing a heart.diff --git a/packages/docs/docs/shapes/make-heart.mdx b/packages/docs/docs/shapes/make-heart.mdxindex caf8f2892e..efdbc5551a 100644--- a/packages/docs/docs/shapes/make-heart.mdx+++ b/packages/docs/docs/shapes/make-heart.mdx@@ -6,7 +6,7 @@ crumb: '@remotion/shapes'import {MakeShapeSeeAlso, ShapeOptions} from '../../components/shapes/shapes-info';-_available from v4.0.315_+# makeHeart()<AvailableFrom v="4.0.315" />Generates an SVG path for a heart.diff --git a/packages/docs/docs/stills.mdx b/packages/docs/docs/stills.mdxindex 96a5a62e48..5e5ee6af80 100644--- a/packages/docs/docs/stills.mdx+++ b/packages/docs/docs/stills.mdx@@ -5,7 +5,7 @@ title: Still imagescrumb: 'How to generate'----<AvailableFrom v="2.3" />+# Still images<AvailableFrom v="2.3" />Remotion is a great solution for rendering thumbnails of videos or dynamic still images too. See our [Still template](https://github.com/remotion-dev/template-still) for an easy way to get started.diff --git a/packages/docs/docs/studio/deploy-server.mdx b/packages/docs/docs/studio/deploy-server.mdxindex 20d8097ee7..4ecb616bd6 100644--- a/packages/docs/docs/studio/deploy-server.mdx+++ b/packages/docs/docs/studio/deploy-server.mdx@@ -5,9 +5,9 @@ sidebar_label: Deploy to a VPScrumb: 'Remotion Studio'----<YouTube minutes={3} href="https://www.youtube.com/watch?v=430B9xSs06U" thumb="https://i.ytimg.com/vi/430B9xSs06U/hq720.jpg?sqp=-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCFJ4FoC-8enbWW4aU8uo9NLhEl6w" title="Deploy the Remotion Studio" />+# Deploy the Remotion Studio on a VPS<AvailableFrom v="4.0.46" />-_available from v4.0.46_+<YouTube minutes={3} href="https://www.youtube.com/watch?v=430B9xSs06U" thumb="https://i.ytimg.com/vi/430B9xSs06U/hq720.jpg?sqp=-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCFJ4FoC-8enbWW4aU8uo9NLhEl6w" title="Deploy the Remotion Studio" />You can deploy the Remotion Studio to a long-running server in the cloud and make the render UI accessible to your team.To do so, you need to:diff --git a/packages/docs/docs/studio/deploy-static.mdx b/packages/docs/docs/studio/deploy-static.mdxindex f012bacd2d..204f85a8ad 100644--- a/packages/docs/docs/studio/deploy-static.mdx+++ b/packages/docs/docs/studio/deploy-static.mdx@@ -5,7 +5,7 @@ sidebar_label: Deploy as static sitecrumb: 'Remotion Studio'----_available from v4.0.97_+# Deploy Remotion Studio as static site<AvailableFrom v="4.0.97" />import Tabs from '@theme/Tabs';import TabItem from '@theme/TabItem';diff --git a/packages/docs/docs/tailwind-v4/enable-tailwind.mdx b/packages/docs/docs/tailwind-v4/enable-tailwind.mdxindex bca104936f..971ae985b0 100644--- a/packages/docs/docs/tailwind-v4/enable-tailwind.mdx+++ b/packages/docs/docs/tailwind-v4/enable-tailwind.mdx@@ -4,7 +4,7 @@ title: enableTailwind()crumb: '@remotion/tailwind-v4'----_available from v4.0.256_+# enableTailwind()<AvailableFrom v="4.0.256" />A function that modifies the default bundler configuration to make the necessary changes to support TailwindCSS.See the [setup](/docs/tailwind) to see full instructions on how to setup TailwindCSS in Remotion.diff --git a/packages/docs/docs/tailwind/enable-tailwind.mdx b/packages/docs/docs/tailwind/enable-tailwind.mdxindex 111abf9ea1..510ed0e771 100644--- a/packages/docs/docs/tailwind/enable-tailwind.mdx+++ b/packages/docs/docs/tailwind/enable-tailwind.mdx@@ -4,7 +4,7 @@ title: enableTailwind()crumb: '@remotion/tailwind'----_available from v3.3.95_+# enableTailwind()<AvailableFrom v="3.3.95" />:::noteThis is documentation for enabling Tailwind v3.diff --git a/packages/docs/docs/transitions/index.mdx b/packages/docs/docs/transitions/index.mdxindex 101a5f7184..caa0c5d198 100644--- a/packages/docs/docs/transitions/index.mdx+++ b/packages/docs/docs/transitions/index.mdx@@ -4,7 +4,7 @@ sidebar_label: Overviewtitle: '@remotion/transitions'----_available from v4.0.53_+# @remotion/transitions<AvailableFrom v="4.0.53" />import Tabs from '@theme/Tabs';import TabItem from '@theme/TabItem';diff --git a/packages/docs/docs/use-buffer-state.mdx b/packages/docs/docs/use-buffer-state.mdxindex d861c75013..2eb673e8cf 100644--- a/packages/docs/docs/use-buffer-state.mdx+++ b/packages/docs/docs/use-buffer-state.mdx@@ -5,7 +5,7 @@ id: use-buffer-statecrumb: 'API'----_available from 4.0.111_+# useBufferState()<AvailableFrom v="4.0.111" />You can use this hook inside your [composition](/docs/terminology/composition) to retrieve functions that can inform the Player that your component is currently loading data.diff --git a/packages/docs/docs/webcodecs/index.mdx b/packages/docs/docs/webcodecs/index.mdxindex a113ee1d4a..4e612a5e71 100644--- a/packages/docs/docs/webcodecs/index.mdx+++ b/packages/docs/docs/webcodecs/index.mdx@@ -8,12 +8,12 @@ import Tabs from '@theme/Tabs';import TabItem from '@theme/TabItem';import {TableOfContents, WebCodecsGuide} from './TableOfContents';+# @remotion/webcodecs<AvailableFrom v="4.0.229" />+:::warning[We are phasing out Remotion WebCodecs and are moving to Mediabunny](/blog/mediabunny)!:::-_available from v4.0.229_-This package provides APIs for converting videos in the browser.It leverages [`@remotion/media-parser`](/docs/media-parser) to parse the video and audio data, and then uses the [WebCodecs API](https://developer.mozilla.org/en-US/docs/Web/API/WebCodecs_API) to encode the video.