Skip to content

🎥 Make videos programmatically with React

Also look for binaries in Docker

Jonny Burgera8f32502ba3e
diff --git a/packages/renderer/src/get-local-browser-executable.ts b/packages/renderer/src/get-local-browser-executable.ts
index b0df8e74db..a2d4b246ee 100644
--- a/packages/renderer/src/get-local-browser-executable.ts
+++ b/packages/renderer/src/get-local-browser-executable.ts
@@ -7,10 +7,12 @@ import {Browser, Internals} from 'remotion';
const getSearchPathsForProduct = (product: puppeteer.Product) => {
if (product === 'chrome') {
return [
+ process.env.PUPPETEER_EXECUTABLE_PATH ?? null,
process.platform === 'darwin'
? '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'
: null,
process.platform === 'linux' ? '/usr/bin/google-chrome' : null,
+ process.platform === 'linux' ? '/usr/bin/chromium-browser' : null,
process.platform === 'win32'
? 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe'
: null,