Skip to content

🎥 Make videos programmatically with React

note old syntax

Jonny Burger8e6d915cb06f
diff --git a/packages/docs/docs/chromium-flags.md b/packages/docs/docs/chromium-flags.md
index b6a6d0bbe0..6c8c480d00 100644
--- a/packages/docs/docs/chromium-flags.md
+++ b/packages/docs/docs/chromium-flags.md
@@ -37,6 +37,10 @@ import { Config } from "remotion";
Config.setChromiumDisableWebSecurity(true);
```
+:::note
+Prior to `v3.3.39`, the option was called `Config.Puppeteer.setChromiumDisableWebSecurity()`.
+:::
+
## `--ignore-certificate-errors`
Results in invalid SSL certificates, such as self-signed ones, being ignored.
@@ -61,6 +65,10 @@ import { Config } from "remotion";
Config.setChromiumIgnoreCertificateErrors(true);
```
+:::note
+Prior to `v3.3.39`, the option was called `Config.Puppeteer.setChromiumIgnoreCertificateErrors()`.
+:::
+
## `--disable-headless`
Setting this flag will open an actual Chrome during render where you can see the render happen.
@@ -85,6 +93,10 @@ import { Config } from "remotion";
Config.setChromiumHeadlessMode(false);
```
+:::note
+Prior to `v3.3.39`, the option was called `Config.Puppeteer.setChromiumHeadlessMode()`.
+:::
+
## `--gl`
<AngleChangelog />
@@ -119,6 +131,10 @@ import { Config } from "remotion";
Config.setChromiumOpenGlRenderer("swiftshader");
```
+:::note
+Prior to `v3.3.39`, the option was called `Config.Puppeteer.setChromiumOpenGlRenderer()`.
+:::
+
## Need more flags?
Open a [GitHub issue](https://github.com/remotion-dev/remotion/issues/new?assignees=&labels=&template=feature_request.md&title=) to request it.
diff --git a/packages/docs/docs/miscellaneous/ts-aliases.md b/packages/docs/docs/miscellaneous/ts-aliases.md
index 571934af4e..42ebe5a044 100644
--- a/packages/docs/docs/miscellaneous/ts-aliases.md
+++ b/packages/docs/docs/miscellaneous/ts-aliases.md
@@ -52,6 +52,10 @@ Config.overrideWebpackConfig((config) => {
});
```
+:::note
+Prior to `v3.3.39`, the option was called `Config.Bundling.overrideWebpackConfig()`.
+:::
+
Remember that in Node.JS APIs, the config file does not apply, so you need to add the Webpack override also to the [`bundle()`](/docs/bundle) and [`deploySite()`](/docs/lambda/deploysite) functions.
## See also
diff --git a/packages/docs/docs/skia/enable-skia.md b/packages/docs/docs/skia/enable-skia.md
index b7ea944136..8cffd7bcb7 100644
--- a/packages/docs/docs/skia/enable-skia.md
+++ b/packages/docs/docs/skia/enable-skia.md
@@ -15,6 +15,10 @@ Config.overrideWebpackConfig((currentConfiguration) => {
});
```
+:::note
+Prior to `v3.3.39`, the option was called `Config.Bundling.overrideWebpackConfig()`.
+:::
+
If you want to make other configuration changes, you can do so by doing them reducer-style:
```ts twoslash title="remotion.config.ts"
@@ -31,4 +35,8 @@ Config.overrideWebpackConfig((currentConfiguration) => {
});
```
+:::note
+Prior to `v3.3.39`, the option was called `Config.Bundling.overrideWebpackConfig()`.
+:::
+
See the [setup](/docs/skia) to see full instructions on how to setup React Native Skia in Remotion.
diff --git a/packages/docs/docs/skia/skia.md b/packages/docs/docs/skia/skia.md
index 128203eaf7..cd1f9e1dbd 100644
--- a/packages/docs/docs/skia/skia.md
+++ b/packages/docs/docs/skia/skia.md
@@ -71,6 +71,10 @@ Config.overrideWebpackConfig((currentConfiguration) => {
});
```
+:::note
+Prior to `v3.3.39`, the option was called `Config.Bundling.overrideWebpackConfig()`.
+:::
+
Next, you need to refactor the [entry point](/docs/terminology#entry-point) file to first load the Skia WebAssembly binary before calling registerRoot():
```ts twoslash title="src/index.ts"
diff --git a/packages/docs/docs/tailwind.md b/packages/docs/docs/tailwind.md
index cef1018ad8..ead0db42f8 100644
--- a/packages/docs/docs/tailwind.md
+++ b/packages/docs/docs/tailwind.md
@@ -140,9 +140,13 @@ export const enableTailwind: WebpackOverrideFn = (c) => c;
import { Config } from "remotion";
import { enableTailwind } from "./src/enable-tailwind";
-Config.Bundling.overrideWebpackConfig(enableTailwind);
+Config.overrideWebpackConfig(enableTailwind);
```
+:::note
+Prior to `v3.3.39`, the option was called `Config.Bundling.overrideWebpackConfig()`.
+:::
+
4. If you use the [`bundle()` or `deploySite()` Node.JS API, add the Webpack override to it as well](/docs/webpack#when-using-bundle-and-deploysite).
5. Create a file `src/style.css` with the following content: