Renders video content from YouTube URLs, file URLs (HLS/MP4), or bare YouTube IDs with automatic source detection, three layout modes, and optional hover-play/muted-autoplay behavior. ## Key Components ### Exports - **`extractYouTubeId(url: string): string | null`** — Parses any YouTube URL shape or bare 11-char ID into a video ID. Uses strict `URL` parsing with anchored regexes to prevent ReDoS attacks. - **`VideoLayout`** — Union type: `'centered' | 'fill' | 'native'` - **`