Version: 2.67.0

VerizonMediaResponseLiveAdBreak

THEOplayer > VerizonMediaResponseLiveAdBreak

VerizonMediaResponseLiveAdBreak interface

Represents a Verizon Media response for live ad breaks.

Signature:
export interface VerizonMediaResponseLiveAdBreak

Properties

Property

Type

Description

ads

VerizonMediaResponseLiveAd

List of ad information.

breakId

string

The identifier of the ad break.

duration

number

The duration of the ad break, in seconds.

events

Record<string, string[]>

A record of all VAST 3.0 tracking events for this ad. Each entry contains an event name with associated tracking URLs.

height (optional)

number

The height of the ads in the ad break, in pixels.

position

'preroll' | 'midroll' | 'postroll' | 'pause' | 'overlay' | ''

The position of the ad break, represented by a value from the following list:
- 'preroll': Ad break that plays before the content.
- 'midroll': Ad break that plays during the content.
- 'postroll': Ad break that plays after the content.
- 'pause': Ad break that should be shown when the player is paused.
- 'overlay': Non-linear ad break that is shown over the player.
- '': Unknown ad break position.

timeOffset

number

The time offset of the ad break, in seconds.

type

'linear' | 'nonlinear'

The type of the ad break.

width (optional)

number

The width of the ads in the ad break, in pixels.