🎥 Make videos programmatically with React
Keep premounting enabled in MasterWithEffect
JonnyBurgerf8e734cf2bec
diff --git a/packages/jonnys-videos/src/disco-light-show/MasterWithEffect.tsx b/packages/jonnys-videos/src/disco-light-show/MasterWithEffect.tsxindex de2f18934a..51ad3db0f5 100644--- a/packages/jonnys-videos/src/disco-light-show/MasterWithEffect.tsx+++ b/packages/jonnys-videos/src/disco-light-show/MasterWithEffect.tsx@@ -3,7 +3,6 @@ import {noise} from '@remotion/effects/noise';import {scanlines} from '@remotion/effects/scanlines';import {Interactive,- Internals,AbsoluteFill,Easing,HtmlInCanvas,@@ -134,10 +133,7 @@ const MasterWithEffectInner: React.FC = () => {transformOrigin: 'center center',}}>- {/* Chrome 157 can crash when premounted layers enter a drawable canvas. */}- <Internals.DefaultPremountContext.Provider value={0}>- <MyComponent />- </Internals.DefaultPremountContext.Provider>+ <MyComponent /></HtmlInCanvas><AbsoluteFillstyle={{