The integration of the ad break.
Optional
omidOptional settings object for mapping verification vendors (google.ima.OmidVerificationVendor) to OMID Access Modes (google.ima.OmidAccessMode).
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.
The source of the ad
- VAST, VMAP and VPAID are supported.
- Overlay ads and banners are only displayed if the container element (the player) is big enough in pixels.
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.
- Do NOT set for VMAP ads. VMAP resources will ignore this value as they contain an internal offset. https://www.theoplayer.com/docs/theoplayer/how-to-guides/ads/how-to-set-up-vast-and-vmap/#vmap
- Since 2.18, numbers are supported for the Google IMA integration, since 2.21 other formats as well.
'start'
Describes a Google IMA ad break request.