Capítulo 115 de 988

Chapter 115: Chromium flags

Core Idea

We allow you to set the following flags in Chromium and Google Chrome since Remotion 2. 6.

Key Concepts

  • --disable-web-security
  • Via Node.JS APIs
  • Via CLI flag
  • Via config file
  • --ignore-certificate-errors
  • --disable-headless
  • --gl
  • --user-agent<AvailableFrom v="3.3.83"/>

Code Examples

Config.setChromiumDisableWebSecurity(true);
  • What it demonstrates: Usage pattern for Chromium flags from the official docs.

Reference Tables

Browser executableOpens a window
Default Chrome Headless ShellNo. Chrome Headless Shell has no headed mode.
Chrome for TestingYes.
Custom desktop Chrome or ChromiumYes.
Custom Chrome Headless ShellNo.

Key Takeaways

  1. Understand --disable-web-security when working with Chromium flags.
  2. Understand via node.js apis when working with Chromium flags.
  3. Understand via cli flag when working with Chromium flags.
  4. Understand via config file when working with Chromium flags.
  5. Understand --ignore-certificate-errors when working with Chromium flags.

Connects To

  • Compare ssr: related page in the Rendering & SSR section.
  • Dataset Render: related page in the Rendering & SSR section.
  • Distributed Rendering: related page in the Rendering & SSR section.