🎥 Make videos programmatically with React
add version
Jonny Burger5822e1b28fd5
diff --git a/packages/docs/docs/config.md b/packages/docs/docs/config.mdindex e6ec98738e..a6b4536067 100644--- a/packages/docs/docs/config.md+++ b/packages/docs/docs/config.md@@ -755,6 +755,8 @@ import { Config } from "@remotion/cli/config";Config.setBeepOnFinish(true);```+The [command line flag](/docs/cli/studio#--beep-on-finish) `--beep-on-finish` will take precedence over this option.+## `setBufferStateDelayInMilliseconds()`<AvailableFrom v="4.0.XXXTODO" />Set the amount of milliseconds after which the Player in the Studio will display a buffering UI after the Player has entered a buffer state. Default `300`.@@ -765,8 +767,6 @@ import { Config } from "@remotion/cli/config";Config.setBufferStateDelayInMilliseconds(0);```-The [command line flag](/docs/cli/studio#--beep-on-finish) `--beep-on-finish` will take precedence over this option.-## 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/player/buffer-state.mdx b/packages/docs/docs/player/buffer-state.mdxindex 6b714d8a48..c1cc0bc9e2 100644--- a/packages/docs/docs/player/buffer-state.mdx+++ b/packages/docs/docs/player/buffer-state.mdx@@ -249,6 +249,14 @@ export const App: React.FC = () => {};```+In the Studio, you can change the delay in the [config file](/docs/config#setbufferstatedelayinmilliseconds):++```ts twoslash title="remotion.config.ts"+import { Config } from "@remotion/cli/config";++Config.setBufferStateDelayInMilliseconds(0);+```+To customize the spinner that is shown in place of the Play button, you can pass a [`renderPlayPauseButton()`](/docs/player/player#renderplaypausebutton) prop:```tsx twoslash title="Rendering a custom spinner inside the Play button"