"use client" import { Player } from "react-tuby" import "react-tuby/css/main.css" import { cn } from "@/lib/utils" import { VideoInfo } from "@/types" export function VideoPlayer({ video, className = "" }: { video?: VideoInfo className?: string }) { // TODO: keep the same form factor? if (!video) { return null } return (