THEOplayer Web SDK
    Preparing search index...

    Interface AdBreakInit

    An initializer for a custom AdBreak.

    interface AdBreakInit {
        customData?: unknown;
        maxDuration?: number;
        timeOffset: number;
    }
    Index

    Properties

    customData?: unknown

    Additional integration-specific data associated with this ad break.

    maxDuration?: number

    The duration of the ad break, in seconds.

    timeOffset: number

    The time offset at which content will be paused to play the ad break, in seconds.