ENGLISH·COURSE API
    Preparing search index...

    Whether the lesson video is filling the viewport, and the two ways out of it.

    type EnlargedVideo = {
        isEnlarged: boolean;
        toggle: () => void;
        exit: () => void;
    }
    Index

    Properties

    isEnlarged: boolean

    true while the player is pinned to the viewport.

    toggle: () => void

    Enters the mode, or leaves it — what the enlarge control calls.

    exit: () => void

    Leaves the mode; a no-op when the video is already in the page.