Skip to content

🎥 Make videos programmatically with React

321 B
Raw Blame
import {getStudioInteractivityEnabled} from './studio-runtime-config';

export const isStudioInteractivityEnabled = () => {
	return (
		getStudioInteractivityEnabled() &&
		(typeof window === 'undefined' || !window.remotion_isReadOnlyStudio)
	);
};

export const isStudioSelectionEnabled = getStudioInteractivityEnabled;