'use client' import { useRef, useEffect } from 'react' import { H1, H5 } from '@/components/Texts' export function HomeHeroLight2() { const videoRef = useRef(null); useEffect(() => { const video = videoRef.current; if (video) { video.playbackRate = 0.4; const playPromise = video.play(); if (playPromise !== undefined) { playPromise.catch(error => { console.error("Video autoplay was prevented:", error); }); } } }, []); return (
{/* Background video */}
) }