"use client" import { Video } from "@/app/types" export const VideoPlayer = ({ video }: { video?: Video }) => { if (typeof video === "undefined") { return