OptiView Ads SDK
    Preparing search index...

    Interface OverlayBreakVariant

    Overlay variant — ad plays on top of content, which keeps playing. Position and size come from the manifest.

    interface OverlayBreakVariant {
        assets: Asset[];
        format: OVERLAY;
        opacity?: number;
        position: OverlayPosition;
        size: OverlaySize;
        targeting?: Targeting;
    }

    Hierarchy

    • BaseBreakVariant
      • OverlayBreakVariant
    Index
    assets: Asset[]

    Ad assets.

    format: OVERLAY

    The format of the break

    opacity?: number

    Opacity 0–1. Defaults to 1.

    position: OverlayPosition

    Position within the player container (CSS values).

    Size of the overlay (CSS values).

    targeting?: Targeting

    Player-side match criteria, omit to mark as default variant