🎥 Make videos programmatically with React
resolved some TODOs
Jonny Burger614ac56f9ef2
diff --git a/packages/docs/docs/render-media.md b/packages/docs/docs/render-media.mdindex 8d3329b10b..1da55b68c5 100644--- a/packages/docs/docs/render-media.md+++ b/packages/docs/docs/render-media.md@@ -13,8 +13,32 @@ In Remotion 3.0, we added the [`renderMedia()`](/docs/renderer/render-media) API:::```ts-// TODO-const renderMedia: (options: {}) => Promise<void>;+const renderMedia: (options: {+ outputLocation: string;+ codec: Codec;+ composition: SmallTCompMetadata;+ inputProps?: unknown;+ parallelism?: number | null;+ crf?: number | null;+ imageFormat?: "png" | "jpeg" | "none";+ ffmpegExecutable?: FfmpegExecutable;+ pixelFormat?: PixelFormat;+ envVariables?: Record<string, string>;+ quality?: number;+ frameRange?: FrameRange | null;+ puppeteerInstance?: PuppeteerBrowser;+ overwrite?: boolean;+ onProgress?: RenderMediaOnProgress;+ onDownload?: RenderMediaOnDownload;+ proResProfile?: ProResProfile;+ dumpBrowserLogs?: boolean;+ onBrowserLog?: ((log: BrowserLog) => void) | undefined;+ onStart?: (data: OnStartData) => void;+ timeoutInMilliseconds?: number;+ chromiumOptions?: ChromiumOptions;+ scale?: number;+ serveUrl: string;+}) => Promise<void>;```## Arguments@@ -25,7 +49,7 @@ An object with the following properties:_string_-Either a local path or a URL pointing to a Remotion Webpack bundle generated by [`bundle()`](/docs/bundle).+Either a local path pointing to a Remotion Webpack bundle generated by [`bundle()`](/docs/bundle) or a URL where the bundle is hosted.### `output`diff --git a/packages/docs/docs/render-still.md b/packages/docs/docs/render-still.mdindex 69eabed85f..2608df9247 100644--- a/packages/docs/docs/render-still.md+++ b/packages/docs/docs/render-still.md@@ -60,7 +60,7 @@ A video composition object, consisting of `id`, `height`, `width`, `durationInFr### `serveUrl`-TODO: Document serveUrl behavior+Either a local path pointing to a Remotion Webpack bundle generated by [`bundle()`](/docs/bundle) or a URL where the bundle is hosted.### `output`diff --git a/packages/docs/docs/stills.md b/packages/docs/docs/stills.mdindex 03711e970b..2007cf25d6 100644--- a/packages/docs/docs/stills.md+++ b/packages/docs/docs/stills.md@@ -31,4 +31,7 @@ You can use the [`renderStill()`](/docs/renderer/render-still) Node.JS API to re## Rendering using serverless-[AWS Lambda integration is a work in progress.](/docs/ssr/#rendering-a-video-using-serverless)+You can use [Remotion Lambda](/lambda) to render stills:++- Via [CLI](/docs/lambda/cli/still)+- Via the [renderStillOnLambda](/docs/lambda/render-still-on-lambda) API.diff --git a/packages/renderer/src/legacy-webpack-config.ts b/packages/renderer/src/legacy-webpack-config.tsindex 05726040e4..4bfdc52108 100644--- a/packages/renderer/src/legacy-webpack-config.ts+++ b/packages/renderer/src/legacy-webpack-config.ts@@ -4,7 +4,7 @@ export type ServeUrlOrWebpackBundle =}| {/**- * @deprecated Renamed to `serveUrl instead`+ * @deprecated Renamed to `serveUrl`*/webpackBundle: string;};