import type { AdDescription, AdSource } from "./Ads"; /** * Describes an ad break request. * * @public */ export interface THEOplayerAdDescription extends AdDescription { /** * The source of the ad * * @remarks *
- Only supports VAST and VMAP. */ sources: string | AdSource; /** * Offset after which the ad break can be skipped. * * @remarks *
- 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. * * @defaultValue `'start'` */ skipOffset?: string | number; }