logo

THEOplayer > LinearAd

LinearAd interface

Inherits from Ad . See parent page for inherited properties and methods.

Represents a linear ad in the VAST specification.

Signature:

export interface LinearAd extends Ad 

Properties

Property

Type

Description

duration

number

The duration of the ad, in seconds.

mediaFiles

MediaFile[]

List of media files which contain metadata about ad video files.

Property Details

duration

The duration of the ad, in seconds.

Signature:

duration: number;

Remarks


- Available when the Ad.readyState is 'ready'.

mediaFiles

List of media files which contain metadata about ad video files.

Signature:

mediaFiles: MediaFile[];
github
Make sure to follow us on GitHub!
THEO-logo-white
twitter
facebook
linkedin
Copyright © 2020. All Rights Reserved.
Leuven
New York
Singapore
Barcelona