Skip to content

🎥 Make videos programmatically with React

don't put iframe as the first composition of example so quick switcher can be more easily triggerd

Jonny Burger52417f966de3
diff --git a/packages/example/src/Video.tsx b/packages/example/src/Video.tsx
index c13b8485dd..99662718f2 100644
--- a/packages/example/src/Video.tsx
+++ b/packages/example/src/Video.tsx
@@ -41,14 +41,6 @@ export const Index: React.FC = () => {
return (
<>
<Folder name="components">
- <Composition
- id="iframe"
- lazyComponent={() => import('./IframeTest')}
- width={1080}
- height={1080}
- fps={30}
- durationInFrames={10}
- />
<Composition
id="looped"
lazyComponent={() => import('./LoopedVideo')}
@@ -57,6 +49,14 @@ export const Index: React.FC = () => {
height={1080}
width={1080}
/>
+ <Composition
+ id="iframe"
+ lazyComponent={() => import('./IframeTest')}
+ width={1080}
+ height={1080}
+ fps={30}
+ durationInFrames={10}
+ />
<Composition
id="stagger-test"
component={SeriesTesting}