THEOplayer > AdBreak
Represents an ad break in the VMAP specification or an ad pod in the VAST specification.
Signature:
export interface AdBreak
Property |
Type |
Description |
---|---|---|
Ad |
List of ads which will be played sequentially at the ad break's time offset. |
|
|
The integration of the ad break, represented by a value from the following list: |
|
|
The duration of the ad break, in seconds. |
|
|
The remaining duration of the ad break, in seconds. |
|
|
The time offset at which content will be paused to play the ad break, in seconds. |
List of ads which will be played sequentially at the ad break's time offset.
Signature:
ads: Ad[] | undefined;
The integration of the ad break, represented by a value from the following list:
- 'theo'
- 'google-ima'
- 'google-dai'
- 'freewheel'
Signature:
integration: string | undefined;
The duration of the ad break, in seconds.
Signature:
maxDuration: number | undefined;
- Ads are lazily loaded. This property becomes available when all ads are loaded.
The remaining duration of the ad break, in seconds.
Signature:
maxRemainingDuration: number | undefined;
- Ads are lazily loaded. This property becomes available when all ads are loaded.
- This feature is not available in the Google IMA integration and will default to -1.
The time offset at which content will be paused to play the ad break, in seconds.
Signature:
timeOffset: number;