Skip to content

🎥 Make videos programmatically with React

document onProgress

Jonny Burger983cefff8e95
diff --git a/packages/docs/docs/ssr.md b/packages/docs/docs/ssr.md
index 195e7b74c7..afab781739 100644
--- a/packages/docs/docs/ssr.md
+++ b/packages/docs/docs/ssr.md
@@ -88,7 +88,9 @@ const start = async () => {
// Pass in the desired output path of the video. Et voilà!
outputLocation: path.join(tmpDir, 'out.mp4'),
// FFMPEG pixel format
- pixelFormat: 'yuv420p'
+ pixelFormat: 'yuv420p',
+ // Hook into the FFMPEG progress
+ onProgress: (frame) => void 0
});
};