Skip to content

🎥 Make videos programmatically with React

update what is remotion

JonnyBurger449bdbeb2e01
diff --git a/packages/example/src/Compose/AtRemotionButton.tsx b/packages/example/src/Compose/AtRemotionButton.tsx
index 6e9bf860d7..a20acca318 100644
--- a/packages/example/src/Compose/AtRemotionButton.tsx
+++ b/packages/example/src/Compose/AtRemotionButton.tsx
@@ -2,15 +2,14 @@ import {AbsoluteFill} from 'remotion';
export const AtRemotionButton: React.FC<{progress: number}> = ({progress}) => {
return (
- <AbsoluteFill className="bg-white justify-center items-center border-2 border-solid border-white rounded-full">
+ <AbsoluteFill className="bg-black justify-center items-center border-2 border-solid border-white rounded-full">
<div
- className="text-black text-3xl font-brand"
+ className="text-white text-3xl font-brand"
style={{
fontFamily: 'GT Planar',
- opacity: 1.1 - progress * 3,
}}
>
- Follow @JNYBGR
+ @remotion
</div>
</AbsoluteFill>
);
diff --git a/packages/example/src/Root.tsx b/packages/example/src/Root.tsx
index 9a9518a2b5..351e793efc 100644
--- a/packages/example/src/Root.tsx
+++ b/packages/example/src/Root.tsx
@@ -1681,7 +1681,7 @@ export const Index: React.FC = () => {
fps={30}
durationInFrames={273}
schema={whatIsRemotionSchema}
- defaultProps={{fade: false, whiteBackground: true, reel: false}}
+ defaultProps={{fade: false, whiteBackground: false, reel: false}}
calculateMetadata={whatIsRemotionCalculateMetadata}
/>
<Composition