Skip to Content
The new glomex player is released! 🎉View upgrade guide

Interface: MinimalMediaItem

Extended by

Properties

id

id: string

Unique identifier of the media item.


poster

poster: string

Poster image of the media item.


sources

sources: MediaSource[]

Sources of the media item.


title

title: string

Title of the media item.


aspectRatio?

optional aspectRatio: string

Aspect ratio of the media item.

Default Value

16:9


channel?

optional channel: Channel

Channel of the media item.


description?

optional description: string

Description of the media item.


duration?

optional duration: number

Duration of the media item in seconds. Not defined when livestream.


endDate?

optional endDate: number

Time when the media item expires. Unix timestamp in milliseconds.


hasProductPlacement?

optional hasProductPlacement: boolean

Whether the media item has product placements.


iabCategories?

optional iabCategories: string[]

IAB categories (as iabCategoryTaxonomy) of the media item.


iabCategoryTaxonomy?

optional iabCategoryTaxonomy: number

IAB category taxonomy used for iabCategories (see IAB spec for details )

Default Value

9 for IAB Tech Lab Content Taxonomy 3.1


language?

optional language: string

Language of the media item. 2-letter ISO language code.

Default Value

de (German)


markers?

optional markers: (Marker | CustomMarker)[]

Markers of the media item.

Default Value

[{ name: KnownMarkerName.PREROLL, type: MarkerType.TIME_IN_SECONDS, threshold: 0 }]


minimumAge?

optional minimumAge: number

Minimum age to watch the media item.

Default Value

0 (no minimum age)


regionsAllowed?

optional regionsAllowed: string[]

In which country can this media item be played (e.g. ['de', 'at'])?

Default Value

['all'] (worldwide)


releaseDate?

optional releaseDate: number

Release date of the media item. Unix timestamp in milliseconds.


type?

optional type: StreamType

Stream type of the media item.

Default Value

StreamType.VOD

Last updated on