Skip to content

🎥 Make videos programmatically with React

docs(studio): Wire deploy-static SSR example outputLocation (#9617)

Santhi Prakashb61a359b7de1
diff --git a/packages/docs/docs/studio/deploy-static.mdx b/packages/docs/docs/studio/deploy-static.mdx
index 752f5907d4..f012bacd2d 100644
--- a/packages/docs/docs/studio/deploy-static.mdx
+++ b/packages/docs/docs/studio/deploy-static.mdx
@@ -124,7 +124,7 @@ npx remotion render https://remotion-helloworld.vercel.app HelloWorld --props '{
<TabItem value="ssr">
```tsx twoslash title="render.mjs"
-const outputLocation = '/path/to/frames';
+const outputLocation = '/path/to/video.mp4';
import {renderMedia, selectComposition} from '@remotion/renderer';
@@ -145,6 +145,7 @@ await renderMedia({
composition,
serveUrl,
codec: 'h264',
+ outputLocation,
inputProps,
});
```