🎥 Make videos programmatically with React
Merge branch 'main' of https://github.com/remotion-dev/remotion into copilot/fix-30f997e6-8b98-4121-bfc6-d3d1b9425d6c
Igor Samokhovetsfae982aeb470
diff --cc packages/core/src/audio/AudioForPreview.tsxindex 7898bdf85d,4101a2437c..b2362a1520--- a/packages/core/src/audio/AudioForPreview.tsx+++ b/packages/core/src/audio/AudioForPreview.tsx@@@ -185,17 -185,11 +184,8 @@@ const AudioForDevelopmentForwardRefFuncid: timelineId,stack: _remotionInternalStack,showInTimeline,- premountDisplay: null,- postmountDisplay: null,- });-- useMediaTag({- mediaRef: audioRef,- id: timelineId,- mediaType: 'audio',- onAutoPlayError: null,- isPremounting: Boolean(sequenceContext?.premounting),- isPostmounting: Boolean(sequenceContext?.postmounting),+ premountDisplay: sequenceContext?.premountDisplay ?? null,+ postmountDisplay: sequenceContext?.postmountDisplay ?? null,- onAutoPlayError: null,- isPremounting: Boolean(sequenceContext?.premounting),- isPostmounting: Boolean(sequenceContext?.postmounting),});// putting playback before useVolumediff --cc packages/core/src/video/VideoForPreview.tsxindex 68ce9d1489,c26fe6e39b..27110de87b--- a/packages/core/src/video/VideoForPreview.tsx+++ b/packages/core/src/video/VideoForPreview.tsx@@@ -145,17 -145,11 +144,8 @@@ const VideoForDevelopmentRefForwardingFid: timelineId,stack: _remotionInternalStack,showInTimeline,- premountDisplay: null,- postmountDisplay: null,- });-- useMediaTag({- mediaRef: videoRef,- id: timelineId,- mediaType: 'video',- onAutoPlayError: onAutoPlayError ?? null,- isPremounting: Boolean(parentSequence?.premounting),- isPostmounting: Boolean(parentSequence?.postmounting),+ premountDisplay: parentSequence?.premountDisplay ?? null,+ postmountDisplay: parentSequence?.postmountDisplay ?? null,- onAutoPlayError: onAutoPlayError ?? null,- isPremounting: Boolean(parentSequence?.premounting),- isPostmounting: Boolean(parentSequence?.postmounting),});// putting playback before useVolume