Skip to content

Production-ready animations, transitions, backgrounds, and scenes for Remotion

perf: re-encode hero video, add poster and lazy preload

dev_wandry24cac679a9b1
diff --git a/app/(home)/components/sections/hero.tsx b/app/(home)/components/sections/hero.tsx
index a582a2db..2f51cddd 100644
--- a/app/(home)/components/sections/hero.tsx
+++ b/app/(home)/components/sections/hero.tsx
@@ -134,7 +134,8 @@ export function Hero() {
muted
loop
playsInline
- preload="auto"
+ preload="metadata"
+ poster="/introducing-remocn-poster.jpg"
className="block h-full w-full object-cover"
/>
<button
diff --git a/public/introducing-remocn-poster.jpg b/public/introducing-remocn-poster.jpg
new file mode 100644
index 00000000..ef20acfa
Binary files /dev/null and b/public/introducing-remocn-poster.jpg differ