🎥 Make videos programmatically with React
add crumbs
Jonny Burgera2e4c822d75c
diff --git a/packages/docs/docs/2-0-migration.md b/packages/docs/docs/2-0-migration.mdindex 86e4963b96..118dad4a22 100644--- a/packages/docs/docs/2-0-migration.md+++ b/packages/docs/docs/2-0-migration.md@@ -3,6 +3,7 @@ image: /static/generated/articles-docs-2-0-migration.pngid: 2-0-migrationsidebar_label: v2.0 Migrationtitle: v2.0 Migration+crumb: "Version Upgrade"---The following is a list of breaking changes in Remotion 2.0, as a reference for projects wanting to upgrade.diff --git a/packages/docs/docs/3-0-migration.md b/packages/docs/docs/3-0-migration.mdindex 0b9c19dded..62bab6289c 100644--- a/packages/docs/docs/3-0-migration.md+++ b/packages/docs/docs/3-0-migration.md@@ -2,6 +2,7 @@image: /static/generated/articles-docs-3-0-migration.pngid: 3-0-migrationtitle: v3.0 Migration+crumb: "Version Upgrade"---When upgrading from Remotion 2 to Remotion 3, note the following changes and apply them to your project.@@ -212,7 +213,7 @@ The import `overrideWebpackConfig` was deprecated and now removed. Use `Config.B**Upgrade path**: Change import in `remotion.config.ts`and use `overrideWebpackConfig()`.```tsx title="Previously"-import { overrideWebpackConfig } from "@remotion/bundler";+``````tsx title="Now"@@ -220,5 +221,3 @@ import { Config } from "remotion";Config.Bundling.overrideWebpackConfig();```--diff --git a/packages/docs/docs/absolute-fill.md b/packages/docs/docs/absolute-fill.mdindex b5b9f7ec22..295fa36a5e 100644--- a/packages/docs/docs/absolute-fill.md+++ b/packages/docs/docs/absolute-fill.md@@ -2,6 +2,7 @@image: /static/generated/articles-docs-absolute-fill.pngid: absolute-filltitle: <AbsoluteFill>+crumb: "API"---A helper component - it is an absolutely positioned `<div>` with the following styles:diff --git a/packages/docs/docs/after-effects.md b/packages/docs/docs/after-effects.mdindex 3a773ac775..6f4c6fdb22 100644--- a/packages/docs/docs/after-effects.md+++ b/packages/docs/docs/after-effects.md@@ -3,6 +3,7 @@ image: /static/generated/articles-docs-after-effects.pngid: after-effectstitle: Import from After Effectsslug: after-effects+crumb: "Integrations"---import {InlineStep} from '../components/InlineStep';diff --git a/packages/docs/docs/animating-properties.md b/packages/docs/docs/animating-properties.mdindex f2f9298c45..b1deb90c11 100644--- a/packages/docs/docs/animating-properties.md+++ b/packages/docs/docs/animating-properties.md@@ -2,6 +2,7 @@image: /static/generated/articles-docs-animating-properties.pngid: animating-propertiestitle: Animating properties+crumb: "The basics"---import {AnimatingProperties, Springs} from '../components/DocsDark'diff --git a/packages/docs/docs/audio-visualization.md b/packages/docs/docs/audio-visualization.mdindex ba649b6b91..e9655d887b 100644--- a/packages/docs/docs/audio-visualization.md+++ b/packages/docs/docs/audio-visualization.md@@ -1,6 +1,7 @@---title: Audio visualizationid: audio-visualization+crumb: "Techniques"---Using the audio visualization APIs in Remotion 2.0, you can create animations based on the frequency of the audio. This is often used to make graphics react to the volume or sound spectrum of the music.@@ -26,8 +27,8 @@ Using the [`visualizeAudio()`](/docs/visualize-audio) API, you can get an audioRefer to the documentation of the above mentioned functions to learn more.```tsx twoslash-import { Audio, useCurrentFrame, useVideoConfig } from "remotion";import { useAudioData, visualizeAudio } from "@remotion/media-utils";+import { Audio, useCurrentFrame, useVideoConfig } from "remotion";import music from "./music.mp3";export const MyComponent: React.FC = () => {diff --git a/packages/docs/docs/audio.md b/packages/docs/docs/audio.mdindex 1e5fae88d8..64e0dce62b 100644--- a/packages/docs/docs/audio.md+++ b/packages/docs/docs/audio.md@@ -1,6 +1,7 @@---title: <Audio>id: audio+crumb: "How to"---Using this component, you can add audio to your video. All audio formats which are supported by Chromium are supported by the component.diff --git a/packages/docs/docs/audiobuffertodataurl.md b/packages/docs/docs/audiobuffertodataurl.mdindex 00c2885540..b91e38c093 100644--- a/packages/docs/docs/audiobuffertodataurl.md+++ b/packages/docs/docs/audiobuffertodataurl.md@@ -1,6 +1,7 @@---id: audio-buffer-to-data-urltitle: audioBufferToDataUrl()+crumb: "@remotion/media-utils"---_Part of the `@remotion/media-utils` package of helper functions. Available from v2.5.7._diff --git a/packages/docs/docs/brownfield-installation.md b/packages/docs/docs/brownfield-installation.mdindex 762f48b6dd..db6b49fec7 100644--- a/packages/docs/docs/brownfield-installation.md+++ b/packages/docs/docs/brownfield-installation.md@@ -2,6 +2,7 @@id: brownfieldtitle: Installing Remotion in an existing projectsidebar_label: Installation in existing project+crumb: "Brownfield integration"---import Tabs from '@theme/Tabs';diff --git a/packages/docs/docs/bundle.md b/packages/docs/docs/bundle.mdindex 98899ce3f5..7a06d24d80 100644--- a/packages/docs/docs/bundle.md+++ b/packages/docs/docs/bundle.md@@ -1,6 +1,7 @@---id: bundletitle: bundle()+crumb: "@remotion/bundler"---_Part of the `@remotion/bundler` package._diff --git a/packages/docs/docs/chromium-flags.md b/packages/docs/docs/chromium-flags.mdindex d9b503b94a..1dceca0445 100644--- a/packages/docs/docs/chromium-flags.md+++ b/packages/docs/docs/chromium-flags.md@@ -1,6 +1,7 @@---id: chromium-flagstitle: Chromium flags+crumb: "Tweaks"---import {AngleChangelog} from '../components/AngleChangelog';diff --git a/packages/docs/docs/cli/benchmark.md b/packages/docs/docs/cli/benchmark.mdindex 4942c60995..18bb095fb7 100644--- a/packages/docs/docs/cli/benchmark.md+++ b/packages/docs/docs/cli/benchmark.md@@ -1,6 +1,7 @@---title: npx remotion benchmarksidebar_label: benchmark+crumb: CLI Reference---_available from v3.2.28_diff --git a/packages/docs/docs/cli/compositions.md b/packages/docs/docs/cli/compositions.mdindex 050fc3a04e..423ee0b4fe 100644--- a/packages/docs/docs/cli/compositions.md+++ b/packages/docs/docs/cli/compositions.md@@ -1,6 +1,7 @@---title: npx remotion compositionssidebar_label: compositions+crumb: CLI Reference---_Available from v2.6.12._diff --git a/packages/docs/docs/cli/help.md b/packages/docs/docs/cli/help.mdindex f5d99fdf5f..f7a7ad050e 100644--- a/packages/docs/docs/cli/help.md+++ b/packages/docs/docs/cli/help.md@@ -1,6 +1,7 @@---title: npx remotion helpsidebar_label: help+crumb: CLI Reference---Prints available commands and flags for the Remotion CLI.diff --git a/packages/docs/docs/cli/install.md b/packages/docs/docs/cli/install.mdindex 46517a6c47..8360fccb13 100644--- a/packages/docs/docs/cli/install.md+++ b/packages/docs/docs/cli/install.md@@ -1,6 +1,7 @@---title: npx remotion installsidebar_label: install+crumb: CLI Reference---_available from v3.3_diff --git a/packages/docs/docs/cli/preview.md b/packages/docs/docs/cli/preview.mdindex 17acb7bdfc..d9fed9f2d8 100644--- a/packages/docs/docs/cli/preview.md+++ b/packages/docs/docs/cli/preview.md@@ -1,6 +1,7 @@---title: npx remotion previewsidebar_label: preview+crumb: CLI Reference---Start the server which allows you to preview the Remotion video. The only argument to pass is the entry file:diff --git a/packages/docs/docs/cli/render.md b/packages/docs/docs/cli/render.mdindex 4a0eb954a1..7b5bf3c69d 100644--- a/packages/docs/docs/cli/render.md+++ b/packages/docs/docs/cli/render.md@@ -1,6 +1,7 @@---title: npx remotion rendersidebar_label: render+crumb: CLI Reference---import {AngleChangelog} from '../../components/AngleChangelog';diff --git a/packages/docs/docs/cli/still.md b/packages/docs/docs/cli/still.mdindex 81a993da09..88fe9e424d 100644--- a/packages/docs/docs/cli/still.md+++ b/packages/docs/docs/cli/still.md@@ -1,6 +1,7 @@---title: npx remotion stillsidebar_label: still+crumb: CLI Reference---import {AngleChangelog} from '../../components/AngleChangelog';diff --git a/packages/docs/docs/cli/upgrade.md b/packages/docs/docs/cli/upgrade.mdindex 88ff9f4129..50d74ea2fc 100644--- a/packages/docs/docs/cli/upgrade.md+++ b/packages/docs/docs/cli/upgrade.md@@ -1,6 +1,7 @@---title: npx remotion upgradesidebar_label: upgrade+crumb: CLI Reference---Upgrades all Remotion-related packages.diff --git a/packages/docs/docs/cli/versions.md b/packages/docs/docs/cli/versions.mdindex f651c52be9..52e6627e93 100644--- a/packages/docs/docs/cli/versions.md+++ b/packages/docs/docs/cli/versions.md@@ -1,6 +1,7 @@---title: npx remotion versionssidebar_label: versions+crumb: CLI Reference---_Available from Remotion v2.6.2_diff --git a/packages/docs/docs/composition.md b/packages/docs/docs/composition.mdindex b1e9960d52..549e9c51ab 100644--- a/packages/docs/docs/composition.md+++ b/packages/docs/docs/composition.md@@ -1,6 +1,7 @@---id: compositiontitle: <Composition>+crumb: "API"---This is the component to use to register a video to make it renderable and make it show up in the sidebar of the Remotion development interface.diff --git a/packages/docs/docs/config.md b/packages/docs/docs/config.mdindex 140bf4993f..2a67ae80ef 100644--- a/packages/docs/docs/config.md+++ b/packages/docs/docs/config.md@@ -1,6 +1,7 @@---id: configtitle: Configuration file+crumb: "remotion.config.ts"---To configure Remotion, create a `remotion.config.ts` file in the root of your Remotion project.diff --git a/packages/docs/docs/continue-render.md b/packages/docs/docs/continue-render.mdindex 9326cc2233..18a75d3096 100644--- a/packages/docs/docs/continue-render.md+++ b/packages/docs/docs/continue-render.md@@ -1,6 +1,7 @@---id: continue-rendertitle: continueRender()+crumb: "API"---import {Redirect} from '@docusaurus/router';diff --git a/packages/docs/docs/data-fetching.md b/packages/docs/docs/data-fetching.mdindex f25692a43f..cc8b4aeb73 100644--- a/packages/docs/docs/data-fetching.md+++ b/packages/docs/docs/data-fetching.md@@ -1,6 +1,7 @@---id: data-fetchingtitle: Data fetching+crumb: "How to"---One of the coolest things about Remotion is that you can fetch data from an API.@@ -12,7 +13,7 @@ It works almost like you are used to: You can use the [`fetch`](https://developeThere are two functions, [`delayRender`](/docs/delay-render) and [`continueRender`](/docs/continue-render), which you can use to tell Remotion to not yet render the frame. If you want to asynchronously render a frame, you should call `delayRender()` as soon as possible, before the window `onload` event is fired. The function returns a handle that you need to give Remotion the green light to render later using `continueRender()`.```tsx twoslash-import { useEffect, useCallback, useState } from "react";+import { useCallback, useEffect, useState } from "react";import { continueRender, delayRender } from "remotion";export const MyVideo = () => {diff --git a/packages/docs/docs/dataset-render.md b/packages/docs/docs/dataset-render.mdindex a3ac69046b..386350c83c 100644--- a/packages/docs/docs/dataset-render.md+++ b/packages/docs/docs/dataset-render.md@@ -2,6 +2,7 @@id: dataset-rendersidebar_label: Render a datasettitle: Render videos programmatically from a dataset+crumb: "Tutorials"---import { Player } from "@remotion/player";diff --git a/packages/docs/docs/delay-render.md b/packages/docs/docs/delay-render.mdindex fcc9b0bea9..e2307a03ac 100644--- a/packages/docs/docs/delay-render.md+++ b/packages/docs/docs/delay-render.md@@ -2,6 +2,7 @@id: delay-rendertitle: delayRender() and continueRender()sidebar_label: delayRender()+crumb: "How to"---By calling `delayRender()`, you are signaling that a frame should not be immediately rendered and instead should wait on an asynchronous task to complete.diff --git a/packages/docs/docs/dynamic-import.md b/packages/docs/docs/dynamic-import.mdindex 1887b2b41c..1e7610dea6 100644--- a/packages/docs/docs/dynamic-import.md+++ b/packages/docs/docs/dynamic-import.md@@ -1,6 +1,7 @@---title: Webpack dynamic importsid: webpack-dynamic-imports+crumb: "Knowledge Base"---A common need in Remotion is to import assets from dynamic paths. This means that sometimes you don't know the exact path of an asset that should be imported upfront and you want to calculate it during runtime.diff --git a/packages/docs/docs/dynamic-metadata.md b/packages/docs/docs/dynamic-metadata.mdindex 5f6bf0321f..5f18d0fd0f 100644--- a/packages/docs/docs/dynamic-metadata.md+++ b/packages/docs/docs/dynamic-metadata.md@@ -1,6 +1,7 @@---id: dynamic-metadatatitle: Dynamic duration, FPS & dimensions+crumb: "How To"---```twoslash include example@@ -125,7 +126,6 @@ getCompositions(bundled, {``````tsx twoslash-import { renderFrames as rf } from "@remotion/renderer";const renderFrames = (options: { inputProps: {} }) => {};// ---cut---renderFrames({diff --git a/packages/docs/docs/easing.md b/packages/docs/docs/easing.mdindex 78186e3f3d..230f9f394e 100644--- a/packages/docs/docs/easing.md+++ b/packages/docs/docs/easing.md@@ -1,6 +1,7 @@---id: easingtitle: Easing+crumb: "API"---:::info@@ -48,9 +49,9 @@ The following helpers are used to modify other easing functions.## Example```tsx twoslash-import { useCurrentFrame, AbsoluteFill } from "remotion";+import { AbsoluteFill, useCurrentFrame } from "remotion";// ---cut----import { interpolate, Easing } from "remotion";+import { Easing, interpolate } from "remotion";const MyVideo: React.FC = () => {const frame = useCurrentFrame();diff --git a/packages/docs/docs/enametoolong.md b/packages/docs/docs/enametoolong.mdindex 273a67995b..845e6bd9ba 100644--- a/packages/docs/docs/enametoolong.md+++ b/packages/docs/docs/enametoolong.md@@ -1,6 +1,7 @@---id: enametoolongtitle: ENAMETOOLONG+crumb: "Troubleshooting"---```diff --git a/packages/docs/docs/encoding.md b/packages/docs/docs/encoding.mdindex efe6480295..744287e4cd 100644--- a/packages/docs/docs/encoding.md+++ b/packages/docs/docs/encoding.md@@ -1,6 +1,7 @@---id: encodingtitle: Encoding Guide+crumb: "Codecs and more"---Backed by [FFMPEG](https://ffmpeg.org/), Remotion allows you to configure a variety of encoding settings. The goal of this page is to help you navigate through the settings and to help you choose the right one.diff --git a/packages/docs/docs/env-variables.md b/packages/docs/docs/env-variables.mdindex ae68361184..2991209c45 100644--- a/packages/docs/docs/env-variables.md+++ b/packages/docs/docs/env-variables.md@@ -1,6 +1,7 @@---id: env-variablestitle: Environment variables+crumb: "How To"---_Available from v2.1.2._diff --git a/packages/docs/docs/ffmpeg.md b/packages/docs/docs/ffmpeg.mdindex f0ad6a5eff..3c76c09ea8 100644--- a/packages/docs/docs/ffmpeg.md+++ b/packages/docs/docs/ffmpeg.md@@ -1,6 +1,7 @@---title: Installing FFmpegsidebar_label: Installing FFmpeg+crumb: "(you don't have to)"---Remotion requires FFmpeg to encode videos. Since v3.3, you do not need to install FFmpeg manually. This page documents the behavior of Remotion for developers needing advanced control.diff --git a/packages/docs/docs/figma.md b/packages/docs/docs/figma.mdindex 5aae0e2ca0..8a7bad1ea7 100644--- a/packages/docs/docs/figma.md+++ b/packages/docs/docs/figma.md@@ -1,6 +1,7 @@---id: figmatitle: Import from Figma+crumb: "The best of both"---You can export a design from Figma as an SVG file and import it as a React component in Remotion and then animate it.diff --git a/packages/docs/docs/flickering.md b/packages/docs/docs/flickering.mdindex ec8cdf81dc..f8b19e794e 100644--- a/packages/docs/docs/flickering.md+++ b/packages/docs/docs/flickering.md@@ -1,6 +1,7 @@---id: flickeringtitle: Flickering+crumb: "How to avoid"---If your video flickers or suffers from choppiness during rendering, it is an indication that you have a **multi-threading issue**.diff --git a/packages/docs/docs/folder.md b/packages/docs/docs/folder.mdindex 0030aaa2ac..d27fdfcf90 100644--- a/packages/docs/docs/folder.md+++ b/packages/docs/docs/folder.md@@ -1,6 +1,7 @@---title: <Folder>id: folder+crumb: "API"---_Available from v3.0.1_diff --git a/packages/docs/docs/freeze.md b/packages/docs/docs/freeze.mdindex 78c324f456..f854ab1f05 100644--- a/packages/docs/docs/freeze.md+++ b/packages/docs/docs/freeze.md@@ -1,6 +1,7 @@---id: freezetitle: <Freeze>+crumb: "API"---import { FreezeExample } from "../components/FreezeExample/FreezeExample";diff --git a/packages/docs/docs/get-audio-data.md b/packages/docs/docs/get-audio-data.mdindex 8d7808605f..0befc54391 100644--- a/packages/docs/docs/get-audio-data.md+++ b/packages/docs/docs/get-audio-data.md@@ -1,6 +1,7 @@---title: getAudioData()id: get-audio-data+crumb: "@remotion/media-utils"---_Part of the `@remotion/media-utils` package of helper functions._diff --git a/packages/docs/docs/get-audio-duration-in-seconds.md b/packages/docs/docs/get-audio-duration-in-seconds.mdindex 2ea08ae053..61f67f6be3 100644--- a/packages/docs/docs/get-audio-duration-in-seconds.md+++ b/packages/docs/docs/get-audio-duration-in-seconds.md@@ -1,6 +1,7 @@---title: getAudioDurationInSeconds()id: get-audio-duration-in-seconds+crumb: "@remotion/media-utils"---_Part of the `@remotion/media-utils` package of helper functions._diff --git a/packages/docs/docs/get-input-props.md b/packages/docs/docs/get-input-props.mdindex ca60fe3518..defeffda1e 100644--- a/packages/docs/docs/get-input-props.md+++ b/packages/docs/docs/get-input-props.md@@ -1,6 +1,7 @@---title: getInputProps()id: get-input-props+crumb: "API"---_Available from v2.0_.diff --git a/packages/docs/docs/get-video-metadata.md b/packages/docs/docs/get-video-metadata.mdindex dc41ac2fab..f7487ef54f 100644--- a/packages/docs/docs/get-video-metadata.md+++ b/packages/docs/docs/get-video-metadata.md@@ -1,6 +1,7 @@---title: getVideoMetadata()id: get-video-metadata+crumb: "@remotion/media-utils"---_Part of the `@remotion/media-utils` package of helper functions._@@ -27,8 +28,6 @@ A string pointing to an asset.```tsx twoslash// @module: ESNext-// @target: ESNext-import { Audio } from "remotion";// ---cut---import { getVideoMetadata } from "@remotion/media-utils";import video from "../video.mp4";diff --git a/packages/docs/docs/get-waveform-portion.md b/packages/docs/docs/get-waveform-portion.mdindex d1e6b82c67..42f17354fa 100644--- a/packages/docs/docs/get-waveform-portion.md+++ b/packages/docs/docs/get-waveform-portion.md@@ -1,6 +1,7 @@---title: getWaveformPortion()id: get-waveform-portion+crumb: "@remotion/media-utils"---_Part of the `@remotion/media-utils` package of helper functions._@@ -29,8 +30,6 @@ An object with the following arguments:```tsx twoslash// @module: ESNext-// @target: ESNext-import { Audio } from "remotion";// ---cut---import { getAudioData, getWaveformPortion } from "@remotion/media-utils";import music from "./music.mp3";diff --git a/packages/docs/docs/getting-started.md b/packages/docs/docs/getting-started.mdindex 764e79db19..6207054020 100644--- a/packages/docs/docs/getting-started.md+++ b/packages/docs/docs/getting-started.md@@ -3,6 +3,7 @@ id: getting-startedtitle: Setup and Installationsidebar_label: Installationslug: /+crumb: "Let's begin!"---import Tabs from '@theme/Tabs';diff --git a/packages/docs/docs/gif/get-gif-duration-in-seconds.md b/packages/docs/docs/gif/get-gif-duration-in-seconds.mdindex 453164e96a..867b77db9b 100644--- a/packages/docs/docs/gif/get-gif-duration-in-seconds.md+++ b/packages/docs/docs/gif/get-gif-duration-in-seconds.md@@ -1,6 +1,7 @@---title: getGifDurationInSeconds()id: get-gif-duration-in-seconds+crumb: "@remotion/gif"---_Part of the [`@remotion/gif`](/docs/gif) package_diff --git a/packages/docs/docs/gif/gif.md b/packages/docs/docs/gif/gif.mdindex 8b62f00ce7..8cae31e506 100644--- a/packages/docs/docs/gif/gif.md+++ b/packages/docs/docs/gif/gif.md@@ -2,6 +2,7 @@slug: gifsidebar_label: "<Gif>"title: "<Gif>"+crumb: "@remotion/gif"---_Part of the [`@remotion/gif`](/docs/gif) package_diff --git a/packages/docs/docs/google-fonts/get-available-fonts.md b/packages/docs/docs/google-fonts/get-available-fonts.mdindex 5fab99f041..87a383dc36 100644--- a/packages/docs/docs/google-fonts/get-available-fonts.md+++ b/packages/docs/docs/google-fonts/get-available-fonts.md@@ -1,5 +1,6 @@---title: getAvailableFonts()+crumb: "@remotion/google-fonts"---import {AvailableFonts} from '../../components/AvailableFonts'diff --git a/packages/docs/docs/google-fonts/get-info.md b/packages/docs/docs/google-fonts/get-info.mdindex 8c17de6a7f..dc96c6aa6d 100644--- a/packages/docs/docs/google-fonts/get-info.md+++ b/packages/docs/docs/google-fonts/get-info.md@@ -1,5 +1,6 @@---title: getInfo()+crumb: "@remotion/google-fonts"---import {AvailableFonts} from '../../components/AvailableFonts'diff --git a/packages/docs/docs/google-fonts/load-font.md b/packages/docs/docs/google-fonts/load-font.mdindex e98796bc64..2accdb7bcd 100644--- a/packages/docs/docs/google-fonts/load-font.md+++ b/packages/docs/docs/google-fonts/load-font.md@@ -1,5 +1,6 @@---title: loadFont()+crumb: "@remotion/google-fonts"---_Part of the [`@remotion/google-fonts`](/docs/google-fonts) package_diff --git a/packages/docs/docs/gpu.md b/packages/docs/docs/gpu.mdindex 833549c8e8..ae880305b2 100644--- a/packages/docs/docs/gpu.md+++ b/packages/docs/docs/gpu.md@@ -2,6 +2,7 @@id: gputitle: Using the GPUsidebar_label: Using the GPU+crumb: "Need for Speed"---Some types of content in Remotion can benefit from a GPU being available on the machine that is used for rendering. That is:diff --git a/packages/docs/docs/iframe.md b/packages/docs/docs/iframe.mdindex 6b87e47491..952c54b6e0 100644--- a/packages/docs/docs/iframe.md+++ b/packages/docs/docs/iframe.md@@ -1,6 +1,7 @@---title: <IFrame>id: iframe+crumb: "API"---The `<IFrame />` can be used like a regular `<iframe>` HTML tag.diff --git a/packages/docs/docs/img.md b/packages/docs/docs/img.mdindex 1a68ca706f..173da906d5 100644--- a/packages/docs/docs/img.md+++ b/packages/docs/docs/img.md@@ -1,6 +1,7 @@---title: <Img>id: img+crumb: "API"---The `<Img />` tag can be used like a regular `<img>` HTML tag.diff --git a/packages/docs/docs/importing-assets.md b/packages/docs/docs/importing-assets.mdindex cf2bc44ec7..d55dd9922f 100644--- a/packages/docs/docs/importing-assets.md+++ b/packages/docs/docs/importing-assets.md@@ -1,6 +1,7 @@---id: assetstitle: Importing assets+crumb: "How To"---To import assets in Remotion, create a `public/` folder in your project and use [`staticFile()`](/docs/staticfile) to import it.diff --git a/packages/docs/docs/interpolate-colors.md b/packages/docs/docs/interpolate-colors.mdindex 8d1b1da36f..3b1b7df61d 100644--- a/packages/docs/docs/interpolate-colors.md+++ b/packages/docs/docs/interpolate-colors.md@@ -1,6 +1,7 @@---title: interpolateColors()id: interpolate-colors+crumb: "API"---_Available from v2.0.3_@@ -42,7 +43,7 @@ In this example, we are interpolating colors from red to yellow. At frame 0 (theUsing the following snippet, we can calculate the current color for any frame:```tsx twoslash-import { useCurrentFrame, interpolateColors } from "remotion";+import { interpolateColors, useCurrentFrame } from "remotion";const frame = useCurrentFrame(); // 10diff --git a/packages/docs/docs/interpolate.md b/packages/docs/docs/interpolate.mdindex 6f850f4a10..d7da10cae6 100644--- a/packages/docs/docs/interpolate.md+++ b/packages/docs/docs/interpolate.md@@ -1,6 +1,7 @@---title: interpolate()id: interpolate+crumb: "API"---import { YouTube } from "../components/YouTube";diff --git a/packages/docs/docs/jsx-support.md b/packages/docs/docs/jsx-support.mdindex adbc3e1db2..1117fd8df3 100644--- a/packages/docs/docs/jsx-support.md+++ b/packages/docs/docs/jsx-support.md@@ -1,6 +1,7 @@---id: javascripttitle: Plain JavaScript+crumb: "How To"---Since Remotion 1.3, you can opt out of Typescript and it's type checking advantages in Remotion. Continue at your own risk.diff --git a/packages/docs/docs/lambda/api.md b/packages/docs/docs/lambda/api.mdindex 8a5b85f566..48ac645602 100644--- a/packages/docs/docs/lambda/api.md+++ b/packages/docs/docs/lambda/api.md@@ -1,5 +1,6 @@---title: "@remotion/lambda"+crumb: "Render videos without servers"---import Tabs from '@theme/Tabs';diff --git a/packages/docs/docs/lambda/checklist.md b/packages/docs/docs/lambda/checklist.mdindex 4678ec306d..fdcd6701d0 100644--- a/packages/docs/docs/lambda/checklist.md+++ b/packages/docs/docs/lambda/checklist.md@@ -3,6 +3,7 @@ id: checklistsidebar_label: Production Checklisttitle: Production Checklistslug: /lambda/checklist+crumb: "Lambda"---import {DefaultTimeout} from '../../components/lambda/default-timeout';diff --git a/packages/docs/docs/lambda/cli/compositions.md b/packages/docs/docs/lambda/cli/compositions.mdindex 7766ef6ea2..18ee2f54b4 100644--- a/packages/docs/docs/lambda/cli/compositions.md+++ b/packages/docs/docs/lambda/cli/compositions.md@@ -1,6 +1,7 @@---title: npx remotion lambda compositionssidebar_label: compositions+crumb: "Lambda CLI Reference"---_Available from v3.3.2._diff --git a/packages/docs/docs/lambda/cli/functions.md b/packages/docs/docs/lambda/cli/functions.mdindex 8ccac5230c..0681c79b21 100644--- a/packages/docs/docs/lambda/cli/functions.md+++ b/packages/docs/docs/lambda/cli/functions.md@@ -3,6 +3,7 @@ id: functionssidebar_label: functionstitle: "npx remotion lambda functions"slug: /lambda/cli/functions+crumb: "Lambda CLI Reference"---import {DefaultMemorySize} from '../../../components/lambda/default-memory-size';diff --git a/packages/docs/docs/lambda/cli/policies.md b/packages/docs/docs/lambda/cli/policies.mdindex 3c986fae6a..0808d563e5 100644--- a/packages/docs/docs/lambda/cli/policies.md+++ b/packages/docs/docs/lambda/cli/policies.md@@ -3,6 +3,7 @@ id: policiessidebar_label: policiestitle: "npx remotion lambda policies"slug: /lambda/cli/policies+crumb: "Lambda CLI Reference"---import {RolePolicy} from '../../../components/lambda/role-permissions.tsx';diff --git a/packages/docs/docs/lambda/cli/quotas.md b/packages/docs/docs/lambda/cli/quotas.mdindex 12668a602e..6cc07de2d2 100644--- a/packages/docs/docs/lambda/cli/quotas.md+++ b/packages/docs/docs/lambda/cli/quotas.md@@ -3,6 +3,7 @@ id: quotassidebar_label: quotastitle: "npx remotion lambda quotas"slug: /lambda/cli/quotas+crumb: "Lambda CLI Reference"---Displays the AWS Lambda concurrency and burst limits currently being applied to your account and region. You can use the `increase` command to send a request to AWS asking them to increase their quotas.diff --git a/packages/docs/docs/lambda/cli/regions.md b/packages/docs/docs/lambda/cli/regions.mdindex 870b67777d..5a6665d527 100644--- a/packages/docs/docs/lambda/cli/regions.md+++ b/packages/docs/docs/lambda/cli/regions.md@@ -2,6 +2,7 @@id: regionssidebar_label: regionstitle: "npx remotion lambda regions"+crumb: "Lambda CLI Reference"---Prints the AWS regions supported by the current version of Remotion Lambda. Useful for bash scripts.diff --git a/packages/docs/docs/lambda/cli/render.md b/packages/docs/docs/lambda/cli/render.mdindex b2364da05c..b67c48eb2b 100644--- a/packages/docs/docs/lambda/cli/render.md+++ b/packages/docs/docs/lambda/cli/render.md@@ -3,6 +3,7 @@ id: rendersidebar_label: rendertitle: "npx remotion lambda render"slug: /lambda/cli/render+crumb: "Lambda CLI Reference"---import { MinimumFramesPerLambda } from "../../../components/lambda/default-frames-per-lambda";diff --git a/packages/docs/docs/lambda/cli/sites.md b/packages/docs/docs/lambda/cli/sites.mdindex e079f18a95..a897472368 100644--- a/packages/docs/docs/lambda/cli/sites.md+++ b/packages/docs/docs/lambda/cli/sites.md@@ -3,6 +3,7 @@ id: sitessidebar_label: sitestitle: "npx remotion lambda sites"slug: /lambda/cli/sites+crumb: "Lambda CLI Reference"---The `npx remotion lambda sites` command allows to create, view and delete Remotion projects in your S3 bucket.diff --git a/packages/docs/docs/lambda/cli/still.md b/packages/docs/docs/lambda/cli/still.mdindex b06a382e88..5c497ff840 100644--- a/packages/docs/docs/lambda/cli/still.md+++ b/packages/docs/docs/lambda/cli/still.md@@ -3,6 +3,7 @@ id: stillsidebar_label: stilltitle: "npx remotion lambda still"slug: /lambda/cli/still+crumb: "Lambda CLI Reference"---Using the `npx remotion lambda still` command, you can render a still frame in the cloud.diff --git a/packages/docs/docs/lambda/concurrency.md b/packages/docs/docs/lambda/concurrency.mdindex d04000297a..89abfd5ba5 100644--- a/packages/docs/docs/lambda/concurrency.md+++ b/packages/docs/docs/lambda/concurrency.md@@ -1,6 +1,7 @@---id: concurrencytitle: Concurrency+crumb: "Lambda"---Remotion Lambda is a highly concurrent distributed video rendering system. That means that the video rendering work is split up across many Lambda functions. How many Lambda functions exactly can be defined by you, or you let Remotions defaults decide.diff --git a/packages/docs/docs/lambda/cost.md b/packages/docs/docs/lambda/cost.mdindex 3de98ad5e3..7f4df72dea 100644--- a/packages/docs/docs/lambda/cost.md+++ b/packages/docs/docs/lambda/cost.md@@ -2,6 +2,7 @@id: optimizing-costtitle: Optimizing for costslug: /lambda/optimizing-cost+crumb: "Lambda"---On this page, a few strategies for optimizing the cost of using Remotion Lambda are presented.diff --git a/packages/docs/docs/lambda/custom-destination.md b/packages/docs/docs/lambda/custom-destination.mdindex abeb5f4a01..933ae96951 100644--- a/packages/docs/docs/lambda/custom-destination.md+++ b/packages/docs/docs/lambda/custom-destination.md@@ -2,6 +2,7 @@id: custom-destinationsidebar_label: Custom output destinationtitle: Customizing Lambda output destination+crumb: "Lambda"---By default a render artifact is saved into the same S3 bucket as where the site is located under the key `renders/${renderId}/out.{extension}` (for example: `renders/hy0k2siao8/out.mp4`)diff --git a/packages/docs/docs/lambda/custom-layers.md b/packages/docs/docs/lambda/custom-layers.mdindex 8a5315950c..abc14f108d 100644--- a/packages/docs/docs/lambda/custom-layers.md+++ b/packages/docs/docs/lambda/custom-layers.md@@ -1,6 +1,7 @@---title: Custom Layersslug: custom-layers+crumb: "Lambda"---import Tabs from '@theme/Tabs';diff --git a/packages/docs/docs/lambda/deletefunction.md b/packages/docs/docs/lambda/deletefunction.mdindex 634a74e825..8a62c172db 100644--- a/packages/docs/docs/lambda/deletefunction.md+++ b/packages/docs/docs/lambda/deletefunction.md@@ -2,6 +2,7 @@id: deletefunctiontitle: deleteFunction()slug: /lambda/deletefunction+crumb: "Lambda API"---Deletes a deployed Lambda function based on it's name.diff --git a/packages/docs/docs/lambda/deleterender.md b/packages/docs/docs/lambda/deleterender.mdindex 9f5c5fd207..e9705c3310 100644--- a/packages/docs/docs/lambda/deleterender.md+++ b/packages/docs/docs/lambda/deleterender.md@@ -2,6 +2,7 @@id: deleterendertitle: deleteRender()slug: /lambda/deleterender+crumb: "Lambda API"---Deletes a rendered video, audio or still and it's associated metada.diff --git a/packages/docs/docs/lambda/deletesite.md b/packages/docs/docs/lambda/deletesite.mdindex 53121c732b..05edb3b9d8 100644--- a/packages/docs/docs/lambda/deletesite.md+++ b/packages/docs/docs/lambda/deletesite.md@@ -2,6 +2,7 @@id: deletesitetitle: deleteSite()slug: /lambda/deletesite+crumb: "Lambda API"---Removes a Remotion project from your S3 bucket.diff --git a/packages/docs/docs/lambda/deployfunction.md b/packages/docs/docs/lambda/deployfunction.mdindex 1b43e698d8..3dafb184d4 100644--- a/packages/docs/docs/lambda/deployfunction.md+++ b/packages/docs/docs/lambda/deployfunction.md@@ -2,6 +2,7 @@id: deployfunctiontitle: deployFunction()slug: /lambda/deployfunction+crumb: "Lambda API"---Creates an [AWS Lambda](https://aws.amazon.com/lambda/) function in your AWS account that will be able to render a video in the cloud.diff --git a/packages/docs/docs/lambda/deploysite.md b/packages/docs/docs/lambda/deploysite.mdindex cb39caaf3e..1ebd06b69c 100644--- a/packages/docs/docs/lambda/deploysite.md+++ b/packages/docs/docs/lambda/deploysite.md@@ -2,6 +2,7 @@id: deploysitetitle: deploySite()slug: /lambda/deploysite+crumb: "Lambda API"---Takes a Remotion project, bundles it and uploads it to an S3 bucket. Once uploaded, a Lambda function can render any composition in the Remotion project by specifying the URL.diff --git a/packages/docs/docs/lambda/disk-size.md b/packages/docs/docs/lambda/disk-size.mdindex 6ee931fd6c..a43d75c919 100644--- a/packages/docs/docs/lambda/disk-size.md+++ b/packages/docs/docs/lambda/disk-size.md@@ -1,6 +1,7 @@---id: disk-sizetitle: Disk size+crumb: "Lambda"---By default, each Lambda function comes with an ephemereal disk size of 2048MB. This is enough storage to render a video of approximately 32 minutes of Full HD video.diff --git a/packages/docs/docs/lambda/downloadmedia.md b/packages/docs/docs/lambda/downloadmedia.mdindex 788cd49fc3..8bc7924d50 100644--- a/packages/docs/docs/lambda/downloadmedia.md+++ b/packages/docs/docs/lambda/downloadmedia.md@@ -2,6 +2,7 @@id: downloadmediatitle: downloadMedia()slug: /lambda/downloadmedia+crumb: "Lambda API"---Downloads a rendered video, audio or still to your local disk.diff --git a/packages/docs/docs/lambda/downloadvideo.md b/packages/docs/docs/lambda/downloadvideo.mdindex 332cc761a6..823e20ff66 100644--- a/packages/docs/docs/lambda/downloadvideo.md+++ b/packages/docs/docs/lambda/downloadvideo.md@@ -1,6 +1,7 @@---id: downloadvideotitle: downloadVideo()+crumb: "Lambda API"---import Redirect from '../../components/Redirect';diff --git a/packages/docs/docs/lambda/estimateprice.md b/packages/docs/docs/lambda/estimateprice.mdindex 9b8060b8b3..118a019727 100644--- a/packages/docs/docs/lambda/estimateprice.md+++ b/packages/docs/docs/lambda/estimateprice.md@@ -2,6 +2,7 @@id: estimatepricetitle: estimatePrice()slug: /lambda/estimateprice+crumb: "Lambda API"---Calculates the AWS costs incurred for AWS Lambda given the region, execution duration and memory size based on the AWS Lambda pricing matrix.diff --git a/packages/docs/docs/lambda/faq.md b/packages/docs/docs/lambda/faq.mdindex 7f4a517522..dd6be55cea 100644--- a/packages/docs/docs/lambda/faq.md+++ b/packages/docs/docs/lambda/faq.md@@ -2,6 +2,7 @@sidebar_label: FAQtitle: FAQslug: /lambda/faq+crumb: "Lambda"---Some commonly asked questions about Remotion Lambda.diff --git a/packages/docs/docs/lambda/getawsclient.md b/packages/docs/docs/lambda/getawsclient.mdindex 53671d12cf..12d549cc0c 100644--- a/packages/docs/docs/lambda/getawsclient.md+++ b/packages/docs/docs/lambda/getawsclient.md@@ -1,6 +1,7 @@---id: getawsclienttitle: getAwsClient()+crumb: "Lambda API"---This API exposes full access to the AWS SDK that Remotion uses under the hood. You can use it to interact with your AWS infrastructure in ways that Remotion doesn't provide a function for.diff --git a/packages/docs/docs/lambda/getcompositionsonlambda.md b/packages/docs/docs/lambda/getcompositionsonlambda.mdindex 59a5760ab3..e071fdc9a9 100644--- a/packages/docs/docs/lambda/getcompositionsonlambda.md+++ b/packages/docs/docs/lambda/getcompositionsonlambda.md@@ -2,6 +2,7 @@id: getcompositionsonlambdatitle: getCompositionsOnLambda()slug: /lambda/getcompositionsonlambda+crumb: "Lambda API"---_available from v3.3.2_diff --git a/packages/docs/docs/lambda/getfunctioninfo.md b/packages/docs/docs/lambda/getfunctioninfo.mdindex d5fe64ae49..f01d47642f 100644--- a/packages/docs/docs/lambda/getfunctioninfo.md+++ b/packages/docs/docs/lambda/getfunctioninfo.md@@ -2,6 +2,7 @@id: getfunctioninfotitle: getFunctionInfo()slug: /lambda/getfunctioninfo+crumb: "Lambda API"---Gets information about a function given it's name and region.diff --git a/packages/docs/docs/lambda/getfunctions.md b/packages/docs/docs/lambda/getfunctions.mdindex 8c3f716f24..95b4fae766 100644--- a/packages/docs/docs/lambda/getfunctions.md+++ b/packages/docs/docs/lambda/getfunctions.md@@ -2,6 +2,7 @@title: getFunctions()id: getfunctionsslug: /lambda/getfunctions+crumb: "Lambda API"---Retrieves a list of functions that Remotion deployed to AWS Lambda in a certain region.diff --git a/packages/docs/docs/lambda/getorcreatebucket.md b/packages/docs/docs/lambda/getorcreatebucket.mdindex 23d510802b..432a66ed52 100644--- a/packages/docs/docs/lambda/getorcreatebucket.md+++ b/packages/docs/docs/lambda/getorcreatebucket.md@@ -2,6 +2,7 @@id: getorcreatebuckettitle: getOrCreateBucket()slug: /lambda/getorcreatebucket+crumb: "Lambda API"---Creates a bucket for Remotion Lambda in your S3 account. If one already exists, it will get returned instead.diff --git a/packages/docs/docs/lambda/getregions.md b/packages/docs/docs/lambda/getregions.mdindex 092573a1df..608d7b652f 100644--- a/packages/docs/docs/lambda/getregions.md+++ b/packages/docs/docs/lambda/getregions.md@@ -1,6 +1,7 @@---id: getregionstitle: getRegions()+crumb: "Lambda API"---Gets an array of all supported AWS regions of this release of Remotion Lambda.diff --git a/packages/docs/docs/lambda/getrenderprogress.md b/packages/docs/docs/lambda/getrenderprogress.mdindex 5bc9c32968..b54e0fa95b 100644--- a/packages/docs/docs/lambda/getrenderprogress.md+++ b/packages/docs/docs/lambda/getrenderprogress.md@@ -2,6 +2,7 @@id: getrenderprogresstitle: getRenderProgress()slug: /lambda/getrenderprogress+crumb: "Lambda API"---Gets the current status of a render originally triggered via [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda).diff --git a/packages/docs/docs/lambda/getrolepolicy.md b/packages/docs/docs/lambda/getrolepolicy.mdindex a0e36c1e2c..dd622f68d2 100644--- a/packages/docs/docs/lambda/getrolepolicy.md+++ b/packages/docs/docs/lambda/getrolepolicy.md@@ -2,6 +2,7 @@id: getrolepolicytitle: getRolePolicy()slug: /lambda/getrolepolicy+crumb: "Lambda API"---Returns an inline JSON policy to be assigned to the 'remotion-lambda-role' role that needs to be created in your AWS account.diff --git a/packages/docs/docs/lambda/getsites.md b/packages/docs/docs/lambda/getsites.mdindex 32011e6abe..6afcf7a4c6 100644--- a/packages/docs/docs/lambda/getsites.md+++ b/packages/docs/docs/lambda/getsites.md@@ -2,6 +2,7 @@id: getsitestitle: getSites()slug: /lambda/getsites+crumb: "Lambda API"---Gets an array of Remotion projects in your S3 account.diff --git a/packages/docs/docs/lambda/getuserpolicy.md b/packages/docs/docs/lambda/getuserpolicy.mdindex 29a2114a4a..e55b7785f7 100644--- a/packages/docs/docs/lambda/getuserpolicy.md+++ b/packages/docs/docs/lambda/getuserpolicy.md@@ -2,6 +2,7 @@id: getuserpolicytitle: getUserPolicy()slug: /lambda/getuserpolicy+crumb: "Lambda API"---Returns an inline JSON policy to be assigned to the AWS user whose credentials are being used for excuting CLI commands or calling Node.JS functions.diff --git a/packages/docs/docs/lambda/light-client.md b/packages/docs/docs/lambda/light-client.mdindex 3aad54aaae..0c2368dff6 100644--- a/packages/docs/docs/lambda/light-client.md+++ b/packages/docs/docs/lambda/light-client.md@@ -1,22 +1,13 @@---sidebar_label: Light clienttitle: Light client+crumb: "Lambda"---The following methods and types can be imported from `@remotion/lambda/client`:```tsx twoslash-import {- renderMediaOnLambda,- renderStillOnLambda,- getRenderProgress,- getCompositionsOnLambda,- getFunctions,- AwsRegion,- RenderProgress,- validateWebhookSignature,- WebhookPayload,-} from "@remotion/lambda/client";+```These functions don't have any Node.JS dependencies and can be bundled with a bundler such as Webpack or ESBuild.@@ -25,4 +16,4 @@ These functions don't have any Node.JS dependencies and can be bundled with a buInstead, this light client is meant to reduce the bundle size and avoid problems if you are calling Remotion Lambda APIs from another Lambda function and therefore need to bundle your function code.-Commonly, Next.JS serverless endpoints or similar use AWS Lambda functions under the hood, for which `@remotion/lambda/client` can be used.\ No newline at end of file+Commonly, Next.JS serverless endpoints or similar use AWS Lambda functions under the hood, for which `@remotion/lambda/client` can be used.diff --git a/packages/docs/docs/lambda/limits.md b/packages/docs/docs/lambda/limits.mdindex d3dfc8aff7..4363840248 100644--- a/packages/docs/docs/lambda/limits.md+++ b/packages/docs/docs/lambda/limits.md@@ -2,6 +2,7 @@sidebar_label: Limitstitle: Lambda Limitsslug: /lambda/limits+crumb: "Lambda"---The standard AWS Lambda quotas apply ([see here](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html)), most notably:diff --git a/packages/docs/docs/lambda/permissions.md b/packages/docs/docs/lambda/permissions.mdindex 940d53d1ff..7351897347 100644--- a/packages/docs/docs/lambda/permissions.md+++ b/packages/docs/docs/lambda/permissions.md@@ -1,6 +1,7 @@---sidebar_label: Permissionstitle: Permissions+crumb: "Lambda"---import {UserPolicy} from '../../components/lambda/user-permissions.tsx';diff --git a/packages/docs/docs/lambda/presignurl.md b/packages/docs/docs/lambda/presignurl.mdindex 4abdb89fdd..983e8f45d5 100644--- a/packages/docs/docs/lambda/presignurl.md+++ b/packages/docs/docs/lambda/presignurl.md@@ -1,6 +1,7 @@---id: presignurltitle: presignUrl()+crumb: "Lambda API"---Takes a private S3 object and turns it into a public URL by signing with your AWS credentials.diff --git a/packages/docs/docs/lambda/region-selection.md b/packages/docs/docs/lambda/region-selection.mdindex 07d6a9f588..00b25076ff 100644--- a/packages/docs/docs/lambda/region-selection.md+++ b/packages/docs/docs/lambda/region-selection.md@@ -2,6 +2,7 @@id: region-selectiontitle: Region selectionslug: /lambda/region-selection+crumb: "Lambda"---import {LambdaRegionList} from '../../components/lambda/regions.tsx';diff --git a/packages/docs/docs/lambda/rendermediaonlambda.md b/packages/docs/docs/lambda/rendermediaonlambda.mdindex 067dbc70f6..c36c410d1b 100644--- a/packages/docs/docs/lambda/rendermediaonlambda.md+++ b/packages/docs/docs/lambda/rendermediaonlambda.md@@ -1,6 +1,7 @@---id: rendermediaonlambdatitle: renderMediaOnLambda()+crumb: "Lambda API"---import { MinimumFramesPerLambda } from "../../components/lambda/default-frames-per-lambda";diff --git a/packages/docs/docs/lambda/renderstillonlambda.md b/packages/docs/docs/lambda/renderstillonlambda.mdindex 2578295713..505319643d 100644--- a/packages/docs/docs/lambda/renderstillonlambda.md+++ b/packages/docs/docs/lambda/renderstillonlambda.md@@ -2,6 +2,7 @@id: renderstillonlambdatitle: renderStillOnLambda()slug: /lambda/renderstillonlambda+crumb: "Lambda API"---Renders a still image inside a lambda function and writes it to the specified output location.diff --git a/packages/docs/docs/lambda/rendervideoonlambda.md b/packages/docs/docs/lambda/rendervideoonlambda.mdindex 4d31210aa1..ecb551ef5a 100644--- a/packages/docs/docs/lambda/rendervideoonlambda.md+++ b/packages/docs/docs/lambda/rendervideoonlambda.md@@ -1,6 +1,7 @@---id: rendervideoonlambdatitle: renderVideoOnLambda()+crumb: "Lambda API"---import Redirect from '../../components/Redirect';diff --git a/packages/docs/docs/lambda/runtime.md b/packages/docs/docs/lambda/runtime.mdindex 469c449165..232e9017c8 100644--- a/packages/docs/docs/lambda/runtime.md+++ b/packages/docs/docs/lambda/runtime.md@@ -2,6 +2,7 @@id: runtimetitle: Runtimeslug: /lambda/runtime+crumb: "Lambda"---import {DefaultMemorySize} from '../../components/lambda/default-memory-size';diff --git a/packages/docs/docs/lambda/setup.md b/packages/docs/docs/lambda/setup.mdindex 31bdb689d2..67b465ebd9 100644--- a/packages/docs/docs/lambda/setup.md+++ b/packages/docs/docs/lambda/setup.md@@ -2,6 +2,7 @@id: setuptitle: Setupslug: /lambda/setup+crumb: "Lambda"---import Tabs from '@theme/Tabs';diff --git a/packages/docs/docs/lambda/simulatepermissions.md b/packages/docs/docs/lambda/simulatepermissions.mdindex 2f9a726386..03b6a6c595 100644--- a/packages/docs/docs/lambda/simulatepermissions.md+++ b/packages/docs/docs/lambda/simulatepermissions.md@@ -2,6 +2,7 @@id: simulatepermissionstitle: simulatePermissions()slug: /lambda/simulatepermissions+crumb: "Lambda API"---Runs tests through the AWS Simulator ensuring that all the necessary permissions are set for the authenticated user.diff --git a/packages/docs/docs/lambda/speed.md b/packages/docs/docs/lambda/speed.mdindex a0ab4345fe..ddf88834f8 100644--- a/packages/docs/docs/lambda/speed.md+++ b/packages/docs/docs/lambda/speed.md@@ -2,6 +2,7 @@id: optimizing-speedtitle: Optimizing for speedslug: /lambda/optimizing-speed+crumb: "Lambda"---On this page, a few strategies are presented for making a render on Lambda as fast as possible.diff --git a/packages/docs/docs/lambda/troubleshooting/bucket-disallows-acl.md b/packages/docs/docs/lambda/troubleshooting/bucket-disallows-acl.mdindex 8835ecdb6e..35a5a9ef0f 100644--- a/packages/docs/docs/lambda/troubleshooting/bucket-disallows-acl.md+++ b/packages/docs/docs/lambda/troubleshooting/bucket-disallows-acl.md@@ -1,6 +1,7 @@---id: bucket-disallows-acltitle: The bucket does not allow ACLs+crumb: "Lambda Troubleshooting"---If you encounter the following error while rendering a video on Remotion Lambda:diff --git a/packages/docs/docs/lambda/troubleshooting/permissions.md b/packages/docs/docs/lambda/troubleshooting/permissions.mdindex 35d37b8ac2..26943c37a5 100644--- a/packages/docs/docs/lambda/troubleshooting/permissions.md+++ b/packages/docs/docs/lambda/troubleshooting/permissions.md@@ -2,6 +2,7 @@id: permissionssidebar_label: Permissionstitle: AWS Permissions Troubleshooting+crumb: "Lambda Troubleshooting"---If you get an error message saying that something is wrong with your AWS permissions, read this page for troubleshooting ideas.diff --git a/packages/docs/docs/lambda/troubleshooting/rate-limit.md b/packages/docs/docs/lambda/troubleshooting/rate-limit.mdindex cfd26da247..3aa761c22e 100644--- a/packages/docs/docs/lambda/troubleshooting/rate-limit.md+++ b/packages/docs/docs/lambda/troubleshooting/rate-limit.md@@ -2,6 +2,7 @@id: rate-limitsidebar_label: Rate Limittitle: AWS Rate Limit Troubleshooting+crumb: "Lambda Troubleshooting"---If you get an error message:diff --git a/packages/docs/docs/lambda/troubleshooting/unrecognizedclientexception.md b/packages/docs/docs/lambda/troubleshooting/unrecognizedclientexception.mdindex f3ac029e44..3ed82b47f3 100644--- a/packages/docs/docs/lambda/troubleshooting/unrecognizedclientexception.md+++ b/packages/docs/docs/lambda/troubleshooting/unrecognizedclientexception.md@@ -1,6 +1,7 @@---id: unrecognizedclientexceptiontitle: UnrecognizedClientException+crumb: "Lambda Troubleshooting"---If you got a permission error while calling [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda) or [`renderStillOnLambda()`](/docs/lambda/renderstillonlambda):diff --git a/packages/docs/docs/lambda/validatewebhooksignature.md b/packages/docs/docs/lambda/validatewebhooksignature.mdindex 1d6d2317fb..9ab7757149 100644--- a/packages/docs/docs/lambda/validatewebhooksignature.md+++ b/packages/docs/docs/lambda/validatewebhooksignature.md@@ -2,6 +2,7 @@id: validatewebhooksignaturetitle: validateWebhookSignature()slug: /lambda/validatewebhooksignature+crumb: "Lambda API"---_Available from v3.2.30_diff --git a/packages/docs/docs/lambda/webhooks.md b/packages/docs/docs/lambda/webhooks.mdindex 321eb304db..02ee9c0951 100644--- a/packages/docs/docs/lambda/webhooks.md+++ b/packages/docs/docs/lambda/webhooks.md@@ -2,6 +2,7 @@sidebar_label: Webhookstitle: Webhooksslug: /lambda/webhooks+crumb: "Lambda"---import { WebhookTest } from "../../components/lambda/webhook-test";diff --git a/packages/docs/docs/legacy-babel-loader.md b/packages/docs/docs/legacy-babel-loader.mdindex 7c56777738..f1f4bae370 100644--- a/packages/docs/docs/legacy-babel-loader.md+++ b/packages/docs/docs/legacy-babel-loader.md@@ -1,6 +1,7 @@---title: Using legacy Babel transpilationid: legacy-babel+crumb: "How To"---import Tabs from "@theme/Tabs";diff --git a/packages/docs/docs/loop.md b/packages/docs/docs/loop.mdindex 63ca0ab008..78656bce3b 100644--- a/packages/docs/docs/loop.md+++ b/packages/docs/docs/loop.md@@ -1,6 +1,7 @@---id: looptitle: <Loop>+crumb: "API"---import { LoopExamples, BlueSquare } from "../components/LoopExamples/LoopExamples";diff --git a/packages/docs/docs/lottie/getlottiemetadata.md b/packages/docs/docs/lottie/getlottiemetadata.mdindex 48cdfbaa1c..4b8e1101c6 100644--- a/packages/docs/docs/lottie/getlottiemetadata.md+++ b/packages/docs/docs/lottie/getlottiemetadata.md@@ -1,6 +1,7 @@---id: getlottiemetadatatitle: getLottieMetadata()+crumb: "@remotion/lottie"---_Part of the [`@remotion/lottie`](/docs/lottie) package._diff --git a/packages/docs/docs/lottie/lottie-comp.md b/packages/docs/docs/lottie/lottie-comp.mdindex e08844936e..df084bd4ef 100644--- a/packages/docs/docs/lottie/lottie-comp.md+++ b/packages/docs/docs/lottie/lottie-comp.md@@ -3,6 +3,7 @@ id: lottie-compsidebar_label: "<Lottie>"title: "<Lottie>"slug: lottie+crumb: "@remotion/lottie"---_Part of the [`@remotion/lottie`](/docs/lottie) package._diff --git a/packages/docs/docs/lottie/lottie-lottiefiles.md b/packages/docs/docs/lottie/lottie-lottiefiles.mdindex bbb24fa9c0..ad7bab01b2 100644--- a/packages/docs/docs/lottie/lottie-lottiefiles.md+++ b/packages/docs/docs/lottie/lottie-lottiefiles.md@@ -3,6 +3,7 @@ id: lottie-lottiefilessidebar_label: "Finding Lottie files"title: "Finding Lottie files to use"slug: lottiefiles+crumb: "Resources"---import {InlineStep} from '../../components/InlineStep';diff --git a/packages/docs/docs/lottie/lottie-remote.md b/packages/docs/docs/lottie/lottie-remote.mdindex 203c7b1b20..11b3e55f1b 100644--- a/packages/docs/docs/lottie/lottie-remote.md+++ b/packages/docs/docs/lottie/lottie-remote.md@@ -3,6 +3,7 @@ id: lottie-remotesidebar_label: "Loading from a URL"title: "Loading Lottie animations from a URL"slug: remote+crumb: "@remotion/lottie"---In order to load a Lottie animation from a URL that has been put into the `public/` folder, use [`fetch`](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) and Remotion's [`delayRender()`](/docs/delay-render) function.@@ -12,9 +13,9 @@ The resource must support [CORS](https://developer.mozilla.org/en-US/docs/Web/HTUse the `LottieAnimationData` type to keep a state using React's `useState()` and only render the [`<Lottie>`](/docs/lottie/lottie) component once the data has been fetched.```tsx twoslash title="Animation.tsx"-import { continueRender, delayRender } from "remotion";-import { useEffect, useState } from "react";import { Lottie, LottieAnimationData } from "@remotion/lottie";+import { useEffect, useState } from "react";+import { continueRender, delayRender } from "remotion";const Balloons = () => {const [handle] = useState(() => delayRender("Loading Lottie animation"));diff --git a/packages/docs/docs/lottie/lottie-staticfile.md b/packages/docs/docs/lottie/lottie-staticfile.mdindex 7fd48100eb..fd0de1145a 100644--- a/packages/docs/docs/lottie/lottie-staticfile.md+++ b/packages/docs/docs/lottie/lottie-staticfile.md@@ -3,6 +3,7 @@ id: lottie-staticfilesidebar_label: "Loading from staticFile()"title: "Loading Lottie animations from staticFile()"slug: staticfile+crumb: "@remotion/lottie"---In order to load a Lottie animation from a file that has been put into the `public/` folder, use [`staticFile()`](/docs/staticfile) in combination with [`fetch`](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) and Remotion's [`delayRender()`](/docs/delay-render) function.@@ -10,9 +11,9 @@ In order to load a Lottie animation from a file that has been put into the `publUse the `LottieAnimationData` type to keep a state using React's `useState()` and only render the [`<Lottie>`](/docs/lottie/lottie) component once the data has been fetched.```tsx twoslash title="Animation.tsx"-import { continueRender, delayRender, staticFile } from "remotion";-import { useEffect, useState } from "react";import { Lottie, LottieAnimationData } from "@remotion/lottie";+import { useEffect, useState } from "react";+import { continueRender, delayRender, staticFile } from "remotion";const Square = () => {const [handle] = useState(() => delayRender("Loading Lottie animation"));diff --git a/packages/docs/docs/measure-spring.md b/packages/docs/docs/measure-spring.mdindex 2d07a53984..2eb72ae6fd 100644--- a/packages/docs/docs/measure-spring.md+++ b/packages/docs/docs/measure-spring.md@@ -1,6 +1,7 @@---title: measureSpring()id: measure-spring+crumb: "API"---_Available from v2.0.8_diff --git a/packages/docs/docs/media-playback-error.md b/packages/docs/docs/media-playback-error.mdindex ab0ce8b212..0593ccbe89 100644--- a/packages/docs/docs/media-playback-error.md+++ b/packages/docs/docs/media-playback-error.md@@ -2,6 +2,7 @@id: media-playback-errortitle: "Could not play video/audio with src"sidebar_label: Media playback error+crumb: "Troubleshooting"---The following error may occur in your Remotion project during development or while rendering:diff --git a/packages/docs/docs/miscellaneous/render-in-browser.md b/packages/docs/docs/miscellaneous/render-in-browser.mdindex 7088032936..e095c832e2 100644--- a/packages/docs/docs/miscellaneous/render-in-browser.md+++ b/packages/docs/docs/miscellaneous/render-in-browser.md@@ -1,6 +1,7 @@---sidebar_label: Browser renderingtitle: Can I render videos in the browser?+crumb: "FAQ"---**Rendering videos in the browser is not supported.** In order to render videos, you need to hook up [server-side rendering](/docs/ssr), [Remotion Lambda](/docs/lambda), or [render videos locally](/docs/render).diff --git a/packages/docs/docs/miscellaneous/snippets/accelerated-video.md b/packages/docs/docs/miscellaneous/snippets/accelerated-video.mdindex 11a0546527..ccb3d5f348 100644--- a/packages/docs/docs/miscellaneous/snippets/accelerated-video.md+++ b/packages/docs/docs/miscellaneous/snippets/accelerated-video.md@@ -1,5 +1,6 @@---title: "Change the speed of a video over time"+crumb: "Snippets"---import {AcceleratedVideoExample} from "../../../components/AcceleratedVideoPlayerExample.tsx"diff --git a/packages/docs/docs/miscellaneous/snippets/adding-animations.md b/packages/docs/docs/miscellaneous/snippets/adding-animations.mdindex ce196bb9f1..6c5e7c9a8f 100644--- a/packages/docs/docs/miscellaneous/snippets/adding-animations.md+++ b/packages/docs/docs/miscellaneous/snippets/adding-animations.md@@ -1,5 +1,6 @@---title: Adding and subtracting animations+crumb: "Snippets"---<div style={{height: 200}}>diff --git a/packages/docs/docs/miscellaneous/snippets/fps-converter.md b/packages/docs/docs/miscellaneous/snippets/fps-converter.mdindex ebd06b2b84..8be3441141 100644--- a/packages/docs/docs/miscellaneous/snippets/fps-converter.md+++ b/packages/docs/docs/miscellaneous/snippets/fps-converter.md@@ -1,5 +1,6 @@---title: "FPS converter"+crumb: "Snippets"---This snippet is useful if you have designed your video with a different frame rate than you want to render in the end. Wrap your markup in the `<FpsConverter>` component override the time of it's children to achieve a different FPS.diff --git a/packages/docs/docs/miscellaneous/snippets/offthread-video-while-rendering.md b/packages/docs/docs/miscellaneous/snippets/offthread-video-while-rendering.mdindex b0982a10dd..cb2272e0b1 100644--- a/packages/docs/docs/miscellaneous/snippets/offthread-video-while-rendering.md+++ b/packages/docs/docs/miscellaneous/snippets/offthread-video-while-rendering.md@@ -1,5 +1,6 @@---title: "<OffthreadVideo /> while rendering"+crumb: "Snippets"---The following component will only use [`<OffthreadVideo />`](/docs/offthreadvideo) while rendering, but [`<Video />`](/docs/video) in the Player.diff --git a/packages/docs/docs/miscellaneous/snippets/player-in-iframe.md b/packages/docs/docs/miscellaneous/snippets/player-in-iframe.mdindex 345f49651d..c21932d2a6 100644--- a/packages/docs/docs/miscellaneous/snippets/player-in-iframe.md+++ b/packages/docs/docs/miscellaneous/snippets/player-in-iframe.md@@ -1,5 +1,6 @@---title: "Embedding a <Player> into an <iframe>"+crumb: "Snippets"---:::infodiff --git a/packages/docs/docs/miscellaneous/ts-aliases.md b/packages/docs/docs/miscellaneous/ts-aliases.mdindex 296a6a8cb4..cb074cff90 100644--- a/packages/docs/docs/miscellaneous/ts-aliases.md+++ b/packages/docs/docs/miscellaneous/ts-aliases.md@@ -2,6 +2,7 @@title: "TypeScript aliases"id: typescript-aliasesslug: /typescript-aliases+crumb: "How to"---Typescript aliases are not supported by default, since the ESBuild Webpack loader we have does not support them.diff --git a/packages/docs/docs/motion-blur/camera-motion-blur.md b/packages/docs/docs/motion-blur/camera-motion-blur.mdindex dea836afee..6af428eec0 100644--- a/packages/docs/docs/motion-blur/camera-motion-blur.md+++ b/packages/docs/docs/motion-blur/camera-motion-blur.md@@ -1,6 +1,7 @@---title: "<CameraMotionBlur>"slug: camera-motion-blur+crumb: "Realistic camera effect"---import { CameraMotionBlurExample } from "../../components/CameraMotionBlurExample/CameraMotionBlurExample";diff --git a/packages/docs/docs/motion-blur/trail.md b/packages/docs/docs/motion-blur/trail.mdindex d9a5653b27..838f69f08e 100644--- a/packages/docs/docs/motion-blur/trail.md+++ b/packages/docs/docs/motion-blur/trail.md@@ -1,6 +1,7 @@---title: "<Trail>"slug: trail+crumb: "Motion blur"---import { TrailExample } from "../../components/TrailExample/TrailExample";diff --git a/packages/docs/docs/noise-visualization.md b/packages/docs/docs/noise-visualization.mdindex 969156b679..a55f9d607a 100644--- a/packages/docs/docs/noise-visualization.md+++ b/packages/docs/docs/noise-visualization.md@@ -1,6 +1,7 @@---title: Noise visualizationid: noise-visualization+crumb: "Techniques"---Using the [`@remotion/noise`](/docs/noise) package, you can add noise for your videos.diff --git a/packages/docs/docs/noise/noise-2d.md b/packages/docs/docs/noise/noise-2d.mdindex ae2d79f7a4..781fe93c50 100644--- a/packages/docs/docs/noise/noise-2d.md+++ b/packages/docs/docs/noise/noise-2d.md@@ -1,5 +1,6 @@---title: noise2D()+crumb: "Make some"---_Part of the [`@remotion/noise`](/docs/noise) package._diff --git a/packages/docs/docs/noise/noise-3d.md b/packages/docs/docs/noise/noise-3d.mdindex 73115ad885..ca4ee3354f 100644--- a/packages/docs/docs/noise/noise-3d.md+++ b/packages/docs/docs/noise/noise-3d.md@@ -1,5 +1,6 @@---title: noise3D()+crumb: "Make some"---_Part of the [`@remotion/noise`](/docs/noise) package._diff --git a/packages/docs/docs/noise/noise-4d.md b/packages/docs/docs/noise/noise-4d.mdindex 225e018285..8776ad4613 100644--- a/packages/docs/docs/noise/noise-4d.md+++ b/packages/docs/docs/noise/noise-4d.md@@ -1,5 +1,6 @@---title: noise4D()+crumb: "Make some"---_Part of the [`@remotion/noise`](/docs/noise) package._diff --git a/packages/docs/docs/non-seekable-media.md b/packages/docs/docs/non-seekable-media.mdindex 2fde89d996..e9c15e66e6 100644--- a/packages/docs/docs/non-seekable-media.md+++ b/packages/docs/docs/non-seekable-media.md@@ -1,6 +1,7 @@---id: non-seekable-mediatitle: Non-seekable media+crumb: "Troubleshooting"---If you see the following error in the console:diff --git a/packages/docs/docs/offthreadvideo.md b/packages/docs/docs/offthreadvideo.mdindex 5e41e080b2..4947fcd453 100644--- a/packages/docs/docs/offthreadvideo.md+++ b/packages/docs/docs/offthreadvideo.md@@ -1,6 +1,7 @@---id: offthreadvideotitle: "<OffthreadVideo>"+crumb: "API"---_Available from Remotion 3.0.11_diff --git a/packages/docs/docs/overwriting-webpack-config.md b/packages/docs/docs/overwriting-webpack-config.mdindex 9f0822dbfd..de4658d71f 100644--- a/packages/docs/docs/overwriting-webpack-config.md+++ b/packages/docs/docs/overwriting-webpack-config.md@@ -1,6 +1,7 @@---id: webpacktitle: Custom Webpack config+crumb: "How To"---import Tabs from "@theme/Tabs";diff --git a/packages/docs/docs/parametrized-rendering.md b/packages/docs/docs/parametrized-rendering.mdindex 749b00b705..3aed7ea429 100644--- a/packages/docs/docs/parametrized-rendering.md+++ b/packages/docs/docs/parametrized-rendering.md@@ -1,6 +1,7 @@---id: parametrized-renderingtitle: Parametrized rendering+crumb: "How To"---```twoslash include example@@ -36,7 +37,6 @@ export const MyComponent: React.FC<{ propOne: string; propTwo: number }> = () =>null;// @filename: Root.tsx-import React from "react";// ---cut---import { Composition } from "remotion";import { MyComponent } from "./MyComponent";diff --git a/packages/docs/docs/paths/evolve-path.md b/packages/docs/docs/paths/evolve-path.mdindex 36b133f2ec..d942b790fc 100644--- a/packages/docs/docs/paths/evolve-path.md+++ b/packages/docs/docs/paths/evolve-path.md@@ -1,5 +1,6 @@---title: evolvePath()+crumb: "@remotion/paths"---_Part of the [`@remotion/paths`](/docs/paths) package._diff --git a/packages/docs/docs/paths/extend-viewbox.md b/packages/docs/docs/paths/extend-viewbox.mdindex 90c031885d..7c7cd37729 100644--- a/packages/docs/docs/paths/extend-viewbox.md+++ b/packages/docs/docs/paths/extend-viewbox.md@@ -1,5 +1,6 @@---title: extendViewBox()+crumb: "@remotion/paths"---_Part of the [`@remotion/paths`](/docs/paths) package. Available since v3.2.25_diff --git a/packages/docs/docs/paths/get-length.md b/packages/docs/docs/paths/get-length.mdindex e80f4a87fe..331099d073 100644--- a/packages/docs/docs/paths/get-length.md+++ b/packages/docs/docs/paths/get-length.md@@ -1,5 +1,6 @@---title: getLength()+crumb: "@remotion/paths"---_Part of the [`@remotion/paths`](/docs/paths) package._diff --git a/packages/docs/docs/paths/get-parts.md b/packages/docs/docs/paths/get-parts.mdindex a21573e330..2e5fa77e6f 100644--- a/packages/docs/docs/paths/get-parts.md+++ b/packages/docs/docs/paths/get-parts.md@@ -1,5 +1,6 @@---title: getParts()+crumb: "@remotion/paths"---_Part of the [`@remotion/paths`](/docs/paths) package._diff --git a/packages/docs/docs/paths/get-point-at-length.md b/packages/docs/docs/paths/get-point-at-length.mdindex b6f377f8d7..d0c3f2c941 100644--- a/packages/docs/docs/paths/get-point-at-length.md+++ b/packages/docs/docs/paths/get-point-at-length.md@@ -1,5 +1,6 @@---title: getPointAtLength()+crumb: "@remotion/paths"---_Part of the [`@remotion/paths`](/docs/paths) package._diff --git a/packages/docs/docs/paths/get-tangent-at-length.md b/packages/docs/docs/paths/get-tangent-at-length.mdindex f662f80c6e..15bd03a0ac 100644--- a/packages/docs/docs/paths/get-tangent-at-length.md+++ b/packages/docs/docs/paths/get-tangent-at-length.md@@ -1,5 +1,6 @@---title: getTangentAtLength()+crumb: "@remotion/paths"---_Part of the [`@remotion/paths`](/docs/paths) package._diff --git a/packages/docs/docs/paths/index.md b/packages/docs/docs/paths/index.mdindex b66ad0627f..ade42b2d60 100644--- a/packages/docs/docs/paths/index.md+++ b/packages/docs/docs/paths/index.md@@ -1,5 +1,6 @@---title: "@remotion/paths"+crumb: "SVG"---import {TableOfContents} from '../../components/TableOfContents/paths';diff --git a/packages/docs/docs/paths/interpolate-path.md b/packages/docs/docs/paths/interpolate-path.mdindex 00cc6b7efd..68b806e991 100644--- a/packages/docs/docs/paths/interpolate-path.md+++ b/packages/docs/docs/paths/interpolate-path.md@@ -1,5 +1,6 @@---title: interpolatePath()+crumb: "@remotion/paths"---_Part of the [`@remotion/paths`](/docs/paths) package._diff --git a/packages/docs/docs/paths/normalize-path.md b/packages/docs/docs/paths/normalize-path.mdindex 5b015131c9..75362d20ac 100644--- a/packages/docs/docs/paths/normalize-path.md+++ b/packages/docs/docs/paths/normalize-path.md@@ -1,5 +1,6 @@---title: normalizePath()+crumb: "@remotion/paths"---_Part of the [`@remotion/paths`](/docs/paths) package._diff --git a/packages/docs/docs/paths/reverse-path.md b/packages/docs/docs/paths/reverse-path.mdindex 3d22b4b1b5..a49a7570af 100644--- a/packages/docs/docs/paths/reverse-path.md+++ b/packages/docs/docs/paths/reverse-path.md@@ -1,5 +1,6 @@---title: reversePath()+crumb: "@remotion/paths"---_Part of the [`@remotion/paths`](/docs/paths) package._diff --git a/packages/docs/docs/paths/split-parts.md b/packages/docs/docs/paths/split-parts.mdindex cfd0104978..a096b3fd12 100644--- a/packages/docs/docs/paths/split-parts.md+++ b/packages/docs/docs/paths/split-parts.md@@ -1,5 +1,6 @@---title: splitParts()+crumb: "@remotion/paths"---_Part of the [`@remotion/paths`](/docs/paths) package. Available from v3.3.6_diff --git a/packages/docs/docs/performance.md b/packages/docs/docs/performance.mdindex 0e53215eae..02e3ba0978 100644--- a/packages/docs/docs/performance.md+++ b/packages/docs/docs/performance.md@@ -1,6 +1,7 @@---id: performancetitle: Performance Tips+crumb: "Need for Speed"---Video rendering is one of the most heavy workloads a computer can take on. Remotion aims to at least perform similarly than traditional video editing programs. This section describes several aspects that influence render speed that you can influence.diff --git a/packages/docs/docs/player/api.md b/packages/docs/docs/player/api.mdindex 62b6b28f09..e553d5855d 100644--- a/packages/docs/docs/player/api.md+++ b/packages/docs/docs/player/api.md@@ -1,6 +1,7 @@---title: "<Player>"slug: /player/player+crumb: "@remotion/player"---A component which can be rendered in a regular React App (for example: [Create React App](https://create-react-app.dev/), [Next.JS](https://nextjs.org)) to display a Remotion video.diff --git a/packages/docs/docs/player/autoplay.md b/packages/docs/docs/player/autoplay.mdindex edf3fa5286..7c6bd6005f 100644--- a/packages/docs/docs/player/autoplay.md+++ b/packages/docs/docs/player/autoplay.md@@ -3,6 +3,7 @@ id: autoplaysidebar_label: "Autoplay"title: "Combatting autoplay issues"slug: /player/autoplay+crumb: "@remotion/player"---Browsers place restrictions on websites that play audio without user interaction. Read on how to properly use the Remotion Player so you don't run into a browser policy.diff --git a/packages/docs/docs/player/best-practices.md b/packages/docs/docs/player/best-practices.mdindex 99b0c1fae3..8f48e1388d 100644--- a/packages/docs/docs/player/best-practices.md+++ b/packages/docs/docs/player/best-practices.md@@ -3,6 +3,7 @@ id: best-practicessidebar_label: "Best practices"title: "Player - Best practices"slug: /player/best-practices+crumb: "@remotion/player"---## Avoid re-renders of the `<Player>`diff --git a/packages/docs/docs/player/installation.md b/packages/docs/docs/player/installation.mdindex 149709057d..f998bf32ea 100644--- a/packages/docs/docs/player/installation.md+++ b/packages/docs/docs/player/installation.md@@ -2,6 +2,7 @@id: installationtitle: Installationslug: /player/installation+crumb: "@remotion/player"---import {TableOfContents} from '../../components/TableOfContents/player';diff --git a/packages/docs/docs/player/player-examples.md b/packages/docs/docs/player/player-examples.mdindex 995bf51132..ff468c0cf5 100644--- a/packages/docs/docs/player/player-examples.md+++ b/packages/docs/docs/player/player-examples.md@@ -2,6 +2,7 @@id: examplessidebar_label: "Examples"title: "Examples for @remotion/player"+crumb: "@remotion/player"---## Bare examplediff --git a/packages/docs/docs/player/player-integration.md b/packages/docs/docs/player/player-integration.mdindex 2a4ac6ed68..6b2f768026 100644--- a/packages/docs/docs/player/player-integration.md+++ b/packages/docs/docs/player/player-integration.md@@ -1,6 +1,7 @@---id: integrationtitle: "Code sharing"+crumb: "@remotion/player"---import Tabs from "@theme/Tabs";diff --git a/packages/docs/docs/player/preloading.md b/packages/docs/docs/player/preloading.mdindex 8c4c6133ab..51550438cf 100644--- a/packages/docs/docs/player/preloading.md+++ b/packages/docs/docs/player/preloading.md@@ -1,6 +1,7 @@---sidebar_label: "Preloading"title: "Preloading assets"+crumb: "@remotion/player"---By default, assets such as videos, audio, or images will only be loaded as they enter the video. When using the [Remotion Player](/docs/terminology#remotion-player), you may want to preload those assets beforehand to make them play immediately once they enter the video.diff --git a/packages/docs/docs/player/scaling.md b/packages/docs/docs/player/scaling.mdindex b00c96dd0c..62b8b2c79b 100644--- a/packages/docs/docs/player/scaling.md+++ b/packages/docs/docs/player/scaling.md@@ -1,6 +1,7 @@---id: scalingtitle: "Scaling"+crumb: "@remotion/player"---The following algorithm is used for calculating the size of the Player:diff --git a/packages/docs/docs/player/thumbnail.md b/packages/docs/docs/player/thumbnail.mdindex 9dd092dbed..af8d47ed9f 100644--- a/packages/docs/docs/player/thumbnail.md+++ b/packages/docs/docs/player/thumbnail.md@@ -1,6 +1,7 @@---id: thumbnailtitle: "<Thumbnail>"+crumb: "@remotion/player"---_available from v3.2.41_diff --git a/packages/docs/docs/prefetch.md b/packages/docs/docs/prefetch.mdindex 0196237acd..0f69368acb 100644--- a/packages/docs/docs/prefetch.md+++ b/packages/docs/docs/prefetch.md@@ -1,6 +1,7 @@---id: prefetchtitle: prefetch()+crumb: "API"---_Available in v3.2.23_diff --git a/packages/docs/docs/preload/preload-audio.md b/packages/docs/docs/preload/preload-audio.mdindex 581f8cb421..0592432f05 100644--- a/packages/docs/docs/preload/preload-audio.md+++ b/packages/docs/docs/preload/preload-audio.md@@ -2,6 +2,7 @@id: preload-audioslug: preload-audiotitle: "preloadAudio()"+crumb: "@remotion/preload"---_This function is part of the [`@remotion/preload`](/docs/preload) package._diff --git a/packages/docs/docs/preload/preload-video.md b/packages/docs/docs/preload/preload-video.mdindex 3bc4c4b626..22d4b2f3ac 100644--- a/packages/docs/docs/preload/preload-video.md+++ b/packages/docs/docs/preload/preload-video.md@@ -3,6 +3,7 @@ id: preload-videoslug: preload-videosidebar_label: preloadVideo()title: "preloadVideo()"+crumb: "@remotion/player"---_This function is part of the [`@remotion/preload`](/docs/preload) package._diff --git a/packages/docs/docs/preload/resolve-redirect.md b/packages/docs/docs/preload/resolve-redirect.mdindex afa899b5b7..ac22317c0d 100644--- a/packages/docs/docs/preload/resolve-redirect.md+++ b/packages/docs/docs/preload/resolve-redirect.md@@ -1,6 +1,7 @@---id: resolve-redirecttitle: resolveRedirect()+crumb: "@remotion/player"---Follows the redirects of a URL (most commonly a remote video or audio) until the final URL is resolved and returns that.@@ -26,8 +27,8 @@ resolveRedirect(This snippet tries to preload a video on a best-effort basis. If the redirect cannot be resolved, it tries to preload the original URL.```tsx twoslash+import { preloadVideo, resolveRedirect } from "@remotion/preload";import { Video } from "remotion";-import { resolveRedirect, preloadVideo } from "@remotion/preload";// This code gets executed immediately once the page loadslet urlToLoad =diff --git a/packages/docs/docs/prereleases.md b/packages/docs/docs/prereleases.mdindex 5baa0916d1..6df2a9d045 100644--- a/packages/docs/docs/prereleases.md+++ b/packages/docs/docs/prereleases.md@@ -2,6 +2,7 @@id: prereleasesslug: /prereleasestitle: Testing prereleases+crumb: "Only the brave"---import {Prerelease} from "../components/PrereleaseVersion"diff --git a/packages/docs/docs/presigned-urls.md b/packages/docs/docs/presigned-urls.mdindex 2d0af3e98e..34727ceccb 100644--- a/packages/docs/docs/presigned-urls.md+++ b/packages/docs/docs/presigned-urls.md@@ -1,6 +1,7 @@---id: presigned-urlstitle: Upload with a presigned URL+crumb: "Building video apps"---This article provides guidance for webapps wanting to allow users to upload videos and other assets. We recommend to generate a presigned URL server-side that allows a user to directly upload a file into your cloud storage without having to pass the file through your server.diff --git a/packages/docs/docs/random.md b/packages/docs/docs/random.mdindex d849a84f9c..fffd878ce1 100644--- a/packages/docs/docs/random.md+++ b/packages/docs/docs/random.md@@ -1,6 +1,7 @@---id: randomtitle: random()+crumb: "API"---The `random()` API will give your deterministic pseudorandom values. Unlike the `Math.random()` function, Remotions function takes in a seed which can be a `number` or a `string`. If the seed is the same, the output is always the same.diff --git a/packages/docs/docs/react-18.md b/packages/docs/docs/react-18.mdindex abef5951f6..02382728d3 100644--- a/packages/docs/docs/react-18.md+++ b/packages/docs/docs/react-18.md@@ -1,6 +1,7 @@---id: react-18title: Upgrade to React 18+crumb: "The new and shiny"---## Updating packagesdiff --git a/packages/docs/docs/register-root.md b/packages/docs/docs/register-root.mdindex 242b172aba..84ac956f42 100644--- a/packages/docs/docs/register-root.md+++ b/packages/docs/docs/register-root.md@@ -1,6 +1,7 @@---id: register-roottitle: registerRoot()+crumb: "API"---`registerRoot` is a function that registers the root component of the Remotion project. In the root component, one or multiple compositions should be returned (in the case of multiple compositions, they should be wrapped in a React Fragment).diff --git a/packages/docs/docs/remotion.md b/packages/docs/docs/remotion.mdindex d414bf0484..57cfad1803 100644--- a/packages/docs/docs/remotion.md+++ b/packages/docs/docs/remotion.md@@ -1,5 +1,6 @@---title: "remotion"+crumb: "npm i"---import {TableOfContents} from '../components/TableOfContents/remotion';diff --git a/packages/docs/docs/render-all.md b/packages/docs/docs/render-all.mdindex b980dd2c4b..80523744e6 100644--- a/packages/docs/docs/render-all.md+++ b/packages/docs/docs/render-all.md@@ -1,6 +1,7 @@---id: render-alltitle: Render all compositions+crumb: "Techniques"---In some scenarios, you might find it useful to render all compositions.diff --git a/packages/docs/docs/render-as-gif.md b/packages/docs/docs/render-as-gif.mdindex 88b449fb3f..61ab5fc974 100644--- a/packages/docs/docs/render-as-gif.md+++ b/packages/docs/docs/render-as-gif.md@@ -1,6 +1,7 @@---id: render-as-giftitle: Render as GIF+crumb: "Techniques"---_Available since v3.1_diff --git a/packages/docs/docs/render.md b/packages/docs/docs/render.mdindex 68e44a107c..d26f4fa12f 100644--- a/packages/docs/docs/render.md+++ b/packages/docs/docs/render.md@@ -1,6 +1,7 @@---id: rendertitle: Render your video+crumb: "How To"---Now here comes the magic! Turn your creation into an MP4.diff --git a/packages/docs/docs/renderer/ensure-ffmpeg.md b/packages/docs/docs/renderer/ensure-ffmpeg.mdindex 7fa62bbb57..e6e7ab28e8 100644--- a/packages/docs/docs/renderer/ensure-ffmpeg.md+++ b/packages/docs/docs/renderer/ensure-ffmpeg.md@@ -1,6 +1,7 @@---id: ensure-ffmpegtitle: ensureFfmpeg()+crumb: "@remotion/renderer"---_Available from v3.3_diff --git a/packages/docs/docs/renderer/ensure-ffprobe.md b/packages/docs/docs/renderer/ensure-ffprobe.mdindex e09602e469..5f0a3d55f8 100644--- a/packages/docs/docs/renderer/ensure-ffprobe.md+++ b/packages/docs/docs/renderer/ensure-ffprobe.md@@ -1,6 +1,7 @@---id: ensure-ffprobetitle: ensureFfprobe()+crumb: "@remotion/renderer"---_Available from v3.3_diff --git a/packages/docs/docs/renderer/get-can-extract-frames-fast.md b/packages/docs/docs/renderer/get-can-extract-frames-fast.mdindex 12cdf2cb51..639d77ef1a 100644--- a/packages/docs/docs/renderer/get-can-extract-frames-fast.md+++ b/packages/docs/docs/renderer/get-can-extract-frames-fast.md@@ -1,6 +1,7 @@---title: getCanExtractFramesFast()id: get-can-extract-frames-fast+crumb: "@remotion/renderer"---_Available since v3.3.2 - Part of the `@remotion/renderer` package._diff --git a/packages/docs/docs/renderer/get-compositions.md b/packages/docs/docs/renderer/get-compositions.mdindex 07aac2789a..c26043fd0f 100644--- a/packages/docs/docs/renderer/get-compositions.md+++ b/packages/docs/docs/renderer/get-compositions.md@@ -1,6 +1,7 @@---title: getCompositions()id: get-compositions+crumb: "@remotion/renderer"---import {AngleChangelog} from '../../components/AngleChangelog';diff --git a/packages/docs/docs/renderer/make-cancel-signal.md b/packages/docs/docs/renderer/make-cancel-signal.mdindex 97580de849..95b4be37b5 100644--- a/packages/docs/docs/renderer/make-cancel-signal.md+++ b/packages/docs/docs/renderer/make-cancel-signal.md@@ -1,6 +1,7 @@---id: make-cancel-signaltitle: makeCancelSignal()+crumb: "@remotion/renderer"---_Available from v3.0.15_diff --git a/packages/docs/docs/renderer/open-browser.md b/packages/docs/docs/renderer/open-browser.mdindex ec2eebdd38..c622b54f46 100644--- a/packages/docs/docs/renderer/open-browser.md+++ b/packages/docs/docs/renderer/open-browser.md@@ -1,6 +1,7 @@---title: openBrowser()id: open-browser+crumb: "@remotion/renderer"---_Available since v3.0 - Part of the `@remotion/renderer` package._diff --git a/packages/docs/docs/renderer/render-frames.md b/packages/docs/docs/renderer/render-frames.mdindex e257856f0a..a589666de8 100644--- a/packages/docs/docs/renderer/render-frames.md+++ b/packages/docs/docs/renderer/render-frames.md@@ -1,6 +1,7 @@---id: render-framestitle: renderFrames()+crumb: "@remotion/renderer"---import {AngleChangelog} from '../../components/AngleChangelog';diff --git a/packages/docs/docs/renderer/render-media.md b/packages/docs/docs/renderer/render-media.mdindex f7eb53ed1b..c39c2805cc 100644--- a/packages/docs/docs/renderer/render-media.md+++ b/packages/docs/docs/renderer/render-media.md@@ -1,6 +1,7 @@---id: render-mediatitle: renderMedia()+crumb: "@remotion/renderer"---_Available since v3.0 - Part of the `@remotion/renderer` package._diff --git a/packages/docs/docs/renderer/render-still.md b/packages/docs/docs/renderer/render-still.mdindex 0eca443443..f82593a693 100644--- a/packages/docs/docs/renderer/render-still.md+++ b/packages/docs/docs/renderer/render-still.md@@ -1,6 +1,7 @@---id: render-stilltitle: renderStill()+crumb: "@remotion/renderer"---import {AngleChangelog} from '../../components/AngleChangelog';diff --git a/packages/docs/docs/renderer/stitch-frames-to-video.md b/packages/docs/docs/renderer/stitch-frames-to-video.mdindex 4168e12ef4..05318f56db 100644--- a/packages/docs/docs/renderer/stitch-frames-to-video.md+++ b/packages/docs/docs/renderer/stitch-frames-to-video.md@@ -1,6 +1,7 @@---id: stitch-frames-to-videotitle: stitchFramesToVideo()+crumb: "@remotion/renderer"---_Part of the `@remotion/renderer` package._diff --git a/packages/docs/docs/resources.md b/packages/docs/docs/resources.mdindex 7f4a493391..80d1a20262 100644--- a/packages/docs/docs/resources.md+++ b/packages/docs/docs/resources.md@@ -1,5 +1,6 @@---title: List of resources+crumb: "Ecosystem"---This list tries to compile all templates, libraries, building blocks and examples in one place. Add more to the list by clicking the "Improve this page" button below!diff --git a/packages/docs/docs/scaling.md b/packages/docs/docs/scaling.mdindex d9c1ef9fa6..eb7794f76c 100644--- a/packages/docs/docs/scaling.md+++ b/packages/docs/docs/scaling.md@@ -1,6 +1,7 @@---id: scalingtitle: Output scaling+crumb: "How To"---_Available from v2.6.7._diff --git a/packages/docs/docs/sequence.md b/packages/docs/docs/sequence.mdindex 07eef56c25..906109f95c 100644--- a/packages/docs/docs/sequence.md+++ b/packages/docs/docs/sequence.md@@ -1,6 +1,7 @@---id: sequencetitle: <Sequence>+crumb: "API"---import { SequenceForwardExample } from "../components/SequenceExamples/SequenceForward";diff --git a/packages/docs/docs/sequences.md b/packages/docs/docs/sequences.mdindex 38a42ed3a8..cad72ff6bc 100644--- a/packages/docs/docs/sequences.md+++ b/packages/docs/docs/sequences.md@@ -2,6 +2,7 @@id: reusabilitytitle: Reuse components using Sequencessidebar_label: Reuse components+crumb: "The power of React"---```twoslash include examplediff --git a/packages/docs/docs/series.md b/packages/docs/docs/series.mdindex 0425578f5e..1a98aa434c 100644--- a/packages/docs/docs/series.md+++ b/packages/docs/docs/series.md@@ -1,6 +1,7 @@---id: seriestitle: <Series>+crumb: "API"---_Available from v.2.3.1_diff --git a/packages/docs/docs/skia/enable-skia.md b/packages/docs/docs/skia/enable-skia.mdindex b7d377c3b5..6d64ad598f 100644--- a/packages/docs/docs/skia/enable-skia.md+++ b/packages/docs/docs/skia/enable-skia.md@@ -1,5 +1,6 @@---title: enableSkia()+crumb: "@remotion/skia"---A function that modifies the default Webpack configuration to make the necessary changes to support Skia.diff --git a/packages/docs/docs/skia/skia-canvas.md b/packages/docs/docs/skia/skia-canvas.mdindex 34ce8f019a..827521244d 100644--- a/packages/docs/docs/skia/skia-canvas.md+++ b/packages/docs/docs/skia/skia-canvas.md@@ -1,5 +1,6 @@---title: <SkiaCanvas />+crumb: "@remotion/skia"---A [React Native Skia `<Canvas />` component](https://shopify.github.io/react-native-skia/docs/canvas/overview) that wraps Remotion contexts.@@ -7,10 +8,10 @@ A [React Native Skia `<Canvas />` component](https://shopify.github.io/react-natYou can place elements from `@shopify/react-native-skia` in it!```tsx twoslash-import React from "react";-import { useVideoConfig } from "remotion";import { SkiaCanvas } from "@remotion/skia";import { Fill } from "@shopify/react-native-skia";+import React from "react";+import { useVideoConfig } from "remotion";const MySkiaVideo: React.FC = () => {const { width, height } = useVideoConfig();diff --git a/packages/docs/docs/slow-method-to-extract-frame.md b/packages/docs/docs/slow-method-to-extract-frame.mdindex 0d72fe283a..4112205613 100644--- a/packages/docs/docs/slow-method-to-extract-frame.md+++ b/packages/docs/docs/slow-method-to-extract-frame.md@@ -1,6 +1,7 @@---id: slow-method-to-extract-frametitle: "Slow method to extract frame"+crumb: "Troubleshooting"---When using the [`<OffthreadVideo>`](/docs/offthreadvideo) component, the following warning message may appear:diff --git a/packages/docs/docs/spline.md b/packages/docs/docs/spline.mdindex ec93805e4e..dc18673fd5 100644--- a/packages/docs/docs/spline.md+++ b/packages/docs/docs/spline.md@@ -1,5 +1,6 @@---title: "Import from Spline"+crumb: "Integrations"---import {SplineVideo} from '../components/SplineVideo'diff --git a/packages/docs/docs/spring.md b/packages/docs/docs/spring.mdindex 3b09ca2c63..837bfaec3c 100644--- a/packages/docs/docs/spring.md+++ b/packages/docs/docs/spring.md@@ -1,6 +1,7 @@---id: springtitle: spring()+crumb: "API"---A physics-based animation primitive.diff --git a/packages/docs/docs/ssr-legacy.md b/packages/docs/docs/ssr-legacy.mdindex 004093fcaf..59880ac3fc 100644--- a/packages/docs/docs/ssr-legacy.md+++ b/packages/docs/docs/ssr-legacy.md@@ -1,6 +1,7 @@---id: ssr-legacytitle: Server-Side Rendering (v1 and v2)+crumb: "Legacy docs"---:::info@@ -20,15 +21,15 @@ The NPM package `@remotion/renderer` provides you with an API for rendering theFollow this commented example to see how to render a video:```tsx-import fs from "fs";-import os from "os";-import path from "path";import { bundle } from "@remotion/bundler";import {getCompositions,renderFrames,stitchFramesToVideo,} from "@remotion/renderer";+import fs from "fs";+import os from "os";+import path from "path";const start = async () => {// The composition you want to renderdiff --git a/packages/docs/docs/ssr.md b/packages/docs/docs/ssr.mdindex 2fd62adfa1..515b49b6f0 100644--- a/packages/docs/docs/ssr.md+++ b/packages/docs/docs/ssr.md@@ -1,6 +1,7 @@---id: ssrtitle: Server-Side Rendering+crumb: "The power of"---:::info@@ -22,9 +23,9 @@ The NPM package `@remotion/renderer` provides you with an API for rendering theFollow this commented example to see how to render a video:```tsx twoslash-import path from "path";import { bundle } from "@remotion/bundler";import { getCompositions, renderMedia } from "@remotion/renderer";+import path from "path";const start = async () => {// The composition you want to renderdiff --git a/packages/docs/docs/static-file-relative-paths.md b/packages/docs/docs/static-file-relative-paths.mdindex 2fd5440348..0e896138a4 100644--- a/packages/docs/docs/static-file-relative-paths.md+++ b/packages/docs/docs/static-file-relative-paths.md@@ -2,6 +2,7 @@id: staticfile-relative-pathstitle: staticFile() does not support relative pathssidebar_label: staticFile() relative paths+crumb: "Troubleshooting"---If you got the following error message:diff --git a/packages/docs/docs/static-file-remote-urls.md b/packages/docs/docs/static-file-remote-urls.mdindex 75846e5df9..1efdc29b6d 100644--- a/packages/docs/docs/static-file-remote-urls.md+++ b/packages/docs/docs/static-file-remote-urls.md@@ -2,6 +2,7 @@id: staticfile-remote-urlstitle: staticFile() does not support remote URLssidebar_label: staticFile() remote URLs+crumb: "Troubleshooting"---If you got the following error message:diff --git a/packages/docs/docs/staticfile.md b/packages/docs/docs/staticfile.mdindex 0549450bec..71af89be0f 100644--- a/packages/docs/docs/staticfile.md+++ b/packages/docs/docs/staticfile.md@@ -1,6 +1,7 @@---id: staticfiletitle: staticFile()+crumb: "API"---_Available from v2.5.7._diff --git a/packages/docs/docs/still.md b/packages/docs/docs/still.mdindex 29516200d2..9f6673b7d8 100644--- a/packages/docs/docs/still.md+++ b/packages/docs/docs/still.md@@ -1,6 +1,7 @@---id: stilltitle: <Still>+crumb: "API"---A `<Still />` is a [`<Composition />`](/docs/composition) that is only 1 frame long. It is a convenience component for defining a composition that is meant to be rendered an image rather than a video.diff --git a/packages/docs/docs/stills.md b/packages/docs/docs/stills.mdindex a130a62bfb..f33921e4d3 100644--- a/packages/docs/docs/stills.md+++ b/packages/docs/docs/stills.md@@ -1,6 +1,7 @@---id: stillstitle: Still images+crumb: "How to generate"---_Available from v2.3_diff --git a/packages/docs/docs/support.md b/packages/docs/docs/support.mdindex 0dacb59bcb..e50c86f81e 100644--- a/packages/docs/docs/support.md+++ b/packages/docs/docs/support.md@@ -1,6 +1,7 @@---id: supporttitle: Support Policy+crumb: "Let us help you"---We welcome you to ask questions and invest a lot of time into supporting our users. Follow the steps below if have a question that you would like to get answered.diff --git a/packages/docs/docs/tailwind-2.md b/packages/docs/docs/tailwind-2.mdindex 5e317ee7dd..5cda1f1b60 100644--- a/packages/docs/docs/tailwind-2.md+++ b/packages/docs/docs/tailwind-2.md@@ -1,6 +1,7 @@---id: tailwind-legacytitle: TailwindCSS v2 (Legacy)+crumb: "Legacy docs"---import Tabs from "@theme/Tabs";diff --git a/packages/docs/docs/tailwind.md b/packages/docs/docs/tailwind.mdindex 185249e7a6..8701ebe5ad 100644--- a/packages/docs/docs/tailwind.md+++ b/packages/docs/docs/tailwind.md@@ -1,6 +1,7 @@---id: tailwindtitle: TailwindCSS+crumb: "text-lg font-bold"---import Tabs from "@theme/Tabs";diff --git a/packages/docs/docs/target-closed.md b/packages/docs/docs/target-closed.mdindex 3fab56fdb3..ed007909dc 100644--- a/packages/docs/docs/target-closed.md+++ b/packages/docs/docs/target-closed.md@@ -2,6 +2,7 @@id: target-closedtitle: "'Target closed' error message"sidebar_label: Target closed+crumb: "Troubleshooting"---This error message **comes up when a Chromium Tab crashes**. Read on for possible reasons for this message.diff --git a/packages/docs/docs/terminology.md b/packages/docs/docs/terminology.mdindex a3f4cb9ff7..96006263bd 100644--- a/packages/docs/docs/terminology.md+++ b/packages/docs/docs/terminology.md@@ -1,5 +1,6 @@---title: Terminology+crumb: "The Remotion dictionary"---Here we try to explain the meaning of some terms that are used often in the documentation, but are not self-explanatory. Which terms would you like to have explained? [Let us know](https://remotion.dev/issue)!diff --git a/packages/docs/docs/the-fundamentals.md b/packages/docs/docs/the-fundamentals.mdindex a58f6c6df3..ec0cf605ed 100644--- a/packages/docs/docs/the-fundamentals.md+++ b/packages/docs/docs/the-fundamentals.md@@ -1,6 +1,7 @@---id: the-fundamentalstitle: The fundamentals+crumb: "Getting started"---```twoslash include examplediff --git a/packages/docs/docs/third-party.md b/packages/docs/docs/third-party.mdindex a651fc0ce8..2e55491280 100644--- a/packages/docs/docs/third-party.md+++ b/packages/docs/docs/third-party.md@@ -2,6 +2,7 @@id: third-partytitle: Third party integrationssidebar_label: Third party integrations+crumb: "Integrations"---All animations in Remotion must be driven by the value returned by the [`useCurrentFrame()`](/docs/use-current-frame) hook. If you would like to use another way of animations in Remotion, you need an integration that supports synchronizing the timing with Remotion.diff --git a/packages/docs/docs/three-canvas.md b/packages/docs/docs/three-canvas.mdindex ae1d7a2fd9..0dc317e207 100644--- a/packages/docs/docs/three-canvas.md+++ b/packages/docs/docs/three-canvas.md@@ -1,6 +1,7 @@---id: three-canvastitle: <ThreeCanvas>+crumb: "@remotion/three"---A wrapper for [React Three Fiber](https://github.com/pmndrs/react-three-fiber)'s `<Canvas />` which synchronizes with Remotions [`useCurrentFrame()`](/docs/use-current-frame).@@ -16,8 +17,8 @@ A browser bug [would normally cause the layout to be broken](https://github.com/A spinning, color changing, scaling cube. This example can also be found in the `examples` folder of the Remotion repo.```tsx twoslash-import { interpolate, useCurrentFrame, useVideoConfig } from "remotion";import { ThreeCanvas } from "@remotion/three";+import { interpolate, useCurrentFrame, useVideoConfig } from "remotion";const ThreeBasic: React.FC = () => {const frame = useCurrentFrame();diff --git a/packages/docs/docs/timeline.md b/packages/docs/docs/timeline.mdindex 13bdbf82d3..8060461de2 100644--- a/packages/docs/docs/timeline.md+++ b/packages/docs/docs/timeline.md@@ -1,6 +1,7 @@---title: Preview your videoid: timeline+crumb: "Timeline basics"---You can start the preview server of Remotion usingdiff --git a/packages/docs/docs/timeout.md b/packages/docs/docs/timeout.mdindex 7a976b706b..c7533e4fb9 100644--- a/packages/docs/docs/timeout.md+++ b/packages/docs/docs/timeout.md@@ -1,6 +1,7 @@---id: timeouttitle: Puppeteer timeout+crumb: "Troubleshooting"---The following error:diff --git a/packages/docs/docs/transparent-videos.md b/packages/docs/docs/transparent-videos.mdindex 6eaae7d3bc..ee9073adcd 100644--- a/packages/docs/docs/transparent-videos.md+++ b/packages/docs/docs/transparent-videos.md@@ -1,6 +1,7 @@---id: transparent-videostitle: Transparent videos+crumb: "Techniques"---import { TransparentVideoDemo } from "../components/TransparentVideoDemo";diff --git a/packages/docs/docs/troubleshooting/defaultprops-too-big.md b/packages/docs/docs/troubleshooting/defaultprops-too-big.mdindex a231e696eb..005970264f 100644--- a/packages/docs/docs/troubleshooting/defaultprops-too-big.md+++ b/packages/docs/docs/troubleshooting/defaultprops-too-big.md@@ -2,6 +2,7 @@id: defaultprops-too-bigsidebar_label: defaultProps too bigtitle: defaultProps too big - could not serialize+crumb: "Troubleshooting"---If you experience an error during rendering:diff --git a/packages/docs/docs/troubleshooting/loading-root-component.md b/packages/docs/docs/troubleshooting/loading-root-component.mdindex 762e326b8b..6a03bb537f 100644--- a/packages/docs/docs/troubleshooting/loading-root-component.md+++ b/packages/docs/docs/troubleshooting/loading-root-component.md@@ -1,6 +1,7 @@---id: loading-root-componenttitle: Root component Timeout+crumb: "Troubleshooting"---If you get an error message:diff --git a/packages/docs/docs/troubleshooting/rosetta.md b/packages/docs/docs/troubleshooting/rosetta.mdindex 2575992bc9..02701bdfb0 100644--- a/packages/docs/docs/troubleshooting/rosetta.md+++ b/packages/docs/docs/troubleshooting/rosetta.md@@ -2,6 +2,7 @@id: rosettasidebar_label: Apple Silicon detectedtitle: Apple Silicon under Rosetta+crumb: "Troubleshooting"---Running Remotion on Apple Silicon (M1 chip) under Rosetta can be up to 2x slower.diff --git a/packages/docs/docs/use-audio-data.md b/packages/docs/docs/use-audio-data.mdindex c75205bb43..5290bc68a5 100644--- a/packages/docs/docs/use-audio-data.md+++ b/packages/docs/docs/use-audio-data.md@@ -1,6 +1,7 @@---title: useAudioData()id: use-audio-data+crumb: "@remotion/media-utils"---_Part of the `@remotion/media-utils` package of helper functions._@@ -45,7 +46,6 @@ A string pointing to an audio asset.## Example```tsx twoslash-import { Audio } from "remotion";// ---cut---import { useAudioData } from "@remotion/media-utils";import music from "./music.mp3";diff --git a/packages/docs/docs/use-current-frame.md b/packages/docs/docs/use-current-frame.mdindex d7479386ff..61ba3e58c4 100644--- a/packages/docs/docs/use-current-frame.md+++ b/packages/docs/docs/use-current-frame.md@@ -1,6 +1,7 @@---title: useCurrentFrame()id: use-current-frame+crumb: "API"---With this hook, you can retrieve the current frame of the video. Frames are 0-indexed, meaning the first frame is `0`, the last frame is the duration of the composition in frames minus one. To learn more about how Remotion works with time, read the page about [the fundamentals](/docs/the-fundamentals).diff --git a/packages/docs/docs/use-img-and-iframe.md b/packages/docs/docs/use-img-and-iframe.mdindex fb453a202d..dcfc97cc69 100644--- a/packages/docs/docs/use-img-and-iframe.md+++ b/packages/docs/docs/use-img-and-iframe.md@@ -1,6 +1,7 @@---id: use-img-and-iframetitle: <Img> and <IFrame> tags+crumb: "Best practices"---Prefer Remotions [`<Img />`](/docs/img) and [`<IFrame />`](/docs/iframe) Tags over the native HTML elements. This will ensure that rendering is paused until all resources are actually loaded. The last thing you would want is your video to have a flickering frame!diff --git a/packages/docs/docs/use-video-config.md b/packages/docs/docs/use-video-config.mdindex c491024838..220822fa80 100644--- a/packages/docs/docs/use-video-config.md+++ b/packages/docs/docs/use-video-config.md@@ -1,6 +1,7 @@---title: useVideoConfig()id: use-video-config+crumb: "API"---With this hook, you can retrieve some info about the context of the video that you are making.diff --git a/packages/docs/docs/use-video-texture.md b/packages/docs/docs/use-video-texture.mdindex b87de9b4cc..4d928d9187 100644--- a/packages/docs/docs/use-video-texture.md+++ b/packages/docs/docs/use-video-texture.md@@ -1,6 +1,7 @@---id: use-video-texturetitle: useVideoTexture()+crumb: "@remotion/three"---Allows you to use a video in React Three Fiber that is synchronized with Remotion's `useCurrentFrame()`.diff --git a/packages/docs/docs/using-audio.md b/packages/docs/docs/using-audio.mdindex 08ce9400b4..2b2f1ff77b 100644--- a/packages/docs/docs/using-audio.md+++ b/packages/docs/docs/using-audio.md@@ -1,6 +1,7 @@---title: Using audioid: using-audio+crumb: "Techniques"---import Tabs from '@theme/Tabs';diff --git a/packages/docs/docs/using-fonts.md b/packages/docs/docs/using-fonts.mdindex 581a7904d1..4dcdbb726b 100644--- a/packages/docs/docs/using-fonts.md+++ b/packages/docs/docs/using-fonts.md@@ -1,6 +1,7 @@---title: Using fontsid: fonts+crumb: "Techniques"---Here are some ways how you can use custom fonts in Remotion.diff --git a/packages/docs/docs/using-randomness.md b/packages/docs/docs/using-randomness.mdindex 78589c3bf4..4ba30b539f 100644--- a/packages/docs/docs/using-randomness.md+++ b/packages/docs/docs/using-randomness.md@@ -1,7 +1,7 @@---id: using-randomnesstitle: Using randomness-crumb: "Roll the dice:"+crumb: "Roll the dice"---The following thing is an anti-pattern in Remotion:diff --git a/packages/docs/docs/version-mismatch.md b/packages/docs/docs/version-mismatch.mdindex 91ec62a440..5935a074ba 100644--- a/packages/docs/docs/version-mismatch.md+++ b/packages/docs/docs/version-mismatch.md@@ -1,6 +1,7 @@---id: version-mismatchtitle: Version mismatch+crumb: "How to fix a"---It is important that all Remotion packages you install (`remotion`, `@remotion/player`, `@remotion/cli`, etc.) have the same version installed. If the versions differ, the packages might not be able to correctly communicate with each other which can introduce subtle bugs or even complete breakage.@@ -15,7 +16,7 @@ The following `package.json` does **not** ensure that all Remotion versions are"remotion": "^2.6.12","@remotion/player": "^2.6.12","@remotion/gif": "^2.6.12"- },+ }}```@@ -27,7 +28,7 @@ however the following manifest does:"remotion": "2.6.12","@remotion/player": "2.6.12","@remotion/gif": "2.6.12"- },+ }}```@@ -77,4 +78,3 @@ to see which packages and versions your project contains.If we have given you a prerelease version of Remotion to test, the same principle applies, where you should not just upgrade the affected package, but all packages including `remotion` and packages starting with `@remotion`.**See also:** [Testing prereleases](/docs/prereleases)-diff --git a/packages/docs/docs/video-manipulation.md b/packages/docs/docs/video-manipulation.mdindex 11b359b9cd..840d6dbb46 100644--- a/packages/docs/docs/video-manipulation.md+++ b/packages/docs/docs/video-manipulation.md@@ -1,6 +1,7 @@---id: video-manipulationtitle: Video manipulation+crumb: "How To"---import { VideoCanvasExamples } from "../components/GreenscreenExamples/index";@@ -19,10 +20,8 @@ In this example, a Video is rendered and made invisible. Then it is rendered ont<br/>```tsx twoslash-import { useVideoConfig, Video } from "remotion";-import { useCallback, useEffect, useRef } from "react";-import React from "react";-import { AbsoluteFill } from "remotion";+import React, { useCallback, useEffect, useRef } from "react";+import { AbsoluteFill, useVideoConfig, Video } from "remotion";declare global {interface VideoFrameMetadata {presentationTime: DOMHighResTimeStamp;@@ -133,10 +132,8 @@ declare global {cancelVideoFrameCallback(handle: VideoFrameRequestCallbackId): void;}}-import { useVideoConfig, Video } from "remotion";-import { useCallback, useEffect, useRef } from "react";-import React from "react";-import { AbsoluteFill } from "remotion";+import React, { useCallback, useEffect, useRef } from "react";+import { AbsoluteFill, useVideoConfig, Video } from "remotion";// ---cut---export const Greenscreen: React.FC<{diff --git a/packages/docs/docs/video-uploads.md b/packages/docs/docs/video-uploads.mdindex 670dc8025d..f5db1c3a5f 100644--- a/packages/docs/docs/video-uploads.md+++ b/packages/docs/docs/video-uploads.md@@ -1,6 +1,7 @@---id: video-uploadstitle: Handling user video uploads+crumb: "Building video apps"---In an app where users can upload videos and edit them, we can create a better user experience by loading the video into a player even before the upload is finished. Good news: This can be done pretty easily!diff --git a/packages/docs/docs/video-vs-offthreadvideo.md b/packages/docs/docs/video-vs-offthreadvideo.mdindex 16c2ac604f..3879c96278 100644--- a/packages/docs/docs/video-vs-offthreadvideo.md+++ b/packages/docs/docs/video-vs-offthreadvideo.md@@ -1,6 +1,7 @@---id: video-vs-offthreadvideotitle: "<Video> vs. <OffthreadVideo>"+crumb: "Comparison"---We offer two components for including other videos in your video: [`<Video />`](/docs/video) and [`<OffthreadVideo />`](/docs/offthreadvideo).diff --git a/packages/docs/docs/video.md b/packages/docs/docs/video.mdindex 23558aea16..57c48aa5c0 100644--- a/packages/docs/docs/video.md+++ b/packages/docs/docs/video.md@@ -1,6 +1,7 @@---title: <Video>id: video+crumb: "API"---This component allows you to include a video file in your Remotion project. It wraps the native [`HTMLVideoElement`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement).diff --git a/packages/docs/docs/visualize-audio.md b/packages/docs/docs/visualize-audio.mdindex 69b4914759..b435b0a632 100644--- a/packages/docs/docs/visualize-audio.md+++ b/packages/docs/docs/visualize-audio.md@@ -1,6 +1,7 @@---title: visualizeAudio()id: visualize-audio+crumb: "@remotion/media-utils"---_Part of the `@remotion/media-utils` package of helper functions._@@ -23,7 +24,6 @@ The only argument for this function is an object containing the following values- `smoothing`: `boolean` - when set to `true` the returned values will be an average of the current, previous and next frames. The result is a smoother transition for quickly changing values. Default value is `true`.-## Return value`number[]` - An array of values describing the amplitude of each frequency range. Each value is between 0 and 1. The array is of length defined by the `numberOfSamples` parameter.@@ -37,8 +37,8 @@ Usually the values on left side of the array can become much larger than the valIn this example, we render a bar chart visualizing the audio spectrum of an audio file we imported using [`useAudioData()`](/docs/use-audio-data) and `visualizeAudio()`.```tsx twoslash-import { Audio, useCurrentFrame, useVideoConfig } from "remotion";import { useAudioData, visualizeAudio } from "@remotion/media-utils";+import { Audio, useCurrentFrame, useVideoConfig } from "remotion";import music from "./music.mp3";export const MyComponent: React.FC = () => {diff --git a/packages/docs/docs/wrong-composition-mount.md b/packages/docs/docs/wrong-composition-mount.mdindex f95c422a3c..c93550c145 100644--- a/packages/docs/docs/wrong-composition-mount.md+++ b/packages/docs/docs/wrong-composition-mount.md@@ -1,6 +1,7 @@---id: wrong-composition-mounttitle: Wrongly mounted <Composition>+crumb: "Troubleshooting"---## Problemdiff --git a/packages/docs/extract-articles.mjs b/packages/docs/extract-articles.mjsindex 0b5a896a9d..56b413e06a 100644--- a/packages/docs/extract-articles.mjs+++ b/packages/docs/extract-articles.mjs@@ -73,7 +73,7 @@ const serveUrl = await bundle({});const compositions = await getCompositions(serveUrl);-for (const entry of data.slice(0, 5)) {+for (const entry of data) {const composition = compositions.find((c) => c.id === entry.compId);const output = `static/generated/${composition.id}.png`;await renderStill({@@ -86,16 +86,14 @@ for (const entry of data.slice(0, 5)) {path.join(process.cwd(), entry.relativePath),"utf-8");- const lines = fileContents.split("\n");+ const lines = fileContents+ .split("\n")+ .filter((l) => !l.startsWith("image: "));const frontmatterLine = lines.findIndex((l) => l === "---");if (frontmatterLine === -1) {throw new Error("could not find frontmatter for " + composition.id);}- if (lines.find((l) => l.startsWith("image:"))) {- continue;- }-const newLines = [...lines.slice(0, frontmatterLine + 1),`image: /${output.substring("/static".length)}`,