🎥 Make videos programmatically with React
check if script is running inside a browser or not
Viren Mohindra7fe07291b6d5
diff --git a/packages/core/src/config/input-props.ts b/packages/core/src/config/input-props.tsindex ed9796ef12..33a85fee8f 100644--- a/packages/core/src/config/input-props.ts+++ b/packages/core/src/config/input-props.ts@@ -4,6 +4,9 @@ export const INPUT_PROPS_KEY = 'remotion.inputProps';export const getInputProps = () => {if (getRemotionEnvironment() === 'rendering') {+ if (typeof window === 'undefined') {+ return;+ }const param = localStorage.getItem(INPUT_PROPS_KEY);if (!param) {return {};