Skip to content

🎥 Make videos programmatically with React

`remotion`: Add delayRenderTimeoutInMilliseconds prop for OffthreadVideo

Jonny Burgerefd3107159f7
diff --git a/packages/core/src/video/props.ts b/packages/core/src/video/props.ts
index 58c6ddfa6f..087dfbb8cc 100644
--- a/packages/core/src/video/props.ts
+++ b/packages/core/src/video/props.ts
@@ -55,6 +55,7 @@ export type OffthreadVideoProps = {
toneMapped?: boolean;
pauseWhenBuffering?: boolean;
loopVolumeCurveBehavior?: LoopVolumeCurveBehavior;
+ delayRenderTimeoutInMilliseconds?: number;
/**
* @deprecated For internal use only
*/
diff --git a/packages/docs/docs/offthreadvideo.mdx b/packages/docs/docs/offthreadvideo.mdx
index 1118cac441..a27ef98d58 100644
--- a/packages/docs/docs/offthreadvideo.mdx
+++ b/packages/docs/docs/offthreadvideo.mdx
@@ -218,6 +218,10 @@ Prior to Remotion 4.0.117, tone mapping was always disabled, and the `toneMapped
If set to `false`, no layer will be shown in the timeline of the Remotion Studio. The default is `true`.
+### `delayRenderTimeoutInMilliseconds`<AvailableFrom v="4.0.150" />
+
+Customize the [timeout](/docs/delay-render#modifying-the-timeout) of the [`delayRender()`](/docs/delay-render) call that this component makes.
+
### ~~`imageFormat` <AvailableFrom v="3.0.22" />~~
_removed in v4.0.0_