import { useVideoPlayerState } from "../VideoContext"; export function ShowTitleControl() { const { videoState } = useVideoPlayerState(); if (!videoState.seasonData.isSeries) return null; if (!videoState.seasonData.title || !videoState.seasonData.current) return null; const cur = videoState.seasonData.current; const selectedText = `S${cur.season} E${cur.episode}`; return (

{selectedText} {videoState.seasonData.title}

); }