🎥 Make videos programmatically with React
update
Jonny Burger8c78f400e8fd
diff --git a/packages/lambda/src/shared/constants.ts b/packages/lambda/src/shared/constants.tsindex e782cebf25..0ed8555396 100644--- a/packages/lambda/src/shared/constants.ts+++ b/packages/lambda/src/shared/constants.ts@@ -302,7 +302,7 @@ export type RenderMetadata = {};export type LambdaVersions =- | '2022-05-18'+ | '2099-05-18'| '2022-05-16'| '2022-05-11'| '2022-05-07'@@ -371,7 +371,7 @@ export type LambdaVersions =| '2021-06-23'| 'n/a';-export const CURRENT_VERSION: LambdaVersions = '2022-05-18';+export const CURRENT_VERSION: LambdaVersions = '2099-05-18';export type PostRenderData = {cost: {diff --git a/packages/renderer/src/open-browser.ts b/packages/renderer/src/open-browser.tsindex a77025c26b..258e365e51 100644--- a/packages/renderer/src/open-browser.ts+++ b/packages/renderer/src/open-browser.ts@@ -43,6 +43,7 @@ export const openBrowser = async (shouldDumpIo?: boolean;browserExecutable?: string | null;chromiumOptions?: ChromiumOptions;+ // TODO: Remove itforceDeviceScaleFactor?: number;}): Promise<puppeteer.Browser> => {@@ -69,10 +70,6 @@ export const openBrowser = async (dumpio: options?.shouldDumpIo ?? false,headless: false,ignoreDefaultArgs: true,- defaultViewport: {- width: 1920,- height: 1080,- },args: ['--allow-pre-commit-input', // TODO(crbug.com/1320996): neither headful nor headless should rely on this flag.'--disable-background-networking',@@ -101,9 +98,6 @@ export const openBrowser = async ('--enable-automation','--password-store=basic','--use-mock-keychain',- options?.forceDeviceScaleFactor- ? `--force-device-scale-factor=${options.forceDeviceScaleFactor}`- : null,// TODO(sadym): remove '--enable-blink-features=IdleDetection'// once IdleDetection is turned on by default.'--enable-blink-features=IdleDetection',@@ -122,7 +116,7 @@ export const openBrowser = async ('--disable-features=AudioServiceOutOfProcess,IsolateOrigins,site-per-process', // https://source.chromium.org/search?q=file:content_features.cc&ss=chromium'--disable-print-preview', // https://source.chromium.org/search?q=lang:cpp+symbol:kDisablePrintPreview&ss=chromium'--disable-site-isolation-trials', // https://source.chromium.org/search?q=lang:cpp+symbol:kDisableSiteIsolation&ss=chromium- '--disk-cache-size=33554432', // https://source.chromium.org/search?q=lang:cpp+symbol:kDiskCacheSize&ss=chromium+ '--disk-cache-size=268435456', // https://source.chromium.org/search?q=lang:cpp+symbol:kDiskCacheSize&ss=chromium'--hide-scrollbars', // https://source.chromium.org/search?q=lang:cpp+symbol:kHideScrollbars&ss=chromium'--no-default-browser-check', // https://source.chromium.org/search?q=lang:cpp+symbol:kNoDefaultBrowserCheck&ss=chromium'--no-pings', // https://source.chromium.org/search?q=lang:cpp+symbol:kNoPings&ss=chromium