Skip to content

🎥 Make videos programmatically with React

Update render-frames.md

Jonny Burger98fd28dabe99
diff --git a/packages/docs/docs/render-frames.md b/packages/docs/docs/render-frames.md
index 85ef9f94ba..d94aa4d765 100644
--- a/packages/docs/docs/render-frames.md
+++ b/packages/docs/docs/render-frames.md
@@ -19,6 +19,7 @@ const renderFrames: (options: {
inputProps: unknown;
webpackBundle: string;
imageFormat: "png" | "jpeg" | "none";
+ envVariables?: Record<string, string>;
parallelism?: number | null;
quality?: number;
frameRange?: number | [number, number] | null;
@@ -116,6 +117,12 @@ _optional_
An already open Puppeteer [`Browser`](https://pptr.dev/#?product=Puppeteer&version=main&show=api-class-browser) 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`
+
+_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.
+
### `onError`
_optional - Available since v2.1.0_