Interface VerizonMediaAdBreak

Represents a Verizon Media ad.

interface VerizonMediaAdBreak {
    ads: VerizonMediaAdList;
    duration: undefined | number;
    endTime: undefined | number;
    skipOffset: number;
    startTime: number;
    addEventListener<TType>(type: TType | readonly TType[], listener: EventListener<VerizonMediaAdBreakEventMap[TType]>): void;
    removeEventListener<TType>(type: TType | readonly TType[], listener: EventListener<VerizonMediaAdBreakEventMap[TType]>): void;
}

Hierarchy (view full)

Properties

List of ads in the ad break.

duration: undefined | number

The duration of the ad break, in seconds.


- For channels it can return undefined when the duration has not yet been signaled.

endTime: undefined | number

The end time of the ad break, in seconds.


- For channels it can return undefined when the end time has not yet been signaled.

skipOffset: number

Offset after which the ad break may be skipped, in seconds.

If the offset is -1, the ad is unskippable. If the offset is 0, the ad is immediately skippable. Otherwise it must be a positive number indicating the offset. Skipping the ad in live streams is unsupported.

To be able to skip the first ad after 10 seconds use: 10.

startTime: number

The start time of the ad break, in seconds.

Methods