import { useContext } from "react"; import { VideoPlayerContext } from "./VideoPlayer"; import Controls from "./VideoControls"; import { AnimatePresence } from "framer-motion"; import { VideoScreen } from "./VideoScreen"; import LoadingOverlay from "./LoadingOverlay"; export default function VideoPlayerLayout() { const { isReady, setIsHovering, setShowControls, showControls, isDragging, } = useContext(VideoPlayerContext); return ( <>