Version: 2.69.0

Ad.duration

THEOplayer > Ad > duration

Ad.duration property

The duration of the ad, in seconds.

Signature:
duration?: number;

Remarks


- Available when the [Ad.readyState](/docs/api-reference/theoplayer-ad-readystate) is `'ready'`.
- Only available for LinearAd.