2026-02-27 00:34:38 +01:00
|
|
|
import React from 'react';
|
|
|
|
|
import { Composition } from 'remotion';
|
|
|
|
|
import { CodemanDemo, TOTAL_FRAMES } from './compositions/CodemanDemo';
|
2026-03-04 12:17:38 +01:00
|
|
|
import { ZerolagDemo, ZEROLAG_TOTAL_FRAMES } from './compositions/ZerolagDemo';
|
2026-02-27 00:34:38 +01:00
|
|
|
|
|
|
|
|
export const RemotionRoot: React.FC = () => {
|
|
|
|
|
return (
|
2026-03-04 12:17:38 +01:00
|
|
|
<>
|
|
|
|
|
<Composition
|
|
|
|
|
id="CodemanDemo"
|
|
|
|
|
component={CodemanDemo}
|
|
|
|
|
durationInFrames={TOTAL_FRAMES}
|
|
|
|
|
fps={30}
|
|
|
|
|
width={1920}
|
|
|
|
|
height={1080}
|
|
|
|
|
/>
|
|
|
|
|
<Composition
|
|
|
|
|
id="ZerolagDemo"
|
|
|
|
|
component={ZerolagDemo}
|
|
|
|
|
durationInFrames={ZEROLAG_TOTAL_FRAMES}
|
|
|
|
|
fps={30}
|
|
|
|
|
width={1920}
|
|
|
|
|
height={1080}
|
|
|
|
|
/>
|
|
|
|
|
</>
|
2026-02-27 00:34:38 +01:00
|
|
|
);
|
|
|
|
|
};
|