Disable web security
This will most notably disable CORS in Chrome among other security features.
CLI flag
--disable-web-securityThe following CLI commands accept this option:
remotion studioremotion renderremotion stillremotion compositionsremotion benchmarkremotion gpuremotion lambda renderremotion lambda stillremotion lambda compositionsremotion cloudrun renderremotion cloudrun still
APIs that have this option
The following APIs accept this option:
renderMediaOnCloudrun()renderStillOnCloudrun()getCompositionsOnLambda()renderMediaOnLambda()renderStillOnLambda()renderFrames()renderMedia()renderStill()
Config file
remotion.config.tsConfig .setChromiumDisableWebSecurity (true);