MediaMetadata

This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.

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

Constructor

MediaMetadata.MediaMetadata()
Creates a new MediaMetaData object.

Properties

MediaMetadata.title
Returns or sets the title of the media to be played.
MediaMetadata.artist
Returns or sets the name of the artist, group, creator, etc. of the media to be played.
MediaMetadata.album
Returns or sets the name of the album or collection containing the media to be played.
MediaMetadata.artwork
Returns or sets an array of images associated with playing media. 

Specifications

Specification Status Comment
Media Session Standard
The definition of 'MediaMetaData' in that specification.
Editor's Draft Initial definition.

Browser Compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support No support ? ? No support ?
Feature Android Webview Chrome for Android Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile
Basic support No support 57 ? ? ? No support ?

Document Tags and Contributors

 Contributors to this page: bunnybooboo, jpmedley
 Last updated by: bunnybooboo,