Thursday, 15 November 2012

Mozilla and the Element

I want to explore how Mozilla is currently dealing with the <track> element for HTML5.

According to the Mozilla documentation it is currently not supported. According to the Mozilla bug tracker, we at Seneca College are working on it. There is nothing in the documentation for WebVTT.

The <video> tag is supported. Here is the bug tracker for it.

The DOM media element is here in the documentation.

So now I'm looking at the source code. There is a nice post for the directory structure.

This looks like what deals with the media element.
https://github.com/mozilla/mozilla-central/tree/master/dom/media
https://github.com/mozilla/mozilla-central/blob/master/content/html/content/public/nsHTMLMediaElement.h
https://github.com/mozilla/mozilla-central/blob/master/dom/interfaces/html/nsIDOMHTMLMediaElement.idl

Video element:
https://github.com/mozilla/mozilla-central/blob/master/content/html/content/src/nsHTMLVideoElement.cpp

Anyway, it will take a lot of time to figure out where WebVTT and <track> will plug in.

No comments:

Post a Comment