components.conf |
|
557 |
HTMLTrackElement.cpp |
HTMLTrackElement |
18342 |
HTMLTrackElement.h |
|
4631 |
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 |
|
3237 |
TextTrackCueList.h |
|
2444 |
TextTrackList.cpp |
|
6007 |
TextTrackList.h |
|
2540 |
TextTrackManager.cpp |
|
29172 |
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 |
eslint-env node |
1802 |
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 |
|
6577 |
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 |