import { forwardRef, useContext, useRef } from "react"; import { VideoPlayerContext, VideoPlayerContextProvider } from "./VideoContext"; interface VideoPlayerProps { children?: React.ReactNode; } const VideoPlayerInternals = forwardRef((_, ref) => { const video = useContext(VideoPlayerContext); return ( ); }); export function VideoPlayer(props: VideoPlayerProps) { const playerRef = useRef(null); const playerWrapperRef = useRef(null); return (
{props.children}
); }