gecko/dom/interfaces/html
Ralph Giles a81a17e866 Bug 763010 - Expose media element metadata. r=cpearce
Implements a media.mozGetMetadata() method returning a new javascript object whose properties are key value pairs respresenting metadata tags from the media resource. This data is available after readystate enters METADATA_LOADED.

Currently this is only implemented for Ogg Vorbis streams.

Media format metadata is parsed out by the media decoders. In the nsCodecStateMachine::ReadMetadata subclasses we fill in an nsDataHashtable pointer using the format-specifc api.

The hash pointer is passed up to the media element as part of the MetadataLoaded event.

The hash is deleted if the load is aborted. The audio metadata is also reset to zero (as in the constructor), resolving a todo comment.
2012-07-30 20:14:29 -04:00
..
Makefile.in Bug 591467 - Implement HTML5 Microdata API r=bz 2012-06-04 16:49:57 -07:00
nsIDOMDOMStringMap.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLAnchorElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLAppletElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLAreaElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLAudioElement.idl Bug 763010 - Expose media element metadata. r=cpearce 2012-07-30 20:14:29 -04:00
nsIDOMHTMLBaseElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLBodyElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLBRElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLButtonElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLByteRanges.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLCanvasElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLCollection.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLCommandElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLDataListElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLDirectoryElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLDivElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLDListElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLDocument.idl Bug 591467 - Implement HTML5 Microdata API r=bz 2012-06-04 16:49:57 -07:00
nsIDOMHTMLElement.idl Bug 591467 - Implement HTML5 Microdata API r=bz 2012-06-04 16:49:57 -07:00
nsIDOMHTMLEmbedElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLFieldSetElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLFontElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLFormElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLFrameElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLFrameSetElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLHeadElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLHeadingElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLHRElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLHtmlElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLIFrameElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLImageElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLInputElement.idl Bug 636627 - Implement stepDown() and stepUp() for <input type='number'>. r=sicking 2012-07-05 16:33:47 +02:00
nsIDOMHTMLLabelElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLLegendElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLLIElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLLinkElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLMapElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLMediaElement.idl Bug 763010 - Expose media element metadata. r=cpearce 2012-07-30 20:14:29 -04:00
nsIDOMHTMLMenuElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLMenuItemElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLMetaElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLMeterElement.idl Bug 762092 - Remove MPL 1.1 boilerplate from meter-related files. rs=Ms2ger 2012-06-07 20:47:44 +02:00
nsIDOMHTMLModElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLObjectElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLOListElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLOptGroupElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLOptionElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLOptionsCollection.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLOutputElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLParagraphElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLParamElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLPreElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLProgressElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLPropertiesCollection.idl Bug 591467 - Implement HTML5 Microdata API r=bz 2012-06-04 16:49:57 -07:00
nsIDOMHTMLQuoteElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLScriptElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLSelectElement.idl Bug 760848 - Make select.size reflection follow the specifications. r=smaug 2012-06-07 01:27:53 +02:00
nsIDOMHTMLSourceElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLStyleElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLTableCaptionElem.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLTableCellElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLTableColElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLTableElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLTableRowElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLTableSectionElem.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLTextAreaElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLTitleElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLUListElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLUnknownElement.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMHTMLVideoElement.idl Bug 763010 - Expose media element metadata. r=cpearce 2012-07-30 20:14:29 -04:00
nsIDOMMediaError.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMMozBrowserFrame.idl Bug 767654 - Fix out-of-date comment in nsIDOMMozBrowserFrame.idl. DONTBUILD r=mounir 2012-06-23 07:53:08 -04:00
nsIDOMPropertyNodeList.idl Bug 591467 - Implement HTML5 Microdata API r=bz 2012-06-04 16:49:57 -07:00
nsIDOMTimeRanges.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMValidityState.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIMozBrowserFrame.idl Bug 762802 - Each <iframe mozapp> should get its own process. Part 2: Content/DOM changes. r=mounir 2012-07-13 17:10:20 -04:00