THEOplayer > THEOplayerAdDescription
Inherits from AdDescription . See parent page for inherited properties and methods.
Describes an ad break request.
Signature:
export interface THEOplayerAdDescription extends AdDescription
Property |
Type |
Description |
---|---|---|
skipOffset (optional) |
|
Offset after which the ad break can be skipped. |
|
The source of the ad |
Offset after which the ad break can be skipped.
Signature:
skipOffset?: string | number;
- 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.
The source of the ad
Signature:
sources: string | AdSource;
- Only supports VAST and VMAP.