Skip to content

Open source CapCut alternative.

TypeScript

feat(site): embed the demo video from YouTube

David Leb0fbbe2d8b7a
diff --git a/site/src/app/_components/landing/Demo.tsx b/site/src/app/_components/landing/Demo.tsx
index 7b867ea2..198e93a0 100644
--- a/site/src/app/_components/landing/Demo.tsx
+++ b/site/src/app/_components/landing/Demo.tsx
@@ -49,21 +49,19 @@ export function Demo() {
background: BLACK,
}}
>
- <video
- controls
- playsInline
- preload="metadata"
+ <iframe
+ src="https://www.youtube-nocookie.com/embed/g4x-HhZ8XII"
+ title="See Donkey in action"
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
+ allowFullScreen
style={{
position: "absolute",
inset: 0,
width: "100%",
height: "100%",
- objectFit: "cover",
+ border: 0,
}}
- >
- <source src="/demo.mp4" type="video/mp4" />
- Your browser does not support the video tag.
- </video>
+ />
</div>
</div>
</TapedCard>