[whatwg] metadata attribute for media

Ralph Giles giles at mozilla.com
Tue Nov 27 13:19:13 PST 2012


On 12-11-26 4:18 PM, Ralph Giles wrote:

> interface HTMLMediaElement {
>   ...
>   object getMetadata();
> };
> 
> After the metadataloaded event fires, this method would return a new
> object containing a copy of the metadata read from the resource, in
> whatever format the decoder implementation supplies. It would be up to
> the caller to do any semantic interpretation. The same method should be
> present on AudioTrack, VideoTrack, (TextTrack?) and Image elements.

The prefixed version of this in Firefox is documented in the 'Methods'
section of https://developer.mozilla.org/en-US/docs/DOM/HTMLMediaElement

 -r




More information about the whatwg mailing list