Interface MediaFile

Represents metadata of an media file with ad content.

Remarks


- This metadata is retrieved from the VAST file.

interface MediaFile {
    contentURL: string;
    delivery: DeliveryType;
    height: number;
    type: string;
    width: number;
}

Properties

contentURL: string

The URI of the VAST content.

delivery: DeliveryType

The delivery type of the video file.

height: number

The native height of the video file, in pixels.

type: string

The MIME type for the file container.

width: number

The native width of the video file, in pixels.