21 lines
477 B
JavaScript
21 lines
477 B
JavaScript
'use client'; // Ensure this is a Client Component if using React hooks or state
|
|
|
|
import React from 'react';
|
|
import clsx from 'clsx'
|
|
|
|
|
|
export function BackgroundVideo({ className }) {
|
|
return (
|
|
<video
|
|
autoPlay
|
|
loop
|
|
muted
|
|
playsInline
|
|
className={`absolute inset-0 w-full h-full object-cover ${className}`}
|
|
>
|
|
<source src="/video/ourverse2.mp4" type="video/mp4" />
|
|
Your browser does not support the video tag.
|
|
</video>
|
|
);
|
|
}
|