Media

The media object interface.

Extends

Members

metadata

(static) :Object

Collection of custom data from Cast MediaInfo.

authorization

:akamai.amp.Authorization

The authorization details for the media object

category

:Array.<string>

Playback Content tags or identifiers.

description

:string

A description of the video

duration

:number

An option duration for the stream. The player will auto detect the duration after playback has begun, but this properties should be used when autoplay is false so the UI can be properly drawn.

guid

:string

A unique identifier.

A reference value comming from app or page level.

medium

:string

The medium of the media. i.e. "video" or "audio"

poster

:string

An option poster image to display before the player has begun playback.

src

:string

The URL to the resource.

Inherited From:

startTime

:number

A time in seconds to begin playback.

title

:string

An option title to display in the player.

type

:string

Content MIME type.

Overrides: