Name Description Size Coverage
components.conf 557 -
HTMLTrackElement.cpp HTMLTrackElement 18343 -
HTMLTrackElement.h 4599 -
moz.build 1253 -
nsIWebVTTListener.idl Listener for a JS WebVTT parser (vtt.js). 1063 -
nsIWebVTTParserWrapper.idl Interface for a wrapper of a JS WebVTT parser (vtt.js). 3367 -
package.json 78 -
test -
TextTrack.cpp 12805 -
TextTrack.h 5738 -
TextTrackCue.cpp Save a reference to our creating document so we don't have to keep getting it from our window. 8047 -
TextTrackCue.h 8863 -
TextTrackCueList.cpp 3238 -
TextTrackCueList.h 2444 -
TextTrackList.cpp 6007 -
TextTrackList.h 2540 -
TextTrackManager.cpp 29173 -
TextTrackManager.h Overview of WebVTT cuetext and anonymous content setup. WebVTT nodes are the parsed version of WebVTT cuetext. WebVTT cuetext is the portion of a WebVTT cue that specifies what the caption will actually show up as on screen. WebVTT cuetext can contain markup that loosely relates to HTML markup. It can contain tags like <b>, <u>, <i>, <c>, <v>, <ruby>, <rt>, <lang>, including timestamp tags. When the caption is ready to be displayed the WebVTT nodes are converted over to anonymous DOM content. <i>, <u>, <b>, <ruby>, and <rt> all become HTMLElements of their corresponding HTML markup tags. <c> and <v> are converted to <span> tags. Timestamp tags are converted to XML processing instructions. Additionally, all cuetext tags support specifying of classes. This takes the form of <foo.class.subclass>. These classes are then parsed and set as the anonymous content's class attribute. Rules on constructing DOM objects from WebVTT nodes can be found here http://dev.w3.org/html5/webvtt/#webvtt-cue-text-dom-construction-rules. Current rules are taken from revision on April 15, 2013. 6525 -
TextTrackRegion.cpp 1937 -
TextTrackRegion.h WebIDL Methods. 3602 -
update-webvtt.js \n" + " * Code below is vtt.js the JS WebVTT implementation.\n" + " * Current source code can be found at http://github.com/mozilla/vtt.js\n" + " *\n" + " * Code taken from commit " + commits[0].id + "\n" + " 1779 -
vtt.sys.mjs Code below is vtt.js the JS WebVTT implementation. Current source code can be found at http://github.com/mozilla/vtt.js Code taken from commit b89bfd06cd788a68c67e03f44561afe833db0849 56958 -
WebVTTListener.cpp 6578 -
WebVTTListener.h Loads the WebVTTListener. Must call this in order for the listener to be ready to parse data that is passed to it. 2201 -
WebVTTParserWrapper.sys.mjs 1597 -