Skip to content

🎥 Make videos programmatically with React

Update Root.tsx

Jonny Burgera985653be084
diff --git a/packages/example/src/Root.tsx b/packages/example/src/Root.tsx
index 7a41716702..a0a231c864 100644
--- a/packages/example/src/Root.tsx
+++ b/packages/example/src/Root.tsx
@@ -36,6 +36,7 @@ import {
OffthreadRemoteVideo,
} from './OffthreadRemoteVideo/OffthreadRemoteVideo';
import {OrbScene} from './Orb';
+import {PremountedExample} from './Premount';
import InfinityVideo from './ReallyLongVideo';
import RemoteVideo from './RemoteVideo';
import RiveVehicle from './Rive/RiveExample';
@@ -1069,6 +1070,16 @@ export const Index: React.FC = () => {
durationInFrames={150}
/>
</Folder>
+ <Folder name="Premount">
+ <Composition
+ id="premounted"
+ component={PremountedExample}
+ fps={30}
+ height={1080}
+ durationInFrames={300}
+ width={1080}
+ />
+ </Folder>
<Folder name="Transitions">
<Composition
id="transition"