🎥 Make videos programmatically with React
find replace ` <AvailableFrom ` to `<AvailableFrom `
Matt McGillivray5e6d0ebf9a52
diff --git a/packages/docs/docs/audio.md b/packages/docs/docs/audio.mdindex 2d3b7f904e..de1d4183d4 100644--- a/packages/docs/docs/audio.md+++ b/packages/docs/docs/audio.md@@ -73,7 +73,7 @@ export const MyVideo = () => {};```-### `playbackRate` <AvailableFrom v="2.2.0"/>+### `playbackRate`<AvailableFrom v="2.2.0"/>You can use the `playbackRate` prop to control the speed of the audio. `1` is the default and means regular speed, `0.5` slows down the audio so it's twice as long and `2` speeds up the audio so it's twice as fast.@@ -91,7 +91,7 @@ export const MyVideo = () => {};```-### `muted` <AvailableFrom v="2.0.0"/>+### `muted`<AvailableFrom v="2.0.0"/>The `muted` prop will be respected. It will lead to no audio being played while still keeping the audio tag mounted. It's value may change over time, for example to only mute a certain section of the audio.@@ -108,7 +108,7 @@ export const MyVideo = () => {};```-### `loop` <AvailableFrom v="3.2.29"/>+### `loop`<AvailableFrom v="3.2.29"/>You can use the `loop` prop to loop audio.@@ -125,11 +125,11 @@ export const MyVideo = () => {};```-## `acceptableTimeShiftInSeconds` <AvailableFrom v="3.2.42"/>+## `acceptableTimeShiftInSeconds`<AvailableFrom v="3.2.42"/>During [Preview](/docs/terminology#remotion-preview) or in the [Remotion Player](/docs/player), Remotion will seek the audio if it gets too much out of sync with Remotion's internal time - be it due to the audio loading or the page being too slow to keep up in real-time. By default, a seek is triggered if `0.45` seconds of time shift is encountered. Using this prop, you can customize the threshold.-## `allowAmplificationDuringRender` <AvailableFrom v="3.3.17"/>+## `allowAmplificationDuringRender`<AvailableFrom v="3.3.17"/>Make values for [`volume`](#volume) greater than `1` result in amplification during renders.During Preview, the volume will be limited to `1`, since the browser cannot amplify audio.diff --git a/packages/docs/docs/bundle.md b/packages/docs/docs/bundle.mdindex eeaf8136b9..8bc672909b 100644--- a/packages/docs/docs/bundle.md+++ b/packages/docs/docs/bundle.md@@ -79,7 +79,7 @@ _optional_The path of the URL where the bundle is going to be hosted. By default it is `/`, meaning that the bundle is going to be hosted at the root of the domain (e.g. `https://localhost:3000/`). In some cases like rendering on Lambda, the public path might be a subdirectory.-#### `rootDir?` <AvailableFrom v="3.1.6" />+#### `rootDir?`<AvailableFrom v="3.1.6" />_optional_@@ -89,19 +89,19 @@ The directory in which the Remotion project is rooted in. This should be set toThe current working directory is the directory from which your program gets executed from. It is not the same as the file where bundle() gets called.:::-#### `publicDir?` <AvailableFrom v="3.2.13" />+#### `publicDir?`<AvailableFrom v="3.2.13" />Set the directory in which the files that can be loaded using [`staticFile()`](/docs/staticfile) are located. By default it is the folder `public/` located in the [Remotion Root](/docs/terminology#remotion-root). If you pass a relative path, it will be resolved against the [Remotion Root](/docs/terminology#remotion-root).-#### `onPublicDirCopyProgress?` <AvailableFrom v="3.3.3" />+#### `onPublicDirCopyProgress?`<AvailableFrom v="3.3.3" />Reports progress of how many bytes have been written while copying the `public/` directoy. Useful to warn the user if the directory is large that this operation is slow.-#### `onSymlinkDetected?` <AvailableFrom v="3.3.3" />+#### `onSymlinkDetected?`<AvailableFrom v="3.3.3" />Gets called when a symbolic link is detected in the `public/` directory. Since Remotion will forward the symbolic link, it might be useful to display a hint to the user that if the original symbolic link gets deleted, the bundle will also break.-#### `ignoreRegisterRootWarning?` <AvailableFrom v="3.3.46" />+#### `ignoreRegisterRootWarning?`<AvailableFrom v="3.3.46" />Ignore an error that gets thrown if you pass an entry point file which does not contain `registerRoot`.diff --git a/packages/docs/docs/chromium-flags.md b/packages/docs/docs/chromium-flags.mdindex c1762f0cb6..3ef8823e35 100644--- a/packages/docs/docs/chromium-flags.md+++ b/packages/docs/docs/chromium-flags.md@@ -135,7 +135,7 @@ Config.setChromiumOpenGlRenderer("swiftshader");Prior to `v3.3.39`, the option was called `Config.Puppeteer.setChromiumOpenGlRenderer()`.:::-## `--user-agent` <AvailableFrom v="3.3.83"/>+## `--user-agent`<AvailableFrom v="3.3.83"/>### Via Node.JS APIsdiff --git a/packages/docs/docs/cli/compositions.md b/packages/docs/docs/cli/compositions.mdindex 792289af75..ad77f7fd79 100644--- a/packages/docs/docs/cli/compositions.md+++ b/packages/docs/docs/cli/compositions.md@@ -33,7 +33,7 @@ Inline JSON string isn't supported on Windows because it removes the `"` charactSpecify a location for the Remotion config file.-### `--env-file` <AvailableFrom v="2.2.0" />+### `--env-file`<AvailableFrom v="2.2.0" />Specify a location for a dotenv file - Default `.env`. [Read about how environment variables work in Remotion.](/docs/env-variables)@@ -53,7 +53,7 @@ If you don't feel like passing command line flags every time, consider creating[Set a custom HTTP server port to host the Webpack bundle](/docs/config#setPort). If not defined, Remotion will try to find a free port.-### `--public-dir` <AvailableFrom v="3.2.13" />+### `--public-dir`<AvailableFrom v="3.2.13" />[Define the location of the `public/` directory.](/docs/config#setpublicdir). If not defined, Remotion will assume the location is the `public` folder in your Remotion root.@@ -87,7 +87,7 @@ This will most notably disable CORS in Chrome among other security features.Opens an actual browser to observe the composition fetching.-### `--user-agent` <AvailableFrom v="3.3.83"/>+### `--user-agent`<AvailableFrom v="3.3.83"/>Lets you set a custom user agent that the headless Chrome browser assumes.diff --git a/packages/docs/docs/cli/preview.md b/packages/docs/docs/cli/preview.mdindex 08cf2a124b..aeb5803c7b 100644--- a/packages/docs/docs/cli/preview.md+++ b/packages/docs/docs/cli/preview.md@@ -27,11 +27,11 @@ If `entry-file` is not passed, Remotion will try to detect the entry file with tInline JSON string isn't supported on Windows because it removes the `"` character, use a temporary file instead.:::-### `--config` <AvailableFrom v="1.2.0" />+### `--config`<AvailableFrom v="1.2.0" />Specify a location for the Remotion config file.-### `--env-file` <AvailableFrom v="2.2.0" />+### `--env-file`<AvailableFrom v="2.2.0" />Specify a location for a dotenv file - Default `.env`. [Read about how environment variables work in Remotion.](/docs/env-variables)@@ -43,24 +43,24 @@ Specify a location for a dotenv file - Default `.env`. [Read about how environme[Set a custom HTTP server port](/docs/config#setPort). If not defined, Remotion will try to find a free port.-### `--public-dir` <AvailableFrom v="3.2.13" />+### `--public-dir`<AvailableFrom v="3.2.13" />[Define the location of the `public/` directory.](/docs/config#setpublicdir). If not defined, Remotion will assume the location is the `public` folder in your Remotion root.-### `--disable-keyboard-shortcuts` <AvailableFrom v="3.2.11" />+### `--disable-keyboard-shortcuts`<AvailableFrom v="3.2.11" />[Disables all keyboard shortcuts in the Preview](/docs/config#setkeyboardshortcutsenabled).-### `--webpack-poll` <AvailableFrom v="3.3.11" />+### `--webpack-poll`<AvailableFrom v="3.3.11" />[Enables Webpack polling](/docs/config#setwebpackpollinginmilliseconds) instead of the file system event listeners for hot reloading. This is useful if you are inside a virtual machine or have a remote file system.Pass a value in milliseconds, for example `--webpack-poll=1000`.-### `--no-open` <AvailableFrom v="3.3.19" />+### `--no-open`<AvailableFrom v="3.3.19" />[Prevents Remotion from trying to open a browser](/docs/config#setshouldopenbrowser). This is useful if you use a different browser for Remotion than the operating system default.-### `--browser` <AvailableFrom v="3.3.79" />+### `--browser`<AvailableFrom v="3.3.79" />Specify the browser which should be used for opening tab - using the default browser by default.Pass an absolute string or `"chrome"` to use Chrome.@@ -68,7 +68,7 @@ If Chrome is selected as the browser and you are on macOS, Remotion will try toFor backwards compatibility, the `BROWSER` environment variable is also supported.-### `--browser-args` <AvailableFrom v="3.3.79" />+### `--browser-args`<AvailableFrom v="3.3.79" />A set of command line flags that should be passed to the browser. Pass them like this:diff --git a/packages/docs/docs/cli/render.md b/packages/docs/docs/cli/render.mdindex 992741eac8..1f7916e7ff 100644--- a/packages/docs/docs/cli/render.md+++ b/packages/docs/docs/cli/render.md@@ -34,11 +34,11 @@ Besides choosing a video and output location with the command line arguments, thInline JSON string isn't supported on Windows because it removes the `"` character, use a temporary file instead.:::-### `--height` <AvailableFrom v="3.2.40" />+### `--height`<AvailableFrom v="3.2.40" />[Overrides composition height.](/docs/config#overrideheight)-### `--width` <AvailableFrom v="3.2.40" />+### `--width`<AvailableFrom v="3.2.40" />[Overrides composition width.](/docs/config#overridewidth)@@ -50,19 +50,19 @@ Inline JSON string isn't supported on Windows because it removes the `"` charact[Set a custom pixel format. See here for available values.](/docs/config#setpixelformat)-### `--image-format` <AvailableFrom v="1.4.0" />+### `--image-format`<AvailableFrom v="1.4.0" />[`jpeg` or `png` - JPEG is faster, but doesn't support transparency.](/docs/config#setimageformat) The default image format is `jpeg` since v1.1.-### `--config` <AvailableFrom v="1.2.0" />+### `--config`<AvailableFrom v="1.2.0" />Specify a location for the Remotion config file.-### `--env-file` <AvailableFrom v="2.2.0" />+### `--env-file`<AvailableFrom v="2.2.0" />Specify a location for a dotenv file. Default `.env`.-### `--quality` <AvailableFrom v="1.4.0" />+### `--quality`<AvailableFrom v="1.4.0" />[Value between 0 and 100 for JPEG rendering quality](/docs/config#setquality). Doesn't work when PNG frames are rendered.@@ -70,19 +70,19 @@ Specify a location for a dotenv file. Default `.env`.[Write to output even if file already exists.](/docs/config#setoverwriteoutput). This flag is enabled by default, use `--overwrite=false` to disable it.-### `--sequence` <AvailableFrom v="1.4.0" />+### `--sequence`<AvailableFrom v="1.4.0" />[Pass this flag if you want an image sequence as the output instead of a video.](/docs/config#setimagesequence)-### `--codec` <AvailableFrom v="1.4.0" />+### `--codec`<AvailableFrom v="1.4.0" />[`h264` or `h265` or `png` or `vp8` or `vp9` or `mp3` or `aac` or `wav` or `prores` or `h264-mkv`](/docs/config#setcodec). If you don't supply `--codec`, it will use the H.264 encoder.-### `--audio-codec` <AvailableFrom v="3.3.42" />+### `--audio-codec`<AvailableFrom v="3.3.42" />[Set which codec the audio should have.](/docs/config#setaudiocodec) For defaults and possible values, refer to the [Encoding guide](/docs/encoding/#audio-codec).-### `--audio-bitrate` <AvailableFrom v="3.2.32" />+### `--audio-bitrate`<AvailableFrom v="3.2.32" />Specify the target bitrate for the generated audio.The syntax for FFMPEGs `-b:a` parameter should be used.@@ -90,7 +90,7 @@ FFMPEG may encode the video in a way that will not result in the exact audio bitExample values: `128K` for 128 kbps, `1M` for 1 Mbps.Default: `320k`-### `--video-bitrate` <AvailableFrom v="3.2.32" />+### `--video-bitrate`<AvailableFrom v="3.2.32" />Specify the target bitrate for the generated video.The syntax for FFMPEGs `-b:v` parameter should be used.@@ -98,15 +98,15 @@ FFMPEG may encode the video in a way that will not result in the exact video bitThis option cannot be set if `--crf` is set.Example values: `512K` for 512 kbps, `1M` for 1 Mbps.-### `--prores-profile` <AvailableFrom v="2.1.6" />+### `--prores-profile`<AvailableFrom v="2.1.6" />[Set the ProRes profile](/docs/config#setproresprofile). This option is only valid if the [`codec`](#--codec) has been set to `prores`. Possible values: `4444-xq`, `4444`, `hq`, `standard`, `light`, `proxy`. See [here](https://video.stackexchange.com/a/14715) for explanation of possible values. Default: `hq`.-### `--crf` <AvailableFrom v="1.4.0" />+### `--crf`<AvailableFrom v="1.4.0" />[To set Constant Rate Factor (CRF) of the output](/docs/config#setcrf). Minimum 0. Use this rate control mode if you want to keep the best quality and care less about the file size. This option cannot be set if `--video-bitrate` is set.-### `--browser-executable` <AvailableFrom v="1.5.0" />+### `--browser-executable`<AvailableFrom v="1.5.0" />[Path to a Chrome executable](/docs/config#setbrowserexecutable). If not specified and Remotion cannot find one, it will download one during rendering.@@ -114,29 +114,29 @@ Example values: `512K` for 512 kbps, `1M` for 1 Mbps.[Scales the output frames by the factor you pass in.](/docs/scaling) For example, a 1280x720px frame will become a 1920x1080px frame with a scale factor of `1.5`. Vector elements like fonts and HTML markups will be rendered with extra details. `scale` must be greater than 0 and less than equal to 16. Default: `1`.-### `--frames` <AvailableFrom v="2.0.0" />+### `--frames`<AvailableFrom v="2.0.0" />[Render a subset of a video](/docs/config#setframerange). Example: `--frames=0-9` to select the first 10 frames. To render a still, use the `still` command.-### `--every-nth-frame` <AvailableFrom v="3.1.0" />+### `--every-nth-frame`<AvailableFrom v="3.1.0" />[Render only every nth frame.](/docs/config#seteverynthframe) This option may only be set when rendering GIFs. This allows you to lower the FPS of the GIF.For example only every second frame, every third frame and so on. Only works for rendering GIFs. [See here for more details.](/docs/render-as-gif#reducing-frame-rate)-### `--muted` <AvailableFrom v="3.2.1" />+### `--muted`<AvailableFrom v="3.2.1" />[Disables audio output.](/docs/config#setmuted) This option may only be used when rendering a video.-### `--enforce-audio-track` <AvailableFrom v="3.2.1" />+### `--enforce-audio-track`<AvailableFrom v="3.2.1" />[Render a silent audio track if there wouldn't be one otherwise.](/docs/config#enforceaudiotrack).-### `--number-of-gif-loops` <AvailableFrom v="3.1.0" />+### `--number-of-gif-loops`<AvailableFrom v="3.1.0" />[Set the looping behavior.](/docs/config#setnumberofgifloops) This option may only be set when rendering GIFs. [See here for more details.](/docs/render-as-gif#changing-the-number-of-loops)-### `--bundle-cache` <AvailableFrom v="2.0.0" />+### `--bundle-cache`<AvailableFrom v="2.0.0" />[Enable or disable Webpack caching](/docs/config#setcachingenabled). This flag is enabled by default, use `--bundle-cache=false` to disable caching.@@ -148,7 +148,7 @@ For example only every second frame, every third frame and so on. Only works for[Set a custom HTTP server port that will be used to host the Webpack bundle](/docs/config#setport). If not defined, Remotion will try to find a free port.-### `--public-dir` <AvailableFrom v="3.2.13" />+### `--public-dir`<AvailableFrom v="3.2.13" />[Define the location of the `public/` directory.](/docs/config#setpublicdir). If not defined, Remotion will assume the location is the `public` folder in your Remotion root.@@ -156,7 +156,7 @@ For example only every second frame, every third frame and so on. Only works for[Set a custom `ffmpeg` executable](/docs/config#setFfmpegExecutable). If not defined, a `ffmpeg` executable will be searched in `PATH`.-### `--ffprobe-executable` <AvailableFrom v="3.0.17" />+### `--ffprobe-executable`<AvailableFrom v="3.0.17" />[Set a custom `ffprobe` executable](/docs/config#setFfprobeExecutable). If not defined, a `ffprobe` executable will be searched in `PATH`.@@ -168,15 +168,15 @@ Define how long a single frame may take to resolve all [`delayRender()`](/docs/dNot to be confused with the [`--timeout` flag when deploying a Lambda function](/docs/lambda/cli/functions#--timeout).:::-### `--ignore-certificate-errors` <AvailableFrom v="2.6.5" />+### `--ignore-certificate-errors`<AvailableFrom v="2.6.5" />Results in invalid SSL certificates in Chrome, such as self-signed ones, being ignored.-### `--disable-web-security` <AvailableFrom v="2.6.5" />+### `--disable-web-security`<AvailableFrom v="2.6.5" />This will most notably disable CORS in Chrome among other security features.-### `--disable-headless` <AvailableFrom v="2.6.5" />+### `--disable-headless`<AvailableFrom v="2.6.5" />Opens an actual browser during rendering to observe the render.@@ -196,6 +196,6 @@ Accepted values:**Default for local rendering**: `null`.**Default for Lambda rendering**: `"swangle"`.-### `--user-agent` <AvailableFrom v="3.3.83"/>+### `--user-agent`<AvailableFrom v="3.3.83"/>Lets you set a custom user agent that the headless Chrome browser assumes.diff --git a/packages/docs/docs/cli/still.md b/packages/docs/docs/cli/still.mdindex b36c3f69d7..094e1423a4 100644--- a/packages/docs/docs/cli/still.md+++ b/packages/docs/docs/cli/still.md@@ -73,7 +73,7 @@ From v3.2.27, negative values are allowed, with `-1` being the last frame.[Set a custom HTTP server port to serve the Webpack bundle](/docs/config#setPort). If not defined, Remotion will try to find a free port.-### `--public-dir` <AvailableFrom v="3.2.13" />+### `--public-dir`<AvailableFrom v="3.2.13" />[Define the location of the `public/` directory.](/docs/config#setpublicdir). If not defined, Remotion will assume the location is the `public` folder in your Remotion root.@@ -93,15 +93,15 @@ Define how long a single frame may take to resolve all [`delayRender()`](/docs/dNot to be confused with the [`--timeout` flag when deploying a Lambda function](/docs/lambda/cli/functions#--timeout).:::-### `--ignore-certificate-errors` <AvailableFrom v="2.6.5" />+### `--ignore-certificate-errors`<AvailableFrom v="2.6.5" />Results in invalid SSL certificates in Chrome, such as self-signed ones, being ignored.-### `--disable-web-security` <AvailableFrom v="2.6.5" />+### `--disable-web-security`<AvailableFrom v="2.6.5" />This will most notably disable CORS in Chrome among other security features.-### `--disable-headless` <AvailableFrom v="2.6.5" />+### `--disable-headless`<AvailableFrom v="2.6.5" />Opens an actual browser during rendering to observe the render.@@ -121,6 +121,6 @@ Accepted values:**Default for local rendering**: `null`.**Default for Lambda rendering**: `"swangle"`.-### `--user-agent` <AvailableFrom v="3.3.83"/>+### `--user-agent`<AvailableFrom v="3.3.83"/>Lets you set a custom user agent that the headless Chrome browser assumes.diff --git a/packages/docs/docs/config.md b/packages/docs/docs/config.mdindex cb705b4802..1afd5bd107 100644--- a/packages/docs/docs/config.md+++ b/packages/docs/docs/config.md@@ -45,7 +45,7 @@ Config.setCachingEnabled(false);The old way is deprecated, but will work for the foreseeable future.-## overrideWebpackConfig() <AvailableFrom v="1.1.0" />+## overrideWebpackConfig()<AvailableFrom v="1.1.0" />Allows you to insert your custom Webpack config. [See the page about custom Webpack configs](/docs/webpack) for more information.@@ -61,7 +61,7 @@ Config.overrideWebpackConfig((currentConfiguration) => {});```-## setCachingEnabled() <AvailableFrom v="2.0.0" />+## setCachingEnabled()<AvailableFrom v="2.0.0" />Enable or disable Webpack caching. Default is `true` which will make the Webpack step in the first run a bit slower but will massively speed up subsequent runs.@@ -93,7 +93,7 @@ Config.setPort(3003);The [command line flag](/docs/cli/render#--port) `--port` will take precedence over this option.-## setPublicDir() <AvailableFrom v="3.2.13" />+## setPublicDir()<AvailableFrom v="3.2.13" />Define the location of the `public/` directory.By default it is a folder named "public" inside the current working directory.@@ -107,7 +107,7 @@ Config.setPublicDir("./publico");The [command line flag](/docs/cli/render#--public-dir) `--public-dir` will take precedence over this option.-## setEntryPoint() <AvailableFrom v="3.2.40" />+## setEntryPoint()<AvailableFrom v="3.2.40" />Sets the Remotion [entry point](/docs/terminology#entry-point), you don't have to specify it for CLI commands.@@ -119,7 +119,7 @@ Config.setEntryPoint("./src/index.ts");If you pass an entry point as a CLI argument, it will take precedence.-## setLevel() <AvailableFrom v="2.0.1" />+## setLevel()<AvailableFrom v="2.0.1" />Increase or decrease the amount of log messages in the CLI.Acceptable values:@@ -137,7 +137,7 @@ Config.setLevel("verbose");The [command line flag](/docs/cli/render#--log) `--log` will take precedence over this option.-## setMaxTimelineTracks() <AvailableFrom v="2.1.10" />+## setMaxTimelineTracks()<AvailableFrom v="2.1.10" />Set how many tracks are being displayed in the timeline in the Preview at most. This does not affect your video, just the amount of tracks shown when previewing. Default `15`.@@ -147,7 +147,7 @@ import { Config } from "remotion";Config.setMaxTimelineTracks(20);```-## setKeyboardShortcutsEnabled() <AvailableFrom v="3.2.11" />+## setKeyboardShortcutsEnabled()<AvailableFrom v="3.2.11" />Whether the Preview should react to keyboard shortcuts. Default `true`.@@ -159,7 +159,7 @@ Config.setKeyboardShortcutsEnabled(false);The [command line flag](/docs/cli/preview#--disable-keyboard-shortcuts) `--disable-keyboard-shortcuts` will take precedence over this option.-## setWebpackPollingInMilliseconds() <AvailableFrom v="3.3.11" />+## setWebpackPollingInMilliseconds()<AvailableFrom v="3.3.11" />Enables Webpack polling instead of the file system event listeners for hot reloading.This is useful if you are inside a virtual machine or have a remote file system.@@ -172,7 +172,7 @@ Config.setWebpackPollingInMilliseconds(1000);The [command line flag](/docs/cli/preview#--webpack-poll) `--webpack-poll` will take precedence over this option.-## setNumberOfSharedAudioTags() <AvailableFrom v="3.3.2" />+## setNumberOfSharedAudioTags()<AvailableFrom v="3.3.2" />How many shared audio tags should be mounted in the Preview. Shared audio tags can help prevent playback issues due to audio autoplay policies of the browser. See [this article](/docs/player/autoplay#use-the-numberofsharedaudiotags-property) which covers the same option but for the Player. Default `0`, meaning no autoplay policies are circumvented.@@ -183,7 +183,7 @@ import { Config } from "remotion";Config.setNumberOfSharedAudioTags(5);```-## setShouldOpenBrowser() <AvailableFrom v="3.3.19" />+## setShouldOpenBrowser()<AvailableFrom v="3.3.19" />Whether Remotion should open a browser when starting the Preview. Default `true`.@@ -194,7 +194,7 @@ import { Config } from "remotion";Config.setShouldOpenBrowser(false);```-## setBrowserExecutable() <AvailableFrom v="1.5.0" />+## setBrowserExecutable()<AvailableFrom v="1.5.0" />Set a custom Chrome or Chromium executable path. By default Remotion will try to find an existing version of Chrome on your system and if not found, it will download one. This flag is useful if you don't have Chrome installed in a standard location and you want to prevent downloading an additional browser or need [support for the H264 codec](/docs/video#codec-support).@@ -206,7 +206,7 @@ Config.setBrowserExecutable("/usr/bin/google-chrome-stable");The [command line flag](/docs/cli/render#--browser-executable) `--browser-executable` will take precedence over this option.-## setDelayRenderTimeoutInMilliseconds() <AvailableFrom v="2.6.3" />+## setDelayRenderTimeoutInMilliseconds()<AvailableFrom v="2.6.3" />_previously named "setTimeoutInMilliseconds"_@@ -220,7 +220,7 @@ Config.setDelayRenderTimeoutInMilliseconds(60000);The [command line flag](/docs/cli/render#--timeout) `--timeout` will take precedence over this option.-## setChromiumDisableWebSecurity() <AvailableFrom v="2.6.5" />+## setChromiumDisableWebSecurity()<AvailableFrom v="2.6.5" />This will most notably disable CORS among other security features during rendering.@@ -234,7 +234,7 @@ Config.setChromiumDisableWebSecurity(true);The [command line flag](/docs/cli/render#--disable-web-security) `--disable-web-security` will take precedence over this option.-## setChromiumIgnoreCertificateErrors() <AvailableFrom v="2.6.5" />+## setChromiumIgnoreCertificateErrors()<AvailableFrom v="2.6.5" />Results in invalid SSL certificates, such as self-signed ones, being ignored during rendering.@@ -248,7 +248,7 @@ Config.setChromiumIgnoreCertificateErrors(true);The [command line flag](/docs/cli/render#--ignore-certificate-errors) `--ignore-certificate-errors` will take precedence over this option.-## setChromiumHeadlessMode() <AvailableFrom v="2.6.5" />+## setChromiumHeadlessMode()<AvailableFrom v="2.6.5" />By default `true`. Disabling it will open an actual Chrome window where you can see the render happen.@@ -279,7 +279,7 @@ The [command line flag](/docs/cli/render#--concurrency) `--concurrency` will takTry to set your concurrency to `os.cpus().length` to all the threads available on your CPU for faster rendering. The drawback is that other parts of your system might slow down.:::-## setImageFormat() <AvailableFrom v="1.4.0" />+## setImageFormat()<AvailableFrom v="1.4.0" />Determines which in which image format to render the frames. Either:@@ -295,7 +295,7 @@ Config.setImageFormat("png");The [command line flag](/docs/cli/render#--image-format) `--image-format` will take precedence over this option.-## setScale() <AvailableFrom v="2.6.7" />+## setScale()<AvailableFrom v="2.6.7" />[Scales the output frames by the factor you pass in.](/docs/scaling) For example, a 1280x720px frame will become a 1920x1080px frame with a scale factor of `1.5`. Vector elements like fonts and HTML markups will be rendered with extra details. Default: `1`.@@ -307,7 +307,7 @@ Config.setScale(2);The [command line flag](/docs/cli/render#--scale) `--scale` will take precedence over this option.-## setMuted() <AvailableFrom v="3.2.1" />+## setMuted()<AvailableFrom v="3.2.1" />Disables audio output. Default `false`.@@ -319,7 +319,7 @@ Config.setMuted(true);The [command line flag](/docs/cli/render#--muted) `--muted` will take precedence over this option.-## setEnforceAudioTrack() <AvailableFrom v="3.2.1" />+## setEnforceAudioTrack()<AvailableFrom v="3.2.1" />Render a silent audio track if there would be none otherwise. Default `false`.@@ -331,7 +331,7 @@ Config.setEnforceAudioTrack(true);The [command line flag](/docs/cli/render#--enforce-audio-track) `--enforce-audio-track` will take precedence over this option.-## setFrameRange() <AvailableFrom v="2.0.0" />+## setFrameRange()<AvailableFrom v="2.0.0" />Pass a number to render a still frame or a tuple to render a subset of a video. The frame sequence is zero-indexed.@@ -425,7 +425,7 @@ Config.setNumberOfGifLoops(2);The [command line flag](/docs/cli/render#--number-of-gif-loops) `--number-of-gif-loops` will take precedence over this option.-## setOutputLocation() <AvailableFrom v="3.1.6" />+## setOutputLocation()<AvailableFrom v="3.1.6" />Set the output location of the video or still, relative to the current working directory. The default is `out/{composition}.{container}`. For example, `out/HelloWorld.mp4`.@@ -464,7 +464,7 @@ Config.setPixelFormat("yuv420p");The [command line flag](/docs/cli/render#--pixel-format) `--pixel-format` will take precedence over this option.-## setCodec() <AvailableFrom v="1.4.0" />+## setCodec()<AvailableFrom v="1.4.0" />Choose one of the supported codecs: `h264` _(default)_, `h265`, `vp8`, `vp9`.@@ -506,7 +506,7 @@ The [command line flag](/docs/cli/render#--audio-codec) `--audio-codec` will takRefer to the [Encoding guide](/docs/encoding) to see defaults and supported combinations.-## setProResProfile() <AvailableFrom v="2.1.6" />+## setProResProfile()<AvailableFrom v="2.1.6" />Set the ProRes profile. This option is only valid if the codec has been set to `prores`.Possible values: `4444-xq`, `4444`, `hq`, `standard`, `light`, `proxy`.@@ -523,7 +523,7 @@ The [command line flag](/docs/cli/render#--prores-profile) `--prores-profile` wi**See also**: [Encoding guide](/docs/encoding), [Transparent videos](/docs/transparent-videos)-## setImageSequence() <AvailableFrom v="1.4.0" />+## setImageSequence()<AvailableFrom v="1.4.0" />Set to true if you want to output an image sequence instead of a video.@@ -535,7 +535,7 @@ Config.setImageSequence(true);The [command line flag](/docs/cli/render#--sequence) `--sequence` will take precedence over this option.-## overrideHeight() <AvailableFrom v="3.2.40" />+## overrideHeight()<AvailableFrom v="3.2.40" />Overrides the height of the rendered video.@@ -548,7 +548,7 @@ Config.overrideHeight(600);The [command line flag](/docs/cli/render#--height) `--height` will take precedence over this option.(see h264 validation?)-## overrideWidth() <AvailableFrom v="3.2.40" />+## overrideWidth()<AvailableFrom v="3.2.40" />Overrides the width of the rendered video.@@ -576,7 +576,7 @@ The [command line flags](/docs/cli) `--sequence` and `--codec` will take precedeThe [command line flag](/docs/cli) `--quality` will take precedence over this option.-## setCrf() <AvailableFrom v="1.4.0" />+## setCrf()<AvailableFrom v="1.4.0" />The "Constant Rate Factor" (CRF) of the output. [Use this setting to tell FFMPEG how to trade off size and quality.](/docs/encoding#controlling-quality-using-the-crf-setting)@@ -601,7 +601,7 @@ Config.setCrf(16);The [command line flag](/docs/cli/render#--crf) `--crf` will take precedence over this option.-### `setVideoBitrate()` <AvailableFrom v="3.2.32" />+### `setVideoBitrate()`<AvailableFrom v="3.2.32" />Specify the target bitrate for the generated video.The syntax for FFMPEGs `-b:v` parameter should be used.@@ -617,7 +617,7 @@ Config.setVideoBitrate("1M");The [command line flag](/docs/cli/render#--video-bitrate) `--video-bitrate` will take precedence over this option.-### `setAudioBitrate` <AvailableFrom v="3.2.32" />+### `setAudioBitrate`<AvailableFrom v="3.2.32" />Specify the target bitrate for the generated audio.The syntax for FFMPEGs `-b:a` parameter should be used.@@ -633,7 +633,7 @@ Config.setAudioBitrate("128K");The [command line flag](/docs/cli/render#--audio-bitrate) `--audio-bitrate` will take precedence over this option.-## overrideFfmpegCommand <AvailableFrom v="3.2.22" />+## overrideFfmpegCommand<AvailableFrom v="3.2.22" />Modifies the FFMPEG command that Remotion uses under the hood. It works reducer-style, meaning that you pass a function that takes a command as an argument and returns a new command.diff --git a/packages/docs/docs/delay-render.md b/packages/docs/docs/delay-render.mdindex 5fa9797e51..563f0b6531 100644--- a/packages/docs/docs/delay-render.md+++ b/packages/docs/docs/delay-render.md@@ -56,7 +56,7 @@ A delayRender() was called but not cleared after 28000ms. See https://remotion.dSee the [Timeout](/docs/timeout) page to troubleshoot timeouts.-## Adding a label <AvailableFrom v="2.6.13"/>+## Adding a label<AvailableFrom v="2.6.13"/>If you encounter a timeout and don't know where it came from, you can add a label as a parameter:@@ -122,7 +122,7 @@ const MyComp: React.FC = () => {};```-## Failing with an error <AvailableFrom v="3.3.44" />+## Failing with an error<AvailableFrom v="3.3.44" />If your code fails to do an asynchronous operation and you want to cancel the render, you can call `cancelRender()` with an error message. This will automatically cancel all `delayRender()` calls to not further delay the render.diff --git a/packages/docs/docs/gif/gif.md b/packages/docs/docs/gif/gif.mdindex 7cb540f116..a52a7da63e 100644--- a/packages/docs/docs/gif/gif.md+++ b/packages/docs/docs/gif/gif.md@@ -63,7 +63,7 @@ Callback that gets called once the GIF has loaded and finished processing. As itAllows to pass in custom CSS styles. You may not pass `width` and `height`, instead use the props `width` and `height` to set the size of the GIF.-### `loopBehavior` <AvailableFrom v="3.3.4" />+### `loopBehavior`<AvailableFrom v="3.3.4" />The looping behavior of the GIF. Can be one of these values:@@ -71,7 +71,7 @@ The looping behavior of the GIF. Can be one of these values:- `'pause-after-finish'`: The GIF will play once and then show the last frame.- `'unmount-after-finish'`: The GIF will play once and then unmount. Note that if you attach a `ref`, it will become `null` after the GIF has finished playing.-### `ref` <AvailableFrom v="3.3.88" />+### `ref`<AvailableFrom v="3.3.88" />You can add a [React ref](https://react.dev/learn/manipulating-the-dom-with-refs) to `<Gif>`. If you use TypeScript, you need to type it with `HTMLCanvasElement`.diff --git a/packages/docs/docs/img.md b/packages/docs/docs/img.mdindex 9108ddd920..5ecd2dddeb 100644--- a/packages/docs/docs/img.md+++ b/packages/docs/docs/img.md@@ -66,7 +66,7 @@ If an error occurs, the component must be unmounted or the `src` must be replaceFrom `v3.3.82`, the image load will first be retried before `onError` is thrown.-## `maxRetries` <AvailableFrom v="v3.3.82"/>+## `maxRetries`<AvailableFrom v="v3.3.82"/>If an image fails to load, it will be retried from `v3.3.82`. The default value is `2`.An exponential backoff is being used, with 1000ms delay between the first and second attempt, then 2000ms, then 4000ms and so on.diff --git a/packages/docs/docs/lambda/cli/compositions.md b/packages/docs/docs/lambda/cli/compositions.mdindex 27cbe3062e..c3d2af2011 100644--- a/packages/docs/docs/lambda/cli/compositions.md+++ b/packages/docs/docs/lambda/cli/compositions.md@@ -92,11 +92,11 @@ Opens an actual browser to observe the composition fetching.Only prints the composition IDs, separated by a space.-### `--force-bucket-name` <AvailableFrom v="3.3.42" />+### `--force-bucket-name`<AvailableFrom v="3.3.42" />Specify a specific bucket name to be used. [This is not recommended](/docs/lambda/multiple-buckets), instead let Remotion discover the right bucket automatically.-### `--user-agent` <AvailableFrom v="3.3.83"/>+### `--user-agent`<AvailableFrom v="3.3.83"/>Lets you set a custom user agent that the headless Chrome browser assumes.diff --git a/packages/docs/docs/lambda/cli/regions.md b/packages/docs/docs/lambda/cli/regions.mdindex 4a7ae86c13..ada65bed25 100644--- a/packages/docs/docs/lambda/cli/regions.md+++ b/packages/docs/docs/lambda/cli/regions.md@@ -21,7 +21,7 @@ eu-central-1 eu-west-1 eu-west-2 eu-west-3 eu-south-1 eu-north-1 us-east-1 us-ea## Flags-### `--default-only` <AvailableFrom v="3.3.11" />+### `--default-only`<AvailableFrom v="3.3.11" />Only [return the regions which are enabled by default](https://docs.aws.amazon.com/general/latest/gr/rande-manage.html) in a new AWS account.diff --git a/packages/docs/docs/lambda/cli/render.md b/packages/docs/docs/lambda/cli/render.mdindex e857711b19..17c08afeec 100644--- a/packages/docs/docs/lambda/cli/render.md+++ b/packages/docs/docs/lambda/cli/render.md@@ -102,7 +102,7 @@ Minimum value: <MinimumFramesPerLambda />The `framesPerLambda` parameter cannot result in more than 200 functions being spawned. See: [Concurrency](/docs/lambda/concurrency):::-### `--concurrency-per-lambda` <AvailableFrom v="3.0.30" />+### `--concurrency-per-lambda`<AvailableFrom v="3.0.30" />By default, each Lambda function renders with concurrency 1 (one open browser tab). You may use the option to customize this value.@@ -110,7 +110,7 @@ By default, each Lambda function renders with concurrency 1 (one open browser ta[Value between 0 and 100 for JPEG rendering quality](/docs/config#setquality). Doesn't work when PNG frames are rendered.-### `--muted` <AvailableFrom v="3.2.1" />+### `--muted`<AvailableFrom v="3.2.1" />[Disables audio output.](/docs/config#setmuted) This option may only be used when rendering a video.@@ -118,11 +118,11 @@ By default, each Lambda function renders with concurrency 1 (one open browser ta[`h264` or `h265` or `png` or `vp8` or `mp3` or `aac` or `wav` or `prores`](/docs/config#setcodec). If you don't supply `--codec`, it will use `h264`.-### `--audio-codec` <AvailableFrom v="3.3.42" />+### `--audio-codec`<AvailableFrom v="3.3.42" />[Set which codec the audio should have.](/docs/config#setaudiocodec) For defaults and possible values, refer to the [Encoding guide](/docs/encoding/#audio-codec).-### `--audio-bitrate` <AvailableFrom v="3.2.32" />+### `--audio-bitrate`<AvailableFrom v="3.2.32" />Specify the target bitrate for the generated audio.The syntax for FFMPEGs `-b:a` parameter should be used.@@ -130,7 +130,7 @@ FFMPEG may encode the video in a way that will not result in the exact audio bitExample values: `128K` for 128 kbps, `1M` for 1 Mbps.Default: `320k`-### `--video-bitrate` <AvailableFrom v="3.2.32" />+### `--video-bitrate`<AvailableFrom v="3.2.32" />Specify the target bitrate for the generated video.The syntax for FFMPEGs `-b:v` parameter should be used.@@ -166,13 +166,13 @@ Specify a location for a dotenv file - Default `.env`. [Read about how environme[Render a subset of a video](/docs/config#setframerange). Example: `--frames=0-9` to select the first 10 frames. To render a still, use the [`still`](/docs/lambda/cli/still) command.-### `--every-nth-frame` <AvailableFrom v="3.1.0" />+### `--every-nth-frame`<AvailableFrom v="3.1.0" />[Render only every nth frame.](/docs/config#seteverynthframe) This option may only be set when rendering GIFs. This allows you to lower the FPS of the GIF.For example only every second frame, every third frame and so on. Only works for rendering GIFs. [See here for more details.](/docs/render-as-gif)-### `--number-of-gif-loops` <AvailableFrom v="3.1.0" />+### `--number-of-gif-loops`<AvailableFrom v="3.1.0" />[Set the looping behavior.](/docs/config#setnumberofgifloops) This option may only be set when rendering GIFs. [See here for more details.](/docs/render-as-gif#changing-the-number-of-loops)@@ -180,39 +180,39 @@ For example only every second frame, every third frame and so on. Only works forThe file name of the media output as stored in the S3 bucket. By default, it is `out` plus the appropriate file extension, for example: `out.mp4`. Must match `/([0-9a-zA-Z-!_.*'()/]+)/g`.-### `--overwrite` <AvailableFrom v="3.2.25" />+### `--overwrite`<AvailableFrom v="3.2.25" />If a custom out name is specified and a file already exists at this key in the S3 bucket, decide whether that file will be deleted before the render begins. Default `false`.An existing file at the output S3 key will conflict with the render and must be deleted beforehand. If this setting is `false` and a conflict occurs, an error will be thrown.-### `--webhook` <AvailableFrom v="3.2.30" />+### `--webhook`<AvailableFrom v="3.2.30" />Sets a webhook to be called when the render finishes or fails. [`renderMediaOnLambda() -> webhook.url`](/docs/lambda/rendermediaonlambda#webhook). To be used together with `--webhook-secret`.-### `--webhook-secret` <AvailableFrom v="3.2.30" />+### `--webhook-secret`<AvailableFrom v="3.2.30" />Sets a webhook secret for the webhook (see above). [`renderMediaOnLambda() -> webhook.secret`](/docs/lambda/rendermediaonlambda#webhook). To be used together with `--webhook`.-### `--height` <AvailableFrom v="3.2.40" />+### `--height`<AvailableFrom v="3.2.40" />[Overrides composition height.](/docs/config#overrideheight)-### `--width` <AvailableFrom v="3.2.40" />+### `--width`<AvailableFrom v="3.2.40" />[Overrides composition width.](/docs/config#overridewidth)-### `--function-name` <AvailableFrom v="3.3.38" />+### `--function-name`<AvailableFrom v="3.3.38" />Specify the name of the function which should be used to invoke and orchestrate the render. You only need to pass it if there are multiple functions with different configurations.-### `--renderer-function-name` <AvailableFrom v="3.3.38" />+### `--renderer-function-name`<AvailableFrom v="3.3.38" />If specified, this function will be used for rendering the individual chunks. This is useful if you want to use a function with higher or lower power for rendering the chunks than the main orchestration function.If you want to use this option, the function must be in the same region, the same account and have the same version as the main function.-### `--force-bucket-name` <AvailableFrom v="3.3.42" />+### `--force-bucket-name`<AvailableFrom v="3.3.42" />Specify a specific bucket name to be used. [This is not recommended](/docs/lambda/multiple-buckets), instead let Remotion discover the right bucket automatically.@@ -224,6 +224,6 @@ Results in invalid SSL certificates in Chrome, such as self-signed ones, being iThis will most notably disable CORS in Chrome among other security features.-### `--user-agent` <AvailableFrom v="3.3.83"/>+### `--user-agent`<AvailableFrom v="3.3.83"/>Lets you set a custom user agent that the headless Chrome browser assumes.diff --git a/packages/docs/docs/lambda/cli/sites.md b/packages/docs/docs/lambda/cli/sites.mdindex 3c7293faa1..0d0c8268c9 100644--- a/packages/docs/docs/lambda/cli/sites.md+++ b/packages/docs/docs/lambda/cli/sites.md@@ -64,11 +64,11 @@ Uploads the project to a specific directory and returns a deterministic URL. Ifnpx remotion lambda sites create src/index.ts --site-name=my-project```-### `--force-bucket-name` <AvailableFrom v="3.3.42" />+### `--force-bucket-name`<AvailableFrom v="3.3.42" />Specify a specific bucket name to be used. [This is not recommended](/docs/lambda/multiple-buckets), instead let Remotion discover the right bucket automatically.-### `--privacy` <AvailableFrom v="3.3.97" />+### `--privacy`<AvailableFrom v="3.3.97" />Either `public` (default) or `no-acl` if you are not using ACL. Sites must have a public URL to be able to be rendered on Lambda, since the headless browser opens that URL.@@ -203,7 +203,7 @@ Removes a site without asking for confirmation.npx remotion lambda sites rm abcdef -y```-### `--force-bucket-name` <AvailableFrom v="3.3.42" />+### `--force-bucket-name`<AvailableFrom v="3.3.42" />Specify a specific bucket name to be used. [This is not recommended](/docs/lambda/multiple-buckets), instead let Remotion discover the right bucket automatically.@@ -280,6 +280,6 @@ Removes all sites without asking for confirmation.npx remotion lambda sites rmall -y```-### `--force-bucket-name` <AvailableFrom v="3.3.42" />+### `--force-bucket-name`<AvailableFrom v="3.3.42" />Specify a specific bucket name to be used. [This is not recommended](/docs/lambda/multiple-buckets), instead let Remotion discover the right bucket automatically.diff --git a/packages/docs/docs/lambda/cli/still.md b/packages/docs/docs/lambda/cli/still.mdindex 3fece87f95..365b8fad85 100644--- a/packages/docs/docs/lambda/cli/still.md+++ b/packages/docs/docs/lambda/cli/still.md@@ -91,6 +91,6 @@ Results in invalid SSL certificates in Chrome, such as self-signed ones, being iThis will most notably disable CORS in Chrome among other security features.-### `--user-agent` <AvailableFrom v="3.3.83"/>+### `--user-agent`<AvailableFrom v="3.3.83"/>Lets you set a custom user agent that the headless Chrome browser assumes.diff --git a/packages/docs/docs/lambda/deploysite.md b/packages/docs/docs/lambda/deploysite.mdindex 890cde2a81..cf99ed99d7 100644--- a/packages/docs/docs/lambda/deploysite.md+++ b/packages/docs/docs/lambda/deploysite.md@@ -117,11 +117,11 @@ The directory in which the Remotion project is rooted in. This should be set toThe current working directory is the directory from which your program gets executed from. It is not the same as the file where bundle() gets called.:::-#### `ignoreRegisterRootWarning?` <AvailableFrom v="3.3.55" />+#### `ignoreRegisterRootWarning?`<AvailableFrom v="3.3.55" />Ignore an error that gets thrown if you pass an entry point file which does not contain `registerRoot`.-#### `privacy?` <AvailableFrom v="3.3.97" />+#### `privacy?`<AvailableFrom v="3.3.97" />Either `public` (default) or `no-acl` if you are not using ACL. Sites must have a public URL to be able to be rendered on Lambda, since the headless browser opens that URL.diff --git a/packages/docs/docs/lambda/getcompositionsonlambda.md b/packages/docs/docs/lambda/getcompositionsonlambda.mdindex 2d004710f6..58a4a3f473 100644--- a/packages/docs/docs/lambda/getcompositionsonlambda.md+++ b/packages/docs/docs/lambda/getcompositionsonlambda.md@@ -100,7 +100,7 @@ Accepted values:The default for Lambda is `"swangle"`, but `null` elsewhere.:::-#### `userAgent` <AvailableFrom v="3.3.83"/>+#### `userAgent`<AvailableFrom v="3.3.83"/>Lets you set a custom user agent that the headless Chrome browser assumes.@@ -116,7 +116,7 @@ One of `verbose`, `info`, `warn`, `error`. Determines how much is being logged iIf the `logLevel` is set to `verbose`, the `dumpBrowserLogs` flag will also be enabled.-### `dumpBrowserLogs?` <AvailableFrom v="3.3.83" />+### `dumpBrowserLogs?`<AvailableFrom v="3.3.83" />If set to true, all `console` statements from the headless browser will be forwarded to the CloudWatch logs.diff --git a/packages/docs/docs/lambda/rendermediaonlambda.md b/packages/docs/docs/lambda/rendermediaonlambda.mdindex 52310136f3..a44491f188 100644--- a/packages/docs/docs/lambda/rendermediaonlambda.md+++ b/packages/docs/docs/lambda/rendermediaonlambda.md@@ -312,7 +312,7 @@ If the `logLevel` is set to `verbose`, the Lambda function will not clean up artIf the `logLevel` is set to `verbose`, the `dumpBrowserLogs` flag will also be enabled.-### `dumpBrowserLogs?` <AvailableFrom v="3.3.83" />+### `dumpBrowserLogs?`<AvailableFrom v="3.3.83" />If set to true, all `console` statements from the headless browser will be forwarded to the CloudWatch logs.diff --git a/packages/docs/docs/lambda/renderstillonlambda.md b/packages/docs/docs/lambda/renderstillonlambda.mdindex 19ee5c8c99..d0c6195e49 100644--- a/packages/docs/docs/lambda/renderstillonlambda.md+++ b/packages/docs/docs/lambda/renderstillonlambda.md@@ -180,7 +180,7 @@ Accepted values:The default for Lambda is `"swangle"`, but `null` elsewhere.:::-#### `userAgent` <AvailableFrom v="3.3.83"/>+#### `userAgent`<AvailableFrom v="3.3.83"/>Lets you set a custom user agent that the headless Chrome browser assumes.@@ -196,7 +196,7 @@ One of `verbose`, `info`, `warn`, `error`. Determines how much is being logged iIf the `logLevel` is set to `verbose`, the `dumpBrowserLogs` flag will also be enabled.-### `dumpBrowserLogs?` <AvailableFrom v="3.3.83" />+### `dumpBrowserLogs?`<AvailableFrom v="3.3.83" />If set to true, all `console` statements from the headless browser will be forwarded to the CloudWatch logs.diff --git a/packages/docs/docs/lottie/lottie-comp.md b/packages/docs/docs/lottie/lottie-comp.mdindex 1139f78110..98c4cfadab 100644--- a/packages/docs/docs/lottie/lottie-comp.md+++ b/packages/docs/docs/lottie/lottie-comp.md@@ -63,7 +63,7 @@ The speed of the animation. A higher number is faster. Default: `1`.CSS properties to be applied to the `<div>` that contains the animation.-### `onAnimationLoaded` <AvailableFrom v="3.2.29" />+### `onAnimationLoaded`<AvailableFrom v="3.2.29" />_optional_diff --git a/packages/docs/docs/media-playback-error.md b/packages/docs/docs/media-playback-error.mdindex 975407bd69..f034f605bc 100644--- a/packages/docs/docs/media-playback-error.md+++ b/packages/docs/docs/media-playback-error.md@@ -48,7 +48,7 @@ Open the DevTools and go to the network tab to validate that this is the case.You might be importing a video that is not compatible with Chrome at all, e.g. FLV.-## Recover from this error <AvailableFrom v="3.3.89" />+## Recover from this error<AvailableFrom v="3.3.89" />You can handle this error and replace it with a different video by passing the `onError()` prop to the `<Video>` or `<OffthreadVideo>` component.diff --git a/packages/docs/docs/offthreadvideo.md b/packages/docs/docs/offthreadvideo.mdindex 5b85a7962d..86ccab02e3 100644--- a/packages/docs/docs/offthreadvideo.md+++ b/packages/docs/docs/offthreadvideo.md@@ -45,12 +45,12 @@ The props [`volume`](/docs/video#volume), [`playbackRate`](/docs/video#playbackrThe props [`onError`](/docs/img#onerror), `className` and `style` are supported and get passed to the underlying HTML element. Remember that during render, this is a `<img>` element, and during preview, this is a `<video>` element.-### `imageFormat` <AvailableFrom v="3.0.22" />+### `imageFormat`<AvailableFrom v="3.0.22" />Either `jpeg` or `png`. Default `jpeg`.With `png`, transparent videos (VP8, VP9, ProRes) can be displayed, however it is around 40% slower, with VP8 videos being [much slower](/docs/slow-method-to-extract-frame).-### `allowAmplificationDuringRender` <AvailableFrom v="3.3.17" />+### `allowAmplificationDuringRender`<AvailableFrom v="3.3.17" />Make values for [`volume`](/docs/video#volume) greater than `1` result in amplification during renders.During Preview, the volume will be limited to `1`, since the browser cannot amplify audio.diff --git a/packages/docs/docs/player/api.md b/packages/docs/docs/player/api.mdindex 1508a99593..2dbeb2fe69 100644--- a/packages/docs/docs/player/api.md+++ b/packages/docs/docs/player/api.md@@ -114,7 +114,7 @@ _optional_A boolean property defining whether you can play or pause a video using space key. If enabled, playing the video and subsequently pressing the space key pauses and resumes the video. Only works if `controls` is true. Default `true`.-### `moveToBeginningWhenEnded` <AvailableFrom v="3.1.3" />+### `moveToBeginningWhenEnded`<AvailableFrom v="3.1.3" />_optional_@@ -132,19 +132,19 @@ _optional_A regular `style` prop for a HTMLDivElement. You can pass a different height and width if you would like different dimensions for the player than the original composition dimensions.-### `className` <AvailableFrom v="3.1.3" />+### `className`<AvailableFrom v="3.1.3" />_optional_A HTML class name to be applied to the container.-### `initialFrame` <AvailableFrom v="3.1.14" />+### `initialFrame`<AvailableFrom v="3.1.14" />_optional_Start the playback from a specific frame. Default `0`. Once the player is mounted, this property cannot be changed.-### `numberOfSharedAudioTags` <AvailableFrom v="2.3.1" />+### `numberOfSharedAudioTags`<AvailableFrom v="2.3.1" />_optional_@@ -216,7 +216,7 @@ const MyApp: React.FC = () => {A player needs to be loaded if it contains elements that use React Suspense, or if the `lazyComponent` prop is being used.:::-### `renderPoster` <AvailableFrom v="3.2.14" />+### `renderPoster`<AvailableFrom v="3.2.14" />_optional_@@ -259,49 +259,49 @@ const MyApp: React.FC = () => {};```-### `showPosterWhenUnplayed` <AvailableFrom v="3.2.14" />+### `showPosterWhenUnplayed`<AvailableFrom v="3.2.14" />_optional_Render the poster when the video is in its initial state and has not been played yet. Requires [`renderPoster()`](#renderposter) to be set. Default: `false`.-### `showPosterWhenPaused` <AvailableFrom v="3.2.14" />+### `showPosterWhenPaused`<AvailableFrom v="3.2.14" />_optional_Render the poster when the video is paused. Although considered a paused state, the poster will not render while the user is scrubbing through the video. Requires [`renderPoster()`](#renderposter) to be set. Default: `false`.-### `showPosterWhenEnded` <AvailableFrom v="3.2.14" />+### `showPosterWhenEnded`<AvailableFrom v="3.2.14" />_optional_Render the poster when the video has ended. Requires [`moveToBeginning`](#movetobeginningwhenended) to be set to `false`. [`renderPoster()`](#renderposter) to be set. Default: `false`.-### `inFrame` <AvailableFrom v="3.2.15" />+### `inFrame`<AvailableFrom v="3.2.15" />_optional_Limit playback to only play after a certain frame. The video will start from this frame and move to this position once it has ended. Must be an integer, not smaller than `0`, not bigger than [`outFrame`](#outframe) and not bigger than `durationInFrames - 1`. Default `null`, which means the beginning of the video.-### `outFrame` <AvailableFrom v="3.2.15" />+### `outFrame`<AvailableFrom v="3.2.15" />_optional_Limit playback to only play before a certain frame. The video will end at this frame and move to the beginning once it has ended. Must be an integer, not smaller than `1`, not smaller than [`inFrame`](#inframe) and not bigger than `durationInFrames - 1`. Default `null`, which means the end of the video.-### `initiallyShowControls` <AvailableFrom v="3.2.24" />+### `initiallyShowControls`<AvailableFrom v="3.2.24" />_optional_If true, the controls flash when the player enters the scene. After 2 seconds without hover, the controls fade out. This is similar to how YouTube does it, and signals to the user that the player is in fact controllable. You can also pass a `number`, with which you can customize the duration in milliseconds. Default `true` since `v3.2.24`, before that unsupported.-### `initiallyMuted` <AvailableFrom v="3.3.81" />+### `initiallyMuted`<AvailableFrom v="3.3.81" />_optional_If true, the player is muted in its initial state. This is useful if the video must autoplay regardless of the [autoplay](/docs/player/autoplay) policy of the browser.-### `renderPlayPauseButton` <AvailableFrom v="3.2.32" />+### `renderPlayPauseButton`<AvailableFrom v="3.2.32" />_optional_@@ -340,7 +340,7 @@ export const App: React.FC = () => {};```-### `renderFullscreenButton` <AvailableFrom v="3.2.32" />+### `renderFullscreenButton`<AvailableFrom v="3.2.32" />_optional_@@ -379,7 +379,7 @@ export const App: React.FC = () => {};```-### `alwaysShowControls` <AvailableFrom v="3.3.55" />+### `alwaysShowControls`<AvailableFrom v="3.3.55" />_optional_@@ -430,7 +430,7 @@ The following methods are available on the player ref:Pause the video. Nothing happens if the video is already paused.-### `pauseAndReturnToPlayStart()` <AvailableFrom v="3.0.30" />+### `pauseAndReturnToPlayStart()`<AvailableFrom v="3.0.30" />If the video is playing, pause it and return to the playback position where the video has last been played.@@ -452,11 +452,11 @@ Gets the current position expressed as the current frame. Divide by the `fps` yo[Special considerations must be made](https://www.remotion.dev/docs/player/current-time) if you want to display a component that synchronizes with the time of the player.-### `isPlaying()` <AvailableFrom v="2.5.7" />+### `isPlaying()`<AvailableFrom v="2.5.7" />Returns a boolean indicating whether the video is playing.-### `getContainerNode()` <AvailableFrom v="2.4.2" />+### `getContainerNode()`<AvailableFrom v="2.4.2" />Gets the container `HTMLDivElement` of the player. Useful if you'd like to manually attach listeners to the player element.@@ -532,7 +532,7 @@ Requests the video to go to fullscreen. This method throws if the `allowFullscreExit fullscreen mode.-### `getScale()` <AvailableFrom v="3.2.24" />+### `getScale()`<AvailableFrom v="3.2.24" />Returns a number which says how much the content is scaled down compared to the natural composition size. For example, if the composition is `1920x1080`, but the player is 960px in width, this method would return `0.5`.@@ -664,11 +664,11 @@ Fires when the video has started playing or has resumed from a pause.Fires when the [`playbackRate`](#playbackrate) has changed.-### `scalechange` <AvailableFrom v="3.3.86" />+### `scalechange`<AvailableFrom v="3.3.86" />Fires when the `scale` has changed. Also returned by [`getScale()`](#getscale).-### `volumechange` <AvailableFrom v="3.3.86" />+### `volumechange`<AvailableFrom v="3.3.86" />Fires when the volume has changed. Also returned by [`getVolume()`](#getvolume).@@ -697,7 +697,7 @@ Prefer the [`seeked`](#seeked) event if you only want to get time updates duringPrefer the [`frameupdate`](#frameupdate-) event if you need an update for every single frame.-### `frameupdate` <AvailableFrom v="3.2.27" />+### `frameupdate`<AvailableFrom v="3.2.27" />Fires whenever the current time has changed, during both playback and seeking.@@ -718,7 +718,7 @@ Prefer the [`seeked`](#seeked) event if you only want to get time updates duringPrefer the [`timeupdate`](#timeupdate) event if you only need periodical updates (at most every 250ms).-### `fullscreenchange` <AvailableFrom v="3.2.0" />+### `fullscreenchange`<AvailableFrom v="3.2.0" />Fires when the player enters or exits fullscreen. By reading `e.detail.isFullscreen` or calling `playerRef.isFullscreen()` you can determine if the player is currently in fullscreen or not.diff --git a/packages/docs/docs/player/thumbnail.md b/packages/docs/docs/player/thumbnail.mdindex b42e6b9587..fbb168492f 100644--- a/packages/docs/docs/player/thumbnail.md+++ b/packages/docs/docs/player/thumbnail.md@@ -146,7 +146,7 @@ _optional_A regular `style` prop for a HTMLDivElement. You can pass a different height and width if you would like different dimensions for the thumbnail than the original composition dimensions.-### `className` <AvailableFrom v="3.1.3" />+### `className`<AvailableFrom v="3.1.3" />_optional_diff --git a/packages/docs/docs/prefetch.md b/packages/docs/docs/prefetch.mdindex cb35f0cfa9..73376392e5 100644--- a/packages/docs/docs/prefetch.md+++ b/packages/docs/docs/prefetch.md@@ -56,7 +56,7 @@ The function takes a `src`, which can be a remote URL, an imported asset or an a### `options`-#### `method` <AvailableFrom v="3.2.35" />+#### `method`<AvailableFrom v="3.2.35" />_previously defaulted to `blob-url`_diff --git a/packages/docs/docs/renderer/get-compositions.md b/packages/docs/docs/renderer/get-compositions.mdindex 7f093c8ca4..e74c178366 100644--- a/packages/docs/docs/renderer/get-compositions.md+++ b/packages/docs/docs/renderer/get-compositions.md@@ -44,29 +44,29 @@ _optional_Define custom props that can be retrieved using [`getInputProps()`](/docs/get-input-props) at runtime. Useful for [setting a dynamic duration or dimensions](/docs/dynamic-metadata) for your video.-#### `puppeteerInstance?` <AvailableFrom v="3.0.0" />+#### `puppeteerInstance?`<AvailableFrom v="3.0.0" />_optional_An already open Puppeteer [`Browser`](https://pptr.dev/#?product=Puppeteer&version=main&show=api-class-browser) instance. Use [`openBrowser()`](/docs/renderer/open-browser) to create a new instance. Reusing a browser across multiple function calls can speed up the rendering process. You are responsible for opening and closing the browser yourself. If you don't specify this option, a new browser will be opened and closed at the end.-#### `browserExecutable?` <AvailableFrom v="2.3.1" />+#### `browserExecutable?`<AvailableFrom v="2.3.1" />A string defining the absolute path on disk of the browser executable that should be used. By default Remotion will try to detect it automatically and download one if none is available. If `puppeteerInstance` is defined, it will take precedence over `browserExecutable`.-#### `ffmpegExecutable?` <AvailableFrom v="3.0.11" />+#### `ffmpegExecutable?`<AvailableFrom v="3.0.11" />_optional_An absolute path overriding the `ffmpeg` executable to use.-#### `ffprobeExecutable?` <AvailableFrom v="3.0.17" />+#### `ffprobeExecutable?`<AvailableFrom v="3.0.17" />_optional_An absolute path overriding the `ffprobe` executable to use.-#### `onBrowserLog?` <AvailableFrom v="3.0.0" />+#### `onBrowserLog?`<AvailableFrom v="3.0.0" />_optional_@@ -139,11 +139,11 @@ getCompositions({});```-#### `timeoutInMilliseconds?` <AvailableFrom v="2.6.3" />+#### `timeoutInMilliseconds?`<AvailableFrom v="2.6.3" />A number describing how long one frame may take to resolve all [`delayRender()`](/docs/delay-render) calls before the [render times out and fails(/docs/timeout). Default: `30000`-### `chromiumOptions?` <AvailableFrom v="2.6.5" />+### `chromiumOptions?`<AvailableFrom v="2.6.5" />_optional_@@ -184,7 +184,7 @@ Accepted values:Default: `null`.-#### `userAgent` <AvailableFrom v="3.3.83"/>+#### `userAgent`<AvailableFrom v="3.3.83"/>Lets you set a custom user agent that the headless Chrome browser assumes.diff --git a/packages/docs/docs/renderer/render-frames.md b/packages/docs/docs/renderer/render-frames.mdindex 9883b8a2a6..2376cd53bb 100644--- a/packages/docs/docs/renderer/render-frames.md+++ b/packages/docs/docs/renderer/render-frames.md@@ -93,7 +93,7 @@ A `number` specifying how many render processes should be started in parallel, aRenamed to `concurrency` in v3.2.17.-### `scale?` <AvailableFrom v="2.6.7" />+### `scale?`<AvailableFrom v="2.6.7" />_number - default: 1_@@ -113,7 +113,7 @@ _optional_Specify a single frame (passing a `number`) or a range of frames (passing a tuple `[number, number]`) to be rendered. By passing `null` (default) all frames of a composition get rendered.-### `muted` <AvailableFrom v="3.2.1" />+### `muted`<AvailableFrom v="3.2.1" />_optional_@@ -131,13 +131,13 @@ _optional_An already open Puppeteer [`Browser`](https://pptr.dev/#?product=Puppeteer&version=main&show=api-class-browser) instance. Use [`openBrowser()`](/docs/renderer/open-browser) to create a new instance. Reusing a browser across multiple function calls can speed up the rendering process. You are responsible for opening and closing the browser yourself. If you don't specify this option, a new browser will be opened and closed at the end.-### `envVariables?` <AvailableFrom v="2.2.0" />+### `envVariables?`<AvailableFrom v="2.2.0" />_optional_An object containing key-value pairs of environment variables which will be injected into your Remotion projected and which can be accessed by reading the global `process.env` object.-### `onBrowserLog?` <AvailableFrom v="3.0.0" />+### `onBrowserLog?`<AvailableFrom v="3.0.0" />_optional_@@ -209,49 +209,49 @@ renderFrames({});```-### `ffmpegExecutable?` <AvailableFrom v="3.0.11" />+### `ffmpegExecutable?`<AvailableFrom v="3.0.11" />_optional_An absolute path overriding the `ffmpeg` executable to use.-### `ffprobeExecutable?` <AvailableFrom v="3.0.17" />+### `ffprobeExecutable?`<AvailableFrom v="3.0.17" />_optional_An absolute path overriding the `ffprobe` executable to use.-### `browserExecutable?` <AvailableFrom v="3.0.11" />+### `browserExecutable?`<AvailableFrom v="3.0.11" />_optional_A string defining the absolute path on disk of the browser executable that should be used. By default Remotion will try to detect it automatically and download one if none is available. If `puppeteerInstance` is defined, it will take precedence over `browserExecutable`.-### `cancelSignal?` <AvailableFrom v="3.0.15" />+### `cancelSignal?`<AvailableFrom v="3.0.15" />_optional_A token that allows the render to be cancelled. See: [`makeCancelSignal()`](/docs/renderer/make-cancel-signal)-### `onFrameBuffer?` <AvailableFrom v="3.0.0" />+### `onFrameBuffer?`<AvailableFrom v="3.0.0" />_optional_If you passed `null` to `outputDir`, this method will be called passing a buffer of the current frame. This is mostly used internally by Remotion to implement [`renderMedia()`](/docs/renderer/render-media) and might have limited usefulness for end users.-### `timeoutInMilliseconds?` <AvailableFrom v="2.6.3" />+### `timeoutInMilliseconds?`<AvailableFrom v="2.6.3" />_optional_A number describing how long one frame may take to resolve all [`delayRender()`](/docs/delay-render) calls before the [render times out and fails(/docs/timeout). Default: `30000`-### `everyNthFrame` <AvailableFrom v="3.1.0" />+### `everyNthFrame`<AvailableFrom v="3.1.0" />_optional_Renders only every nth frame. For example only every second frame, every third frame and so on. Only meant for rendering GIFs. [See here for more details.](/docs/render-as-gif)-### `chromiumOptions?` <AvailableFrom v="2.6.5" />+### `chromiumOptions?`<AvailableFrom v="2.6.5" />_optional_@@ -297,7 +297,7 @@ Accepted values:**Default for local rendering**: `null`.**Default for Lambda rendering**: `"swangle"`.-#### `userAgent` <AvailableFrom v="3.3.83"/>+#### `userAgent`<AvailableFrom v="3.3.83"/>Lets you set a custom user agent that the headless Chrome browser assumes.diff --git a/packages/docs/docs/renderer/render-media.md b/packages/docs/docs/renderer/render-media.mdindex 4f0e380e23..ee9eb169b1 100644--- a/packages/docs/docs/renderer/render-media.md+++ b/packages/docs/docs/renderer/render-media.md@@ -56,7 +56,7 @@ Choose the encoding of your audio.Refer to the [Encoding guide](/docs/encoding/#audio-codec) to see defaults and supported combinations.-### `audioBitrate?` <AvailableFrom v="3.2.32" />+### `audioBitrate?`<AvailableFrom v="3.2.32" />_string - optional_@@ -67,7 +67,7 @@ This option cannot be set if `--crf` is set.Example values: `512K` for 512 kbps, `1M` for 1 Mbps.Default: `320k`-### `videoBitrate?` <AvailableFrom v="3.2.32" />+### `videoBitrate?`<AvailableFrom v="3.2.32" />_string - optional_@@ -115,25 +115,25 @@ _string - optional_An absolute path overriding the `ffmpeg` executable to use.-### `ffprobeExecutable?` <AvailableFrom v="3.0.17" />+### `ffprobeExecutable?`<AvailableFrom v="3.0.17" />_optional_An absolute path overriding the `ffprobe` executable to use.-### `browserExecutable?` <AvailableFrom v="3.0.11" />+### `browserExecutable?`<AvailableFrom v="3.0.11" />_optional_A string defining the absolute path on disk of the browser executable that should be used. By default Remotion will try to detect it automatically and download one if none is available. If `puppeteerInstance` is defined, it will take precedence over `browserExecutable`.-### `everyNthFrame?` <AvailableFrom v="3.1.0" />+### `everyNthFrame?`<AvailableFrom v="3.1.0" />_optional_Renders only every nth frame. For example only every second frame, every third frame and so on. Only works for rendering GIFs. [See here for more details.](/docs/render-as-gif)-### `numberOfGifLoops?` <AvailableFrom v="3.1.0" />+### `numberOfGifLoops?`<AvailableFrom v="3.1.0" />_optional_@@ -167,13 +167,13 @@ _number | [number, number] - optional_Specify a single frame (passing a `number`) or a range of frames (passing a tuple `[number, number]`) to be rendered. By passing `null` (default) all frames of a composition get rendered.-### `muted?` <AvailableFrom v="3.2.1" />+### `muted?`<AvailableFrom v="3.2.1" />_boolean - optional_If set to true, no audio is being rendered.-### `enforceAudioTrack?` <AvailableFrom v="3.2.1" />+### `enforceAudioTrack?`<AvailableFrom v="3.2.1" />_boolean - optional_@@ -319,19 +319,19 @@ _optional_A number describing how long the render may take to resolve all [`delayRender()`](/docs/delay-render) calls [before it times out](/docs/timeout). Default: `30000`-### `cancelSignal?` <AvailableFrom v="3.0.15" />+### `cancelSignal?`<AvailableFrom v="3.0.15" />_optional_A token that allows the render to be cancelled. See: [`makeCancelSignal()`](/docs/renderer/make-cancel-signal)-### `verbose?` <AvailableFrom v="3.1.6" />+### `verbose?`<AvailableFrom v="3.1.6" />_optional_Prints debugging output if set to true.-### `chromiumOptions?` <AvailableFrom v="2.6.5" />+### `chromiumOptions?`<AvailableFrom v="2.6.5" />_optional_@@ -375,11 +375,11 @@ Accepted values:**Default for local rendering**: `null`.**Default for Lambda rendering**: `"swangle"`.-#### `userAgent` <AvailableFrom v="3.3.83"/>+#### `userAgent`<AvailableFrom v="3.3.83"/>Lets you set a custom user agent that the headless Chrome browser assumes.-### `ffmpegOverride?` <AvailableFrom v="3.2.22" />+### `ffmpegOverride?`<AvailableFrom v="3.2.22" />_function - optional_@@ -411,11 +411,11 @@ Using this feature is discouraged. Before using it, we want to make you aware ofBefore you use this hack, reach out to the Remotion team on [Discord](https://remotion.dev/discord) and ask us if we are open to implement the feature you need in a clean way - we often do implement new features quickly based on users feedback.:::-### `disallowParallelEncoding` <AvailableFrom v="3.2.29" />+### `disallowParallelEncoding`<AvailableFrom v="3.2.29" />Disallows the renderer from doing rendering frames and encoding at the same time. This makes the rendering process more memory-efficient, but possibly slower.-### `onSlowestFrames?` <AvailableFrom v="3.2.29" />+### `onSlowestFrames?`<AvailableFrom v="3.2.29" />Callback function that gets called right before `renderMedia()` resolves.The only argument `slowestFrames` is an array of the 10 slowest frames in the shape of `{frame:<Frame number>, time:<Time to render frame ms>}`. You can use this information to optimise your render times.diff --git a/packages/docs/docs/renderer/render-still.md b/packages/docs/docs/renderer/render-still.mdindex 6866bd36f5..3bdf262301 100644--- a/packages/docs/docs/renderer/render-still.md+++ b/packages/docs/docs/renderer/render-still.md@@ -125,31 +125,31 @@ _optional - default `true`_Whether the file should be overwritten if the output already exists.-### `browserExecutable?` <AvailableFrom v="2.3.1" />+### `browserExecutable?`<AvailableFrom v="2.3.1" />_optional_A string defining the absolute path on disk of the browser executable that should be used. By default Remotion will try to detect it automatically and download one if none is available.-### `onBrowserLog?` <AvailableFrom v="3.3.93" />+### `onBrowserLog?`<AvailableFrom v="3.3.93" />_optional_Gets called when your project calls `console.log` or another method from console. See the documentation for [`renderFrames`](/docs/renderer/render-frames#onbrowserlog-) for more information.-### `timeoutInMilliseconds?` <AvailableFrom v="2.6.3" />+### `timeoutInMilliseconds?`<AvailableFrom v="2.6.3" />_optional_A number describing how long the render may take to resolve all [`delayRender()`](/docs/delay-render) calls [before it times out](/docs/timeout). Default: `30000`-### `cancelSignal?` <AvailableFrom v="3.0.15" />+### `cancelSignal?`<AvailableFrom v="3.0.15" />_optional_A token that allows the render to be cancelled. See: [`makeCancelSignal()`](/docs/renderer/make-cancel-signal)-### `chromiumOptions?` <AvailableFrom v="2.6.5" />+### `chromiumOptions?`<AvailableFrom v="2.6.5" />_optional_@@ -195,7 +195,7 @@ Accepted values:Default: `null`.**Default for Lambda rendering**: `"swangle"`.-#### `userAgent` <AvailableFrom v="3.3.83"/>+#### `userAgent`<AvailableFrom v="3.3.83"/>Lets you set a custom user agent that the headless Chrome browser assumes.diff --git a/packages/docs/docs/renderer/stitch-frames-to-video.md b/packages/docs/docs/renderer/stitch-frames-to-video.mdindex dc5e019fd7..5b18de85ca 100644--- a/packages/docs/docs/renderer/stitch-frames-to-video.md+++ b/packages/docs/docs/renderer/stitch-frames-to-video.md@@ -76,7 +76,7 @@ Choose the encoding of your audio.Refer to the [Encoding guide](/docs/encoding/#audio-codec) to see defaults and supported combinations.-### `audioBitrate?` <AvailableFrom v="3.2.32" />+### `audioBitrate?`<AvailableFrom v="3.2.32" />_string - optional_@@ -87,7 +87,7 @@ This option cannot be set if `--crf` is set.Example values: `512K` for 512 kbps, `1M` for 1 Mbps.Default: `320k`-### `videoBitrate?` <AvailableFrom v="3.2.32" />+### `videoBitrate?`<AvailableFrom v="3.2.32" />_string - optional_@@ -133,13 +133,13 @@ const onDownload = (src: string) => {};```-### `numberOfGifLoops?` <AvailableFrom v="3.1.0" />+### `numberOfGifLoops?`<AvailableFrom v="3.1.0" />_optional_Set the looping behavior. This option may only be set when rendering GIFs. [See here for more details.](/docs/render-as-gif#changing-the-number-of-loops)-### `muted?` <AvailableFrom v="3.2.1" />+### `muted?`<AvailableFrom v="3.2.1" />_optional_@@ -157,19 +157,19 @@ _optional_A custom FFMPEG executable to be used. By default, a binary called `ffmpeg` will be searched in your `PATH`.-#### `ffprobeExecutable?` <AvailableFrom v="3.0.17" />+#### `ffprobeExecutable?`<AvailableFrom v="3.0.17" />_optional_An absolute path overriding the `ffprobe` executable to use.-### `cancelSignal?` <AvailableFrom v="3.0.15" />+### `cancelSignal?`<AvailableFrom v="3.0.15" />_optional_A token that allows the render to be cancelled. See: [`makeCancelSignal()`](/docs/renderer/make-cancel-signal)-### `ffmpegOverride?` <AvailableFrom v="3.2.22" />+### `ffmpegOverride?`<AvailableFrom v="3.2.22" />_function - optional_diff --git a/packages/docs/docs/sequence.md b/packages/docs/docs/sequence.mdindex 88f80e0ce1..4dd86f6016 100644--- a/packages/docs/docs/sequence.md+++ b/packages/docs/docs/sequence.md@@ -75,13 +75,13 @@ _optional_Either `"absolute-fill"` _(default)_ or `"none"` By default, your sequences will be absolutely positioned, so they will overlay each other. If you would like to opt out of it and handle layouting yourself, pass `layout="none"`. Available since v1.4.-### `style` <AvailableFrom v="3.0.27"/>+### `style`<AvailableFrom v="3.0.27"/>_optional_CSS styles to be applied to the container. If `layout` is set to `none`, there is no container and setting this style is not allowed.-### `className` <AvailableFrom v="3.3.45"/>+### `className`<AvailableFrom v="3.3.45"/>_optional_diff --git a/packages/docs/docs/series.md b/packages/docs/docs/series.mdindex 349bc8cc2d..2c623d65a7 100644--- a/packages/docs/docs/series.md+++ b/packages/docs/docs/series.md@@ -75,19 +75,19 @@ _optional_Either `"absolute-fill"` _(default)_ or `"none"` By default, your sequences will be absolutely positioned, so they will overlay each other. If you would like to opt out of it and handle layouting yourself, pass `layout="none"`.-### `style` <AvailableFrom v="3.3.4"/>+### `style`<AvailableFrom v="3.3.4"/>_optional_CSS styles to be applied to the container. If `layout` is set to `none`, there is no container and setting this style is not allowed.-### `className` <AvailableFrom v="3.3.45"/>+### `className`<AvailableFrom v="3.3.45"/>_optional_A class name to be applied to the container. If `layout` is set to `none`, there is no container and setting this style is not allowed.-### `ref` <AvailableFrom v="3.3.4" />+### `ref`<AvailableFrom v="3.3.4" />_optional_diff --git a/packages/docs/docs/spring.md b/packages/docs/docs/spring.mdindex bbce6fd289..01e1aa15a7 100644--- a/packages/docs/docs/spring.md+++ b/packages/docs/docs/spring.md@@ -46,7 +46,7 @@ The end value of the animation. Note that depending on the parameters, spring anFor how many frames per second the spring animation should be calculated. This should always be the `fps` property of the return value of [`useVideoConfig()`](/docs/use-video-config).-### `reverse` <AvailableFrom v="3.3.92" />+### `reverse`<AvailableFrom v="3.3.92" />_Default:_ `false`@@ -80,7 +80,7 @@ _Default_: `false`Determines whether the animation can shoot over the `to` value. If set to true, if the animation goes over `to`, it will just return the value of `to`.-### `durationInFrames` <AvailableFrom v="3.0.27" />+### `durationInFrames`<AvailableFrom v="3.0.27" />_optional_@@ -104,7 +104,7 @@ const value = spring({See also: [Order or operations](#order-of-operations)-### `durationRestThreshold` <AvailableFrom v="3.0.27" />+### `durationRestThreshold`<AvailableFrom v="3.0.27" />_optional_@@ -112,7 +112,7 @@ How close the animation should be to the end in order to be considered finishedFor example, if a `durationRestThreshold` of `0.001` is given, and the durationOfFrames is `30`, it means that after 30 frames, the spring has reached 99.9% (`1 - 0.001 = 0.999`) of it's distance to the end value.-### `delay` <AvailableFrom v="3.3.90" />+### `delay`<AvailableFrom v="3.3.90" />_optional_diff --git a/packages/docs/docs/video.md b/packages/docs/docs/video.mdindex 04547f407a..0f7e49b8d2 100644--- a/packages/docs/docs/video.md+++ b/packages/docs/docs/video.md@@ -121,7 +121,7 @@ export const MyComposition = () => {};```-### `playbackRate` <AvailableFrom v="2.2.0" />+### `playbackRate`<AvailableFrom v="2.2.0" />You can use the `playbackRate` prop to control the speed of the video. `1` is the default and means regular speed, `0.5` slows down the video so it's twice as long and `2` speeds up the video so it's twice as fast.@@ -159,7 +159,7 @@ export const MyComposition = () => {};```-### `loop` <AvailableFrom v="3.2.29" />+### `loop`<AvailableFrom v="3.2.29" />You can use the `loop` prop to loop a video.@@ -178,11 +178,11 @@ export const MyComposition = () => {};```-### `acceptableTimeShiftInSeconds` <AvailableFrom v="3.2.42" />+### `acceptableTimeShiftInSeconds`<AvailableFrom v="3.2.42" />During [Preview](/docs/terminology#remotion-preview) or in the [Remotion Player](/docs/player), Remotion will seek the video if it gets too much out of sync with Remotion's internal time - be it due to the video loading or the page being too slow to keep up in real-time. By default, a seek is triggered if `0.45` seconds of time shift is encountered. Using this prop, you can customize the threshold.-### `allowAmplificationDuringRender` <AvailableFrom v="3.3.17" />+### `allowAmplificationDuringRender`<AvailableFrom v="3.3.17" />Make values for [`volume`](#volume) greater than `1` result in amplification during renders.During Preview, the volume will be limited to `1`, since the browser cannot amplify audio.