Skip to content

🎥 Make videos programmatically with React

remotion.dev/brand: Restore connected WebMCP compositions

JonnyBurgerd4f9ee92357e
diff --git a/packages/brand/src/Root.tsx b/packages/brand/src/Root.tsx
index 8429cd4f23..9c9afa6fae 100644
--- a/packages/brand/src/Root.tsx
+++ b/packages/brand/src/Root.tsx
@@ -145,7 +145,13 @@ import {Prompt, PromptSchema} from './video-elements/Prompt';
import {StepGuide, stepGuideSchema} from './video-elements/step-guide';
import {GithubRepo, githubRepoSchema} from './video-elements/upper-reference';
import {UpperThird, upperThirdSchema} from './video-elements/UpperThird';
-import {MacBookLoopScene} from './WebMCPPromo/MacBookScene';
+import {
+ MacBookAppScene,
+ MacBookDesktopScene,
+ MacBookLoopScene,
+ MacBookScene,
+} from './WebMCPPromo/MacBookScene';
+import {WebMCPPromo2} from './WebMCPPromo2';
export const RemotionRoot: React.FC = () => {
return (
@@ -907,14 +913,41 @@ export const RemotionRoot: React.FC = () => {
width={1920}
height={1080}
/>
- <Composition
- id="WebMCPPromo-MacBook-Loop"
- component={MacBookLoopScene}
- durationInFrames={800}
- fps={60}
- width={1920}
- height={1080}
- />
+ <Folder name="WebMCPPromo-Scenes">
+ <Composition
+ id="WebMCPPromo-MacBook-Loop"
+ component={MacBookLoopScene}
+ durationInFrames={800}
+ fps={60}
+ width={1920}
+ height={1080}
+ />
+ <Composition
+ id="WebMCPPromo-MacBook"
+ component={MacBookScene}
+ durationInFrames={800}
+ fps={60}
+ width={1920}
+ height={1080}
+ />
+ <Composition
+ id="WebMCPPromo-MacBook-Desktop"
+ component={MacBookDesktopScene}
+ durationInFrames={1200}
+ fps={60}
+ width={1920}
+ height={1080}
+ />
+ <Composition
+ id="WebMCPPromo-MacBook-App"
+ component={MacBookAppScene}
+ durationInFrames={1200}
+ fps={60}
+ width={1320}
+ height={827}
+ />
+ <WebMCPPromo2 />
+ </Folder>
</>
);
};
diff --git a/packages/brand/src/WebMCPPromo2.tsx b/packages/brand/src/WebMCPPromo2.tsx
index fb39cc1e67..d9c948f385 100644
--- a/packages/brand/src/WebMCPPromo2.tsx
+++ b/packages/brand/src/WebMCPPromo2.tsx
@@ -1,6 +1,12 @@
import {MacOSCursor} from '@remotion/mac-cursors';
import {Video} from '@remotion/media';
-import {AbsoluteFill, Easing, interpolate, useCurrentFrame} from 'remotion';
+import {
+ AbsoluteFill,
+ Composition,
+ Easing,
+ interpolate,
+ useCurrentFrame,
+} from 'remotion';
export const WebMCPPromo2Preview = () => {
const frame = useCurrentFrame();
@@ -154,3 +160,16 @@ export const WebMCPPromo2Preview = () => {
</AbsoluteFill>
);
};
+
+export const WebMCPPromo2 = () => {
+ return (
+ <Composition
+ id="WebMCPPromo2"
+ component={WebMCPPromo2Preview}
+ width={2358}
+ height={2586}
+ fps={60}
+ durationInFrames={400}
+ />
+ );
+};