@byomakase/omakase-player
    Preparing search index...

    Interface PlayerDomController

    interface PlayerDomController {
        mainMediaVideoElement: HTMLVideoElement;
        mediaRotation: MediaRotationValue;
        sidecarVideosElement: HTMLElement;
        textImscElement: HTMLElement;
        textMediaCaptionsElement: HTMLElement;
        addAlert(alert: Alert): void;
        extractVideoKeyframe(
            options?: VideoKeyframeOptions,
        ): Observable<VideoKeyframe>;
        prepareForAttaching(hasMainMedia: boolean): void;
        prepareForDetaching(): void;
        removeAlert(alertId: string): void;
        resetMainMediaVideoElement(): void;
        setAttachDetachButtonEnabled(enabled: true): void;
        setVideoPoster(poster: string): void;
    }

    Implemented by

    Index

    Properties

    mainMediaVideoElement: HTMLVideoElement
    mediaRotation: MediaRotationValue
    sidecarVideosElement: HTMLElement

    Element sidecar videos without own host element are mounted into, layered over main media.

    textImscElement: HTMLElement
    textMediaCaptionsElement: HTMLElement

    Methods