You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{Loop,OffthreadVideo}from"remotion";exportconstLoopedOffthreadVideo: React.FC<{durationInFrames: number;src: string;muted?: boolean;}>=({ durationInFrames, src })=>{if(durationInFrames<=0){thrownewError("durationInFrames must be greater than 0");}return(<LoopdurationInFrames={durationInFrames}><OffthreadVideosrc={src}muted/></Loop>);};
This component is just rendered inside the top-level AbsoluteFill:
<AbsoluteFillstyle={{background: bgColor,cursor: "default",userSelect: "none"}}><LoopedOffthreadVideodurationInFrames={bgVideoDurationInFrames}src={bgMediaUrl}muted={true}/>
// Other components
</AbsoluteFill>
The text was updated successfully, but these errors were encountered:
Remotion Version: 4.0.221
Preview
Player
in browser:Rendered output:
Using the following component:
This component is just rendered inside the top-level
AbsoluteFill
:The text was updated successfully, but these errors were encountered: