MCPcopy Create free account
hub / github.com/ampproject/amphtml / getMetadata

Method getMetadata

src/video-interface.js:136–136  ·  view source on GitHub ↗

* Returns video's meta data (artwork, title, artist, album, etc.) for use * with the Media Session API * @return {!./mediasession-helper.MetadataDef|undefined} metadata * - artwork (Array): URL to the poster image (preferably a 512x512 PNG) * - title (string): Name of the video *

()

Source from the content-addressed store, hash-verified

134 * - album (string): Name of the video's album if it exists
135 */
136 getMetadata() {}
137
138 /**
139 * If returning true, it's assumed that the embedded video document internally

Callers 2

getMetadataFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected