26 lines
648 B
TypeScript
26 lines
648 B
TypeScript
import ReactPlayer from "react-player";
|
|
|
|
function MainVideoPage() {
|
|
return (
|
|
<div className="container mx-auto max-w-screen-2xl overflow-hidden 2xl:p-16 xl:p-12 lg:p-8 p-4 flex-1 flex flex-col justify-center">
|
|
<div className="flex flex-col gap-8">
|
|
<div>
|
|
<a href="/">
|
|
<img src="/logo.svg" alt="" />
|
|
</a>
|
|
</div>
|
|
|
|
<div className="aspect-video">
|
|
<ReactPlayer
|
|
url={"https://www.youtube.com/watch?v=xXgPV0P6U0U&t=90s"}
|
|
width={"100%"}
|
|
height={"100%"}
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default MainVideoPage;
|