Version: 2.67.0

AdBreak

THEOplayer > AdBreak

AdBreak interface

Represents an ad break in the VMAP specification or an ad pod in the VAST specification.

Signature:
export interface AdBreak

Properties

Property

Type

Description

ads

Ad

List of ads which will be played sequentially at the ad break's time offset.

integration

string | undefined

The integration of the ad break, represented by a value from the following list:
- 'theo'
- 'google-ima'
- 'google-dai'
- 'freewheel'

maxDuration

number | undefined

The duration of the ad break, in seconds.

maxRemainingDuration

number | undefined

The remaining 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.