Version: 2.67.0

MediaFile

THEOplayer > MediaFile

MediaFile interface

Represents metadata of an media file with ad content.

Signature:
export interface MediaFile

Properties

Property

Type

Description

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.

Remarks


- This metadata is retrieved from the VAST file.