"use client" import { Player } from "react-tuby" import "react-tuby/css/main.css" import { cn } from "@/lib/utils/cn" import { MediaInfo } from "@/types/general" export function CartesianVideoPlayer({ media, enableShortcuts = true, className = "", // currentTime, }: { media: MediaInfo enableShortcuts?: boolean className?: string // currentTime?: number }) { const assetUrl = media.assetUrlHd || media.assetUrl if (!assetUrl) { return (