OGPlayer React Native SDK
    Preparing search index...

    Interface OverlayConfig

    A host overlay (watermark/logo) in one of the player's nine anchored slots. The SDK keeps overlays clear of the controls (top slots drop below the top bar, bottom slots lift above it) and hides them during ad breaks. Give it text (rendered on a dark scrim) or imageName (a native drawable/asset in the APP).

    interface OverlayConfig {
        imageName?: string;
        imageWidth?: number;
        opacity?: number;
        slot: OverlaySlot;
        text?: string;
        textSize?: number;
    }
    Index
    imageName?: string

    Native drawable/asset name in the app (Android: res/drawable).

    imageWidth?: number

    Rendered width in dp/pt for image overlays (default 96).

    opacity?: number

    0–1 (default 1).

    text?: string
    textSize?: number