logo

THEOplayer > ChromecastMetadataDescription

ChromecastMetadataDescription interface

Inherits from MetadataDescription . See parent page for inherited properties and methods.

Describes the metatadata used by Chromecast.

Signature:

export interface ChromecastMetadataDescription extends MetadataDescription 

Remarks


- Available since v2.21.0.

Properties

Property

Type

Description

images (optional)

string[] | ChromecastMetadataImage[]

List of content images for the current source.

releaseDate (optional)

string

The release date of the current source.

releaseYear (optional)

number

The release year of the current source.

subtitle (optional)

string

The subtitle of the current source.

type (optional)

ChromecastMetadataType

The metadata type of the current source.

Property Details

images

List of content images for the current source.

Signature:

readonly images?: string[] | ChromecastMetadataImage[];

Remarks


- The string must be a valid URL.
- Multiple images can be specified for multiple resolutions.

releaseDate

The release date of the current source.

Signature:

readonly releaseDate?: string;

Remarks


- The format is "YYYY-MM-DD".

releaseYear

Warning: This API is deprecated.

Superseded by ChromecastMetadataDescription.releaseDate.

The release year of the current source.

Signature:

readonly releaseYear?: number;

subtitle

The subtitle of the current source.

Signature:

readonly subtitle?: string;

Remarks


- This should be a short explanation about the content.

type

The metadata type of the current source.

Signature:

readonly type?: ChromecastMetadataType;
github
Make sure to follow us on GitHub!
THEO-logo-white
twitter
facebook
linkedin
Copyright © 2022. All Rights Reserved.
Leuven
New York
Singapore
Barcelona