THEOplayer Web SDK
    Preparing search index...

    Interface MediaFile

    Represents metadata of a media file with ad content.


    - This metadata is retrieved from the VAST file.

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

    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.