Optional
integrationThe integration of the ad break.
'theo'
- The 'theo'
integration naming is deprecated and has been replaced with 'csai'
.
- If left empty, will default to 'theo'
for now but will default to 'csai'
starting from THEOplayer 8.0.0.
Optional
replaceWhether the ad replaces playback of the content.
- When the ad ends, the content will resume at the ad break's offset plus its duration.
- true
for live content,
- false
for VOD content.
Optional
skipOffset after which the ad break can be skipped.
- A timestamp which is not in the playback window will result in the ad break not being started.
- VMAP resources will ignore this value as they contain an internal offset.
Possible formats:
- A number for the offset in seconds.
- 'start'
for a preroll.
- 'end'
for a postroll.
- 'HH:MM:SS.mmm'
for a timestamp in the playback window.
- A percentage string (XX%) for a proportion of the content duration.
'start'
The source of the ad
- Only supports VAST and VMAP.
Optional
timeOffset after which the ad break will start.
Possible formats:
- A number for the offset in seconds.
- 'start'
for a preroll.
- 'end'
for a postroll.
- 'HH:MM:SS.mmm'
for a timestamp in the playback window.
- A percentage string (XX%) for a proportion of the content duration.
- A timestamp which is not in the playback window will result in the ad break not being started.
- VMAP resources will ignore this value as they contain an internal offset.
- Since 2.18, numbers are supported for the Google IMA integration, since 2.21 other formats as well.
'start'
Describes an ad break request.