Loading...
Loading...
Add an interactive demo to the Remotion documentation. Use when creating a new <Demo> component for docs pages.
npx skill4agent add remotion-dev/remotion docs-demo@remotion/playerpackages/docs/components/demos/packages/docs/components/demos/MyDemo.tsxuseCurrentFrame()useVideoConfig()packages/docs/components/demos/types.tsDemoTypeid<Demo type="..." />compcompWidthcompHeightfpsdurationInFramesautoPlayoptions[]packages/docs/components/demos/index.tsx./typesdemos<Demo type="your-id" />nameoptional'no''default-enabled''default-disabled'type: 'numeric'minmaxstepdefaulttype: 'boolean'defaulttype: 'enum'valuesdefaulttype: 'string'defaultinputPropsexport const myDemo: DemoType = {
comp: MyDemoComp,
compHeight: 720,
compWidth: 1280,
durationInFrames: 150,
fps: 30,
id: 'my-demo',
autoPlay: true,
options: [],
};