Skip to content

🎥 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.md
index 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.png
id: 2-0-migration
sidebar_label: v2.0 Migration
title: 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.md
index 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.png
id: 3-0-migration
title: 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.md
index 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.png
id: absolute-fill
title: <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.md
index 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.png
id: after-effects
title: Import from After Effects
slug: after-effects
+crumb: "Integrations"
---
import {InlineStep} from '../components/InlineStep';
diff --git a/packages/docs/docs/animating-properties.md b/packages/docs/docs/animating-properties.md
index 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.png
id: animating-properties
title: 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.md
index ba649b6b91..e9655d887b 100644
--- a/packages/docs/docs/audio-visualization.md
+++ b/packages/docs/docs/audio-visualization.md
@@ -1,6 +1,7 @@
---
title: Audio visualization
id: 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 audio
Refer 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.md
index 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.md
index 00c2885540..b91e38c093 100644
--- a/packages/docs/docs/audiobuffertodataurl.md
+++ b/packages/docs/docs/audiobuffertodataurl.md
@@ -1,6 +1,7 @@
---
id: audio-buffer-to-data-url
title: 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.md
index 762f48b6dd..db6b49fec7 100644
--- a/packages/docs/docs/brownfield-installation.md
+++ b/packages/docs/docs/brownfield-installation.md
@@ -2,6 +2,7 @@
id: brownfield
title: Installing Remotion in an existing project
sidebar_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.md
index 98899ce3f5..7a06d24d80 100644
--- a/packages/docs/docs/bundle.md
+++ b/packages/docs/docs/bundle.md
@@ -1,6 +1,7 @@
---
id: bundle
title: 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.md
index d9b503b94a..1dceca0445 100644
--- a/packages/docs/docs/chromium-flags.md
+++ b/packages/docs/docs/chromium-flags.md
@@ -1,6 +1,7 @@
---
id: chromium-flags
title: Chromium flags
+crumb: "Tweaks"
---
import {AngleChangelog} from '../components/AngleChangelog';
diff --git a/packages/docs/docs/cli/benchmark.md b/packages/docs/docs/cli/benchmark.md
index 4942c60995..18bb095fb7 100644
--- a/packages/docs/docs/cli/benchmark.md
+++ b/packages/docs/docs/cli/benchmark.md
@@ -1,6 +1,7 @@
---
title: npx remotion benchmark
sidebar_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.md
index 050fc3a04e..423ee0b4fe 100644
--- a/packages/docs/docs/cli/compositions.md
+++ b/packages/docs/docs/cli/compositions.md
@@ -1,6 +1,7 @@
---
title: npx remotion compositions
sidebar_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.md
index f5d99fdf5f..f7a7ad050e 100644
--- a/packages/docs/docs/cli/help.md
+++ b/packages/docs/docs/cli/help.md
@@ -1,6 +1,7 @@
---
title: npx remotion help
sidebar_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.md
index 46517a6c47..8360fccb13 100644
--- a/packages/docs/docs/cli/install.md
+++ b/packages/docs/docs/cli/install.md
@@ -1,6 +1,7 @@
---
title: npx remotion install
sidebar_label: install
+crumb: CLI Reference
---
_available from v3.3_
diff --git a/packages/docs/docs/cli/preview.md b/packages/docs/docs/cli/preview.md
index 17acb7bdfc..d9fed9f2d8 100644
--- a/packages/docs/docs/cli/preview.md
+++ b/packages/docs/docs/cli/preview.md
@@ -1,6 +1,7 @@
---
title: npx remotion preview
sidebar_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.md
index 4a0eb954a1..7b5bf3c69d 100644
--- a/packages/docs/docs/cli/render.md
+++ b/packages/docs/docs/cli/render.md
@@ -1,6 +1,7 @@
---
title: npx remotion render
sidebar_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.md
index 81a993da09..88fe9e424d 100644
--- a/packages/docs/docs/cli/still.md
+++ b/packages/docs/docs/cli/still.md
@@ -1,6 +1,7 @@
---
title: npx remotion still
sidebar_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.md
index 88ff9f4129..50d74ea2fc 100644
--- a/packages/docs/docs/cli/upgrade.md
+++ b/packages/docs/docs/cli/upgrade.md
@@ -1,6 +1,7 @@
---
title: npx remotion upgrade
sidebar_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.md
index f651c52be9..52e6627e93 100644
--- a/packages/docs/docs/cli/versions.md
+++ b/packages/docs/docs/cli/versions.md
@@ -1,6 +1,7 @@
---
title: npx remotion versions
sidebar_label: versions
+crumb: CLI Reference
---
_Available from Remotion v2.6.2_
diff --git a/packages/docs/docs/composition.md b/packages/docs/docs/composition.md
index b1e9960d52..549e9c51ab 100644
--- a/packages/docs/docs/composition.md
+++ b/packages/docs/docs/composition.md
@@ -1,6 +1,7 @@
---
id: composition
title: <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.md
index 140bf4993f..2a67ae80ef 100644
--- a/packages/docs/docs/config.md
+++ b/packages/docs/docs/config.md
@@ -1,6 +1,7 @@
---
id: config
title: 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.md
index 9326cc2233..18a75d3096 100644
--- a/packages/docs/docs/continue-render.md
+++ b/packages/docs/docs/continue-render.md
@@ -1,6 +1,7 @@
---
id: continue-render
title: continueRender()
+crumb: "API"
---
import {Redirect} from '@docusaurus/router';
diff --git a/packages/docs/docs/data-fetching.md b/packages/docs/docs/data-fetching.md
index f25692a43f..cc8b4aeb73 100644
--- a/packages/docs/docs/data-fetching.md
+++ b/packages/docs/docs/data-fetching.md
@@ -1,6 +1,7 @@
---
id: data-fetching
title: 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://develope
There 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.md
index a3ac69046b..386350c83c 100644
--- a/packages/docs/docs/dataset-render.md
+++ b/packages/docs/docs/dataset-render.md
@@ -2,6 +2,7 @@
id: dataset-render
sidebar_label: Render a dataset
title: 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.md
index fcc9b0bea9..e2307a03ac 100644
--- a/packages/docs/docs/delay-render.md
+++ b/packages/docs/docs/delay-render.md
@@ -2,6 +2,7 @@
id: delay-render
title: 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.md
index 1887b2b41c..1e7610dea6 100644
--- a/packages/docs/docs/dynamic-import.md
+++ b/packages/docs/docs/dynamic-import.md
@@ -1,6 +1,7 @@
---
title: Webpack dynamic imports
id: 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.md
index 5f6bf0321f..5f18d0fd0f 100644
--- a/packages/docs/docs/dynamic-metadata.md
+++ b/packages/docs/docs/dynamic-metadata.md
@@ -1,6 +1,7 @@
---
id: dynamic-metadata
title: 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.md
index 78186e3f3d..230f9f394e 100644
--- a/packages/docs/docs/easing.md
+++ b/packages/docs/docs/easing.md
@@ -1,6 +1,7 @@
---
id: easing
title: 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.md
index 273a67995b..845e6bd9ba 100644
--- a/packages/docs/docs/enametoolong.md
+++ b/packages/docs/docs/enametoolong.md
@@ -1,6 +1,7 @@
---
id: enametoolong
title: ENAMETOOLONG
+crumb: "Troubleshooting"
---
```
diff --git a/packages/docs/docs/encoding.md b/packages/docs/docs/encoding.md
index efe6480295..744287e4cd 100644
--- a/packages/docs/docs/encoding.md
+++ b/packages/docs/docs/encoding.md
@@ -1,6 +1,7 @@
---
id: encoding
title: 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.md
index ae68361184..2991209c45 100644
--- a/packages/docs/docs/env-variables.md
+++ b/packages/docs/docs/env-variables.md
@@ -1,6 +1,7 @@
---
id: env-variables
title: Environment variables
+crumb: "How To"
---
_Available from v2.1.2._
diff --git a/packages/docs/docs/ffmpeg.md b/packages/docs/docs/ffmpeg.md
index f0ad6a5eff..3c76c09ea8 100644
--- a/packages/docs/docs/ffmpeg.md
+++ b/packages/docs/docs/ffmpeg.md
@@ -1,6 +1,7 @@
---
title: Installing FFmpeg
sidebar_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.md
index 5aae0e2ca0..8a7bad1ea7 100644
--- a/packages/docs/docs/figma.md
+++ b/packages/docs/docs/figma.md
@@ -1,6 +1,7 @@
---
id: figma
title: 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.md
index ec8cdf81dc..f8b19e794e 100644
--- a/packages/docs/docs/flickering.md
+++ b/packages/docs/docs/flickering.md
@@ -1,6 +1,7 @@
---
id: flickering
title: 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.md
index 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.md
index 78c324f456..f854ab1f05 100644
--- a/packages/docs/docs/freeze.md
+++ b/packages/docs/docs/freeze.md
@@ -1,6 +1,7 @@
---
id: freeze
title: <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.md
index 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.md
index 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.md
index 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.md
index 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.md
index 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.md
index 764e79db19..6207054020 100644
--- a/packages/docs/docs/getting-started.md
+++ b/packages/docs/docs/getting-started.md
@@ -3,6 +3,7 @@ id: getting-started
title: Setup and Installation
sidebar_label: Installation
slug: /
+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.md
index 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.md
index 8b62f00ce7..8cae31e506 100644
--- a/packages/docs/docs/gif/gif.md
+++ b/packages/docs/docs/gif/gif.md
@@ -2,6 +2,7 @@
slug: gif
sidebar_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.md
index 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.md
index 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.md
index 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.md
index 833549c8e8..ae880305b2 100644
--- a/packages/docs/docs/gpu.md
+++ b/packages/docs/docs/gpu.md
@@ -2,6 +2,7 @@
id: gpu
title: Using the GPU
sidebar_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.md
index 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.md
index 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.md
index cf2bc44ec7..d55dd9922f 100644
--- a/packages/docs/docs/importing-assets.md
+++ b/packages/docs/docs/importing-assets.md
@@ -1,6 +1,7 @@
---
id: assets
title: 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.md
index 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 (the
Using 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(); // 10
diff --git a/packages/docs/docs/interpolate.md b/packages/docs/docs/interpolate.md
index 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.md
index adbc3e1db2..1117fd8df3 100644
--- a/packages/docs/docs/jsx-support.md
+++ b/packages/docs/docs/jsx-support.md
@@ -1,6 +1,7 @@
---
id: javascript
title: 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.md
index 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.md
index 4678ec306d..fdcd6701d0 100644
--- a/packages/docs/docs/lambda/checklist.md
+++ b/packages/docs/docs/lambda/checklist.md
@@ -3,6 +3,7 @@ id: checklist
sidebar_label: Production Checklist
title: Production Checklist
slug: /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.md
index 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 compositions
sidebar_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.md
index 8ccac5230c..0681c79b21 100644
--- a/packages/docs/docs/lambda/cli/functions.md
+++ b/packages/docs/docs/lambda/cli/functions.md
@@ -3,6 +3,7 @@ id: functions
sidebar_label: functions
title: "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.md
index 3c986fae6a..0808d563e5 100644
--- a/packages/docs/docs/lambda/cli/policies.md
+++ b/packages/docs/docs/lambda/cli/policies.md
@@ -3,6 +3,7 @@ id: policies
sidebar_label: policies
title: "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.md
index 12668a602e..6cc07de2d2 100644
--- a/packages/docs/docs/lambda/cli/quotas.md
+++ b/packages/docs/docs/lambda/cli/quotas.md
@@ -3,6 +3,7 @@ id: quotas
sidebar_label: quotas
title: "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.md
index 870b67777d..5a6665d527 100644
--- a/packages/docs/docs/lambda/cli/regions.md
+++ b/packages/docs/docs/lambda/cli/regions.md
@@ -2,6 +2,7 @@
id: regions
sidebar_label: regions
title: "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.md
index b2364da05c..b67c48eb2b 100644
--- a/packages/docs/docs/lambda/cli/render.md
+++ b/packages/docs/docs/lambda/cli/render.md
@@ -3,6 +3,7 @@ id: render
sidebar_label: render
title: "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.md
index e079f18a95..a897472368 100644
--- a/packages/docs/docs/lambda/cli/sites.md
+++ b/packages/docs/docs/lambda/cli/sites.md
@@ -3,6 +3,7 @@ id: sites
sidebar_label: sites
title: "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.md
index b06a382e88..5c497ff840 100644
--- a/packages/docs/docs/lambda/cli/still.md
+++ b/packages/docs/docs/lambda/cli/still.md
@@ -3,6 +3,7 @@ id: still
sidebar_label: still
title: "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.md
index d04000297a..89abfd5ba5 100644
--- a/packages/docs/docs/lambda/concurrency.md
+++ b/packages/docs/docs/lambda/concurrency.md
@@ -1,6 +1,7 @@
---
id: concurrency
title: 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.md
index 3de98ad5e3..7f4df72dea 100644
--- a/packages/docs/docs/lambda/cost.md
+++ b/packages/docs/docs/lambda/cost.md
@@ -2,6 +2,7 @@
id: optimizing-cost
title: Optimizing for cost
slug: /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.md
index 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-destination
sidebar_label: Custom output destination
title: 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.md
index 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 Layers
slug: custom-layers
+crumb: "Lambda"
---
import Tabs from '@theme/Tabs';
diff --git a/packages/docs/docs/lambda/deletefunction.md b/packages/docs/docs/lambda/deletefunction.md
index 634a74e825..8a62c172db 100644
--- a/packages/docs/docs/lambda/deletefunction.md
+++ b/packages/docs/docs/lambda/deletefunction.md
@@ -2,6 +2,7 @@
id: deletefunction
title: 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.md
index 9f5c5fd207..e9705c3310 100644
--- a/packages/docs/docs/lambda/deleterender.md
+++ b/packages/docs/docs/lambda/deleterender.md
@@ -2,6 +2,7 @@
id: deleterender
title: 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.md
index 53121c732b..05edb3b9d8 100644
--- a/packages/docs/docs/lambda/deletesite.md
+++ b/packages/docs/docs/lambda/deletesite.md
@@ -2,6 +2,7 @@
id: deletesite
title: 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.md
index 1b43e698d8..3dafb184d4 100644
--- a/packages/docs/docs/lambda/deployfunction.md
+++ b/packages/docs/docs/lambda/deployfunction.md
@@ -2,6 +2,7 @@
id: deployfunction
title: 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.md
index cb39caaf3e..1ebd06b69c 100644
--- a/packages/docs/docs/lambda/deploysite.md
+++ b/packages/docs/docs/lambda/deploysite.md
@@ -2,6 +2,7 @@
id: deploysite
title: 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.md
index 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-size
title: 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.md
index 788cd49fc3..8bc7924d50 100644
--- a/packages/docs/docs/lambda/downloadmedia.md
+++ b/packages/docs/docs/lambda/downloadmedia.md
@@ -2,6 +2,7 @@
id: downloadmedia
title: 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.md
index 332cc761a6..823e20ff66 100644
--- a/packages/docs/docs/lambda/downloadvideo.md
+++ b/packages/docs/docs/lambda/downloadvideo.md
@@ -1,6 +1,7 @@
---
id: downloadvideo
title: downloadVideo()
+crumb: "Lambda API"
---
import Redirect from '../../components/Redirect';
diff --git a/packages/docs/docs/lambda/estimateprice.md b/packages/docs/docs/lambda/estimateprice.md
index 9b8060b8b3..118a019727 100644
--- a/packages/docs/docs/lambda/estimateprice.md
+++ b/packages/docs/docs/lambda/estimateprice.md
@@ -2,6 +2,7 @@
id: estimateprice
title: 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.md
index 7f4a517522..dd6be55cea 100644
--- a/packages/docs/docs/lambda/faq.md
+++ b/packages/docs/docs/lambda/faq.md
@@ -2,6 +2,7 @@
sidebar_label: FAQ
title: FAQ
slug: /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.md
index 53671d12cf..12d549cc0c 100644
--- a/packages/docs/docs/lambda/getawsclient.md
+++ b/packages/docs/docs/lambda/getawsclient.md
@@ -1,6 +1,7 @@
---
id: getawsclient
title: 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.md
index 59a5760ab3..e071fdc9a9 100644
--- a/packages/docs/docs/lambda/getcompositionsonlambda.md
+++ b/packages/docs/docs/lambda/getcompositionsonlambda.md
@@ -2,6 +2,7 @@
id: getcompositionsonlambda
title: 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.md
index d5fe64ae49..f01d47642f 100644
--- a/packages/docs/docs/lambda/getfunctioninfo.md
+++ b/packages/docs/docs/lambda/getfunctioninfo.md
@@ -2,6 +2,7 @@
id: getfunctioninfo
title: 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.md
index 8c3f716f24..95b4fae766 100644
--- a/packages/docs/docs/lambda/getfunctions.md
+++ b/packages/docs/docs/lambda/getfunctions.md
@@ -2,6 +2,7 @@
title: getFunctions()
id: getfunctions
slug: /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.md
index 23d510802b..432a66ed52 100644
--- a/packages/docs/docs/lambda/getorcreatebucket.md
+++ b/packages/docs/docs/lambda/getorcreatebucket.md
@@ -2,6 +2,7 @@
id: getorcreatebucket
title: 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.md
index 092573a1df..608d7b652f 100644
--- a/packages/docs/docs/lambda/getregions.md
+++ b/packages/docs/docs/lambda/getregions.md
@@ -1,6 +1,7 @@
---
id: getregions
title: 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.md
index 5bc9c32968..b54e0fa95b 100644
--- a/packages/docs/docs/lambda/getrenderprogress.md
+++ b/packages/docs/docs/lambda/getrenderprogress.md
@@ -2,6 +2,7 @@
id: getrenderprogress
title: 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.md
index a0e36c1e2c..dd622f68d2 100644
--- a/packages/docs/docs/lambda/getrolepolicy.md
+++ b/packages/docs/docs/lambda/getrolepolicy.md
@@ -2,6 +2,7 @@
id: getrolepolicy
title: 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.md
index 32011e6abe..6afcf7a4c6 100644
--- a/packages/docs/docs/lambda/getsites.md
+++ b/packages/docs/docs/lambda/getsites.md
@@ -2,6 +2,7 @@
id: getsites
title: 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.md
index 29a2114a4a..e55b7785f7 100644
--- a/packages/docs/docs/lambda/getuserpolicy.md
+++ b/packages/docs/docs/lambda/getuserpolicy.md
@@ -2,6 +2,7 @@
id: getuserpolicy
title: 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.md
index 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 client
title: 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 bu
Instead, 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.md
index d3dfc8aff7..4363840248 100644
--- a/packages/docs/docs/lambda/limits.md
+++ b/packages/docs/docs/lambda/limits.md
@@ -2,6 +2,7 @@
sidebar_label: Limits
title: Lambda Limits
slug: /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.md
index 940d53d1ff..7351897347 100644
--- a/packages/docs/docs/lambda/permissions.md
+++ b/packages/docs/docs/lambda/permissions.md
@@ -1,6 +1,7 @@
---
sidebar_label: Permissions
title: 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.md
index 4abdb89fdd..983e8f45d5 100644
--- a/packages/docs/docs/lambda/presignurl.md
+++ b/packages/docs/docs/lambda/presignurl.md
@@ -1,6 +1,7 @@
---
id: presignurl
title: 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.md
index 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-selection
title: Region selection
slug: /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.md
index 067dbc70f6..c36c410d1b 100644
--- a/packages/docs/docs/lambda/rendermediaonlambda.md
+++ b/packages/docs/docs/lambda/rendermediaonlambda.md
@@ -1,6 +1,7 @@
---
id: rendermediaonlambda
title: 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.md
index 2578295713..505319643d 100644
--- a/packages/docs/docs/lambda/renderstillonlambda.md
+++ b/packages/docs/docs/lambda/renderstillonlambda.md
@@ -2,6 +2,7 @@
id: renderstillonlambda
title: 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.md
index 4d31210aa1..ecb551ef5a 100644
--- a/packages/docs/docs/lambda/rendervideoonlambda.md
+++ b/packages/docs/docs/lambda/rendervideoonlambda.md
@@ -1,6 +1,7 @@
---
id: rendervideoonlambda
title: renderVideoOnLambda()
+crumb: "Lambda API"
---
import Redirect from '../../components/Redirect';
diff --git a/packages/docs/docs/lambda/runtime.md b/packages/docs/docs/lambda/runtime.md
index 469c449165..232e9017c8 100644
--- a/packages/docs/docs/lambda/runtime.md
+++ b/packages/docs/docs/lambda/runtime.md
@@ -2,6 +2,7 @@
id: runtime
title: Runtime
slug: /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.md
index 31bdb689d2..67b465ebd9 100644
--- a/packages/docs/docs/lambda/setup.md
+++ b/packages/docs/docs/lambda/setup.md
@@ -2,6 +2,7 @@
id: setup
title: Setup
slug: /lambda/setup
+crumb: "Lambda"
---
import Tabs from '@theme/Tabs';
diff --git a/packages/docs/docs/lambda/simulatepermissions.md b/packages/docs/docs/lambda/simulatepermissions.md
index 2f9a726386..03b6a6c595 100644
--- a/packages/docs/docs/lambda/simulatepermissions.md
+++ b/packages/docs/docs/lambda/simulatepermissions.md
@@ -2,6 +2,7 @@
id: simulatepermissions
title: 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.md
index a0ab4345fe..ddf88834f8 100644
--- a/packages/docs/docs/lambda/speed.md
+++ b/packages/docs/docs/lambda/speed.md
@@ -2,6 +2,7 @@
id: optimizing-speed
title: Optimizing for speed
slug: /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.md
index 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-acl
title: 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.md
index 35d37b8ac2..26943c37a5 100644
--- a/packages/docs/docs/lambda/troubleshooting/permissions.md
+++ b/packages/docs/docs/lambda/troubleshooting/permissions.md
@@ -2,6 +2,7 @@
id: permissions
sidebar_label: Permissions
title: 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.md
index 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-limit
sidebar_label: Rate Limit
title: 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.md
index f3ac029e44..3ed82b47f3 100644
--- a/packages/docs/docs/lambda/troubleshooting/unrecognizedclientexception.md
+++ b/packages/docs/docs/lambda/troubleshooting/unrecognizedclientexception.md
@@ -1,6 +1,7 @@
---
id: unrecognizedclientexception
title: 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.md
index 1d6d2317fb..9ab7757149 100644
--- a/packages/docs/docs/lambda/validatewebhooksignature.md
+++ b/packages/docs/docs/lambda/validatewebhooksignature.md
@@ -2,6 +2,7 @@
id: validatewebhooksignature
title: 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.md
index 321eb304db..02ee9c0951 100644
--- a/packages/docs/docs/lambda/webhooks.md
+++ b/packages/docs/docs/lambda/webhooks.md
@@ -2,6 +2,7 @@
sidebar_label: Webhooks
title: Webhooks
slug: /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.md
index 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 transpilation
id: legacy-babel
+crumb: "How To"
---
import Tabs from "@theme/Tabs";
diff --git a/packages/docs/docs/loop.md b/packages/docs/docs/loop.md
index 63ca0ab008..78656bce3b 100644
--- a/packages/docs/docs/loop.md
+++ b/packages/docs/docs/loop.md
@@ -1,6 +1,7 @@
---
id: loop
title: <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.md
index 48cdfbaa1c..4b8e1101c6 100644
--- a/packages/docs/docs/lottie/getlottiemetadata.md
+++ b/packages/docs/docs/lottie/getlottiemetadata.md
@@ -1,6 +1,7 @@
---
id: getlottiemetadata
title: 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.md
index 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-comp
sidebar_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.md
index 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-lottiefiles
sidebar_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.md
index 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-remote
sidebar_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/HT
Use 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.md
index 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-staticfile
sidebar_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 `publ
Use 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.md
index 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.md
index 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-error
title: "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.md
index 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 rendering
title: 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.md
index 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.md
index 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.md
index 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.md
index 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.md
index 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"
---
:::info
diff --git a/packages/docs/docs/miscellaneous/ts-aliases.md b/packages/docs/docs/miscellaneous/ts-aliases.md
index 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-aliases
slug: /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.md
index 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.md
index 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.md
index 969156b679..a55f9d607a 100644
--- a/packages/docs/docs/noise-visualization.md
+++ b/packages/docs/docs/noise-visualization.md
@@ -1,6 +1,7 @@
---
title: Noise visualization
id: 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.md
index 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.md
index 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.md
index 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.md
index 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-media
title: 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.md
index 5e41e080b2..4947fcd453 100644
--- a/packages/docs/docs/offthreadvideo.md
+++ b/packages/docs/docs/offthreadvideo.md
@@ -1,6 +1,7 @@
---
id: offthreadvideo
title: "<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.md
index 9f0822dbfd..de4658d71f 100644
--- a/packages/docs/docs/overwriting-webpack-config.md
+++ b/packages/docs/docs/overwriting-webpack-config.md
@@ -1,6 +1,7 @@
---
id: webpack
title: 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.md
index 749b00b705..3aed7ea429 100644
--- a/packages/docs/docs/parametrized-rendering.md
+++ b/packages/docs/docs/parametrized-rendering.md
@@ -1,6 +1,7 @@
---
id: parametrized-rendering
title: 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.md
index 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.md
index 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.md
index 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.md
index 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.md
index 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.md
index 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.md
index 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.md
index 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.md
index 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.md
index 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.md
index 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.md
index 0e53215eae..02e3ba0978 100644
--- a/packages/docs/docs/performance.md
+++ b/packages/docs/docs/performance.md
@@ -1,6 +1,7 @@
---
id: performance
title: 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.md
index 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.md
index edf3fa5286..7c6bd6005f 100644
--- a/packages/docs/docs/player/autoplay.md
+++ b/packages/docs/docs/player/autoplay.md
@@ -3,6 +3,7 @@ id: autoplay
sidebar_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.md
index 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-practices
sidebar_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.md
index 149709057d..f998bf32ea 100644
--- a/packages/docs/docs/player/installation.md
+++ b/packages/docs/docs/player/installation.md
@@ -2,6 +2,7 @@
id: installation
title: Installation
slug: /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.md
index 995bf51132..ff468c0cf5 100644
--- a/packages/docs/docs/player/player-examples.md
+++ b/packages/docs/docs/player/player-examples.md
@@ -2,6 +2,7 @@
id: examples
sidebar_label: "Examples"
title: "Examples for @remotion/player"
+crumb: "@remotion/player"
---
## Bare example
diff --git a/packages/docs/docs/player/player-integration.md b/packages/docs/docs/player/player-integration.md
index 2a4ac6ed68..6b2f768026 100644
--- a/packages/docs/docs/player/player-integration.md
+++ b/packages/docs/docs/player/player-integration.md
@@ -1,6 +1,7 @@
---
id: integration
title: "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.md
index 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.md
index b00c96dd0c..62b8b2c79b 100644
--- a/packages/docs/docs/player/scaling.md
+++ b/packages/docs/docs/player/scaling.md
@@ -1,6 +1,7 @@
---
id: scaling
title: "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.md
index 9dd092dbed..af8d47ed9f 100644
--- a/packages/docs/docs/player/thumbnail.md
+++ b/packages/docs/docs/player/thumbnail.md
@@ -1,6 +1,7 @@
---
id: thumbnail
title: "<Thumbnail>"
+crumb: "@remotion/player"
---
_available from v3.2.41_
diff --git a/packages/docs/docs/prefetch.md b/packages/docs/docs/prefetch.md
index 0196237acd..0f69368acb 100644
--- a/packages/docs/docs/prefetch.md
+++ b/packages/docs/docs/prefetch.md
@@ -1,6 +1,7 @@
---
id: prefetch
title: 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.md
index 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-audio
slug: preload-audio
title: "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.md
index 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-video
slug: preload-video
sidebar_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.md
index 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-redirect
title: 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 loads
let urlToLoad =
diff --git a/packages/docs/docs/prereleases.md b/packages/docs/docs/prereleases.md
index 5baa0916d1..6df2a9d045 100644
--- a/packages/docs/docs/prereleases.md
+++ b/packages/docs/docs/prereleases.md
@@ -2,6 +2,7 @@
id: prereleases
slug: /prereleases
title: 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.md
index 2d0af3e98e..34727ceccb 100644
--- a/packages/docs/docs/presigned-urls.md
+++ b/packages/docs/docs/presigned-urls.md
@@ -1,6 +1,7 @@
---
id: presigned-urls
title: 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.md
index d849a84f9c..fffd878ce1 100644
--- a/packages/docs/docs/random.md
+++ b/packages/docs/docs/random.md
@@ -1,6 +1,7 @@
---
id: random
title: 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.md
index abef5951f6..02382728d3 100644
--- a/packages/docs/docs/react-18.md
+++ b/packages/docs/docs/react-18.md
@@ -1,6 +1,7 @@
---
id: react-18
title: Upgrade to React 18
+crumb: "The new and shiny"
---
## Updating packages
diff --git a/packages/docs/docs/register-root.md b/packages/docs/docs/register-root.md
index 242b172aba..84ac956f42 100644
--- a/packages/docs/docs/register-root.md
+++ b/packages/docs/docs/register-root.md
@@ -1,6 +1,7 @@
---
id: register-root
title: 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.md
index 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.md
index b980dd2c4b..80523744e6 100644
--- a/packages/docs/docs/render-all.md
+++ b/packages/docs/docs/render-all.md
@@ -1,6 +1,7 @@
---
id: render-all
title: 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.md
index 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-gif
title: Render as GIF
+crumb: "Techniques"
---
_Available since v3.1_
diff --git a/packages/docs/docs/render.md b/packages/docs/docs/render.md
index 68e44a107c..d26f4fa12f 100644
--- a/packages/docs/docs/render.md
+++ b/packages/docs/docs/render.md
@@ -1,6 +1,7 @@
---
id: render
title: 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.md
index 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-ffmpeg
title: 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.md
index 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-ffprobe
title: 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.md
index 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.md
index 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.md
index 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-signal
title: 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.md
index 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.md
index 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-frames
title: 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.md
index 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-media
title: 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.md
index 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-still
title: 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.md
index 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-video
title: stitchFramesToVideo()
+crumb: "@remotion/renderer"
---
_Part of the `@remotion/renderer` package._
diff --git a/packages/docs/docs/resources.md b/packages/docs/docs/resources.md
index 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.md
index d9c1ef9fa6..eb7794f76c 100644
--- a/packages/docs/docs/scaling.md
+++ b/packages/docs/docs/scaling.md
@@ -1,6 +1,7 @@
---
id: scaling
title: Output scaling
+crumb: "How To"
---
_Available from v2.6.7._
diff --git a/packages/docs/docs/sequence.md b/packages/docs/docs/sequence.md
index 07eef56c25..906109f95c 100644
--- a/packages/docs/docs/sequence.md
+++ b/packages/docs/docs/sequence.md
@@ -1,6 +1,7 @@
---
id: sequence
title: <Sequence>
+crumb: "API"
---
import { SequenceForwardExample } from "../components/SequenceExamples/SequenceForward";
diff --git a/packages/docs/docs/sequences.md b/packages/docs/docs/sequences.md
index 38a42ed3a8..cad72ff6bc 100644
--- a/packages/docs/docs/sequences.md
+++ b/packages/docs/docs/sequences.md
@@ -2,6 +2,7 @@
id: reusability
title: Reuse components using Sequences
sidebar_label: Reuse components
+crumb: "The power of React"
---
```twoslash include example
diff --git a/packages/docs/docs/series.md b/packages/docs/docs/series.md
index 0425578f5e..1a98aa434c 100644
--- a/packages/docs/docs/series.md
+++ b/packages/docs/docs/series.md
@@ -1,6 +1,7 @@
---
id: series
title: <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.md
index 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.md
index 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-nat
You 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.md
index 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-frame
title: "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.md
index 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.md
index 3b09ca2c63..837bfaec3c 100644
--- a/packages/docs/docs/spring.md
+++ b/packages/docs/docs/spring.md
@@ -1,6 +1,7 @@
---
id: spring
title: spring()
+crumb: "API"
---
A physics-based animation primitive.
diff --git a/packages/docs/docs/ssr-legacy.md b/packages/docs/docs/ssr-legacy.md
index 004093fcaf..59880ac3fc 100644
--- a/packages/docs/docs/ssr-legacy.md
+++ b/packages/docs/docs/ssr-legacy.md
@@ -1,6 +1,7 @@
---
id: ssr-legacy
title: 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 the
Follow 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 render
diff --git a/packages/docs/docs/ssr.md b/packages/docs/docs/ssr.md
index 2fd62adfa1..515b49b6f0 100644
--- a/packages/docs/docs/ssr.md
+++ b/packages/docs/docs/ssr.md
@@ -1,6 +1,7 @@
---
id: ssr
title: Server-Side Rendering
+crumb: "The power of"
---
:::info
@@ -22,9 +23,9 @@ The NPM package `@remotion/renderer` provides you with an API for rendering the
Follow 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 render
diff --git a/packages/docs/docs/static-file-relative-paths.md b/packages/docs/docs/static-file-relative-paths.md
index 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-paths
title: staticFile() does not support relative paths
sidebar_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.md
index 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-urls
title: staticFile() does not support remote URLs
sidebar_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.md
index 0549450bec..71af89be0f 100644
--- a/packages/docs/docs/staticfile.md
+++ b/packages/docs/docs/staticfile.md
@@ -1,6 +1,7 @@
---
id: staticfile
title: staticFile()
+crumb: "API"
---
_Available from v2.5.7._
diff --git a/packages/docs/docs/still.md b/packages/docs/docs/still.md
index 29516200d2..9f6673b7d8 100644
--- a/packages/docs/docs/still.md
+++ b/packages/docs/docs/still.md
@@ -1,6 +1,7 @@
---
id: still
title: <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.md
index a130a62bfb..f33921e4d3 100644
--- a/packages/docs/docs/stills.md
+++ b/packages/docs/docs/stills.md
@@ -1,6 +1,7 @@
---
id: stills
title: Still images
+crumb: "How to generate"
---
_Available from v2.3_
diff --git a/packages/docs/docs/support.md b/packages/docs/docs/support.md
index 0dacb59bcb..e50c86f81e 100644
--- a/packages/docs/docs/support.md
+++ b/packages/docs/docs/support.md
@@ -1,6 +1,7 @@
---
id: support
title: 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.md
index 5e317ee7dd..5cda1f1b60 100644
--- a/packages/docs/docs/tailwind-2.md
+++ b/packages/docs/docs/tailwind-2.md
@@ -1,6 +1,7 @@
---
id: tailwind-legacy
title: TailwindCSS v2 (Legacy)
+crumb: "Legacy docs"
---
import Tabs from "@theme/Tabs";
diff --git a/packages/docs/docs/tailwind.md b/packages/docs/docs/tailwind.md
index 185249e7a6..8701ebe5ad 100644
--- a/packages/docs/docs/tailwind.md
+++ b/packages/docs/docs/tailwind.md
@@ -1,6 +1,7 @@
---
id: tailwind
title: 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.md
index 3fab56fdb3..ed007909dc 100644
--- a/packages/docs/docs/target-closed.md
+++ b/packages/docs/docs/target-closed.md
@@ -2,6 +2,7 @@
id: target-closed
title: "'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.md
index 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.md
index a58f6c6df3..ec0cf605ed 100644
--- a/packages/docs/docs/the-fundamentals.md
+++ b/packages/docs/docs/the-fundamentals.md
@@ -1,6 +1,7 @@
---
id: the-fundamentals
title: The fundamentals
+crumb: "Getting started"
---
```twoslash include example
diff --git a/packages/docs/docs/third-party.md b/packages/docs/docs/third-party.md
index a651fc0ce8..2e55491280 100644
--- a/packages/docs/docs/third-party.md
+++ b/packages/docs/docs/third-party.md
@@ -2,6 +2,7 @@
id: third-party
title: Third party integrations
sidebar_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.md
index ae1d7a2fd9..0dc317e207 100644
--- a/packages/docs/docs/three-canvas.md
+++ b/packages/docs/docs/three-canvas.md
@@ -1,6 +1,7 @@
---
id: three-canvas
title: <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.md
index 13bdbf82d3..8060461de2 100644
--- a/packages/docs/docs/timeline.md
+++ b/packages/docs/docs/timeline.md
@@ -1,6 +1,7 @@
---
title: Preview your video
id: timeline
+crumb: "Timeline basics"
---
You can start the preview server of Remotion using
diff --git a/packages/docs/docs/timeout.md b/packages/docs/docs/timeout.md
index 7a976b706b..c7533e4fb9 100644
--- a/packages/docs/docs/timeout.md
+++ b/packages/docs/docs/timeout.md
@@ -1,6 +1,7 @@
---
id: timeout
title: Puppeteer timeout
+crumb: "Troubleshooting"
---
The following error:
diff --git a/packages/docs/docs/transparent-videos.md b/packages/docs/docs/transparent-videos.md
index 6eaae7d3bc..ee9073adcd 100644
--- a/packages/docs/docs/transparent-videos.md
+++ b/packages/docs/docs/transparent-videos.md
@@ -1,6 +1,7 @@
---
id: transparent-videos
title: 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.md
index 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-big
sidebar_label: defaultProps too big
title: 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.md
index 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-component
title: 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.md
index 2575992bc9..02701bdfb0 100644
--- a/packages/docs/docs/troubleshooting/rosetta.md
+++ b/packages/docs/docs/troubleshooting/rosetta.md
@@ -2,6 +2,7 @@
id: rosetta
sidebar_label: Apple Silicon detected
title: 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.md
index 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.md
index 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.md
index 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-iframe
title: <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.md
index 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.md
index 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-texture
title: 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.md
index 08ce9400b4..2b2f1ff77b 100644
--- a/packages/docs/docs/using-audio.md
+++ b/packages/docs/docs/using-audio.md
@@ -1,6 +1,7 @@
---
title: Using audio
id: using-audio
+crumb: "Techniques"
---
import Tabs from '@theme/Tabs';
diff --git a/packages/docs/docs/using-fonts.md b/packages/docs/docs/using-fonts.md
index 581a7904d1..4dcdbb726b 100644
--- a/packages/docs/docs/using-fonts.md
+++ b/packages/docs/docs/using-fonts.md
@@ -1,6 +1,7 @@
---
title: Using fonts
id: 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.md
index 78589c3bf4..4ba30b539f 100644
--- a/packages/docs/docs/using-randomness.md
+++ b/packages/docs/docs/using-randomness.md
@@ -1,7 +1,7 @@
---
id: using-randomness
title: 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.md
index 91ec62a440..5935a074ba 100644
--- a/packages/docs/docs/version-mismatch.md
+++ b/packages/docs/docs/version-mismatch.md
@@ -1,6 +1,7 @@
---
id: version-mismatch
title: 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.md
index 11b359b9cd..840d6dbb46 100644
--- a/packages/docs/docs/video-manipulation.md
+++ b/packages/docs/docs/video-manipulation.md
@@ -1,6 +1,7 @@
---
id: video-manipulation
title: 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.md
index 670dc8025d..f5db1c3a5f 100644
--- a/packages/docs/docs/video-uploads.md
+++ b/packages/docs/docs/video-uploads.md
@@ -1,6 +1,7 @@
---
id: video-uploads
title: 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.md
index 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-offthreadvideo
title: "<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.md
index 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.md
index 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 val
In 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.md
index 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-mount
title: Wrongly mounted <Composition>
+crumb: "Troubleshooting"
---
## Problem
diff --git a/packages/docs/extract-articles.mjs b/packages/docs/extract-articles.mjs
index 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)}`,