Capítulo 948 de 988

Chapter 948: Chrome Headless Shell

Core Idea

Remotion is automatically installing "Chrome Headless Shell" into your node_modules in order to render videos.

Key Concepts

  • Supported platforms
  • Ensure Chrome is installed
  • Using Chrome for Testing instead
  • Download location
  • Version tracking<AvailableFrom v="4.0.415" />
  • Bring your own binary
  • Why does Remotion manage Chrome?
  • Best practices

Code Examples

node_modules/.remotion/chrome-headless-shell/[platform]/chrome-headless-shell-[platform]
  • What it demonstrates: Usage pattern for Chrome Headless Shell from the official docs.

Reference Tables

Remotion versionChrome version
From 4.0.452149.0.7790.0
From 4.0.414144.0.7559.97
From 4.0.315134.0.6998.35 (skipped on Lambda)
From 4.0.274133.0.6943.141
From 4.0.245123.0.6312.86

Key Takeaways

  1. Understand supported platforms when working with Chrome Headless Shell.
  2. Understand ensure chrome is installed when working with Chrome Headless Shell.
  3. Understand using chrome for testing instead when working with Chrome Headless Shell.
  4. Understand download location when working with Chrome Headless Shell.
  5. Understand version tracking<availablefrom v="4.0.415" /> when working with Chrome Headless Shell.

Connects To

  • 4 0 Alpha: related page in the Miscellaneous (Core) section.
  • ai: related page in the Miscellaneous (Core) section.
  • Animated Emoji: related page in the Miscellaneous (Core) section.