MediaMetadata.title

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

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

Syntax

var title = mediaMetaData.title
mediaMetaData.title = title

Value

A String containing the title of the media.

Specifications

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

Browser Compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
title
Experimental
Chrome Full support 57Edge No support NoFirefox Full support 71IE No support NoOpera Full support YesSafari ? WebView Android No support NoChrome Android Full support 57Firefox Android ? Opera Android No support NoSafari iOS ? Samsung Internet Android Full support 7.0

Legend

Full support
Full support
No support
No support
Compatibility unknown
Compatibility unknown
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.