MediaMetadata

open class MediaMetadata(init: MediaMetadataInit = definedExternally)(source)

The MediaMetadata interface of the Media Session API allows a web page to provide rich media metadata for display in a platform UI.

MDN Reference

Constructors

Link copied to clipboard
constructor(init: MediaMetadataInit = definedExternally)

Properties

Link copied to clipboard

The album property of the MediaMetadata interface returns or sets the name of the album or collection containing the media to be played.

Link copied to clipboard

The artist property of the MediaMetadata interface returns or sets the name of the artist, group, creator, etc., of the media to be played.

Link copied to clipboard

The artwork property of the MediaMetadata interface returns or sets an array of objects representing images associated with playing media.

Link copied to clipboard

The title property of the MediaMetadata interface returns or sets the title of the media to be played.