Commit Graph

16 Commits

Author SHA1 Message Date
Rick Eyre
1d6973a0c5 Bug 974017 - Update vtt.js r=rillian.
This update contains the optimization for rendering cues
with large line values. It also reverts the change to clamp
parsed line values to between -1000 and 1000.
2014-04-14 07:57:00 +02:00
Rick Eyre
3453522908 Bug 882677 - Part 2: Handle ParsingErrors from vtt.js correctly. r=cpearce
* Update vtt.js to the newest version which has the capability
of reporting back ParserErrors.
* Update the update-vtt.js script a bit as well since
the symbols that it exports have changed a bit since the last import.
Some of the general information it outputs has since changed as well
like where the repo exists.
* Update WebVTTListener to set the track readiness state
to 'failed to load' if the WebVTT file is not loaded correctly.
2014-03-17 15:11:41 -04:00
Rick Eyre
966c74015c Bug 978163 - Part 3: Vtt.js should add VTTRegions directly to the VTTCue. r=rillian
See spec bug https://www.w3.org/Bugs/Public/show_bug.cgi?id=24380.
2014-03-11 13:36:07 -04:00
Rick Eyre
c98f9c565d Bug 865407 - Part 8: Update vtt.js to latest version. r=rillian
This completes the initial implementation of the processing algorithm.
The algorithm doesn't support vertical text yet, but that's not a
big issue since Firefox doesn't support it.
2014-02-21 22:11:06 -05:00
Rick Eyre
5658e3ae22 Bug 965246 - Integrate bulk updates from vtt.js. r=rillian
Relevant changes for bugs 881976 and 964625.
2014-01-29 09:28:06 -05:00
Ryan VanderMeulen
74be386ad5 Bug 865407 - Follow-up to fix other places expecting the old IID.
CLOSED TREE
2014-01-14 14:03:59 -05:00
Ryan VanderMeulen
725f33e2a3 Bug 865407 - Bump nsIWebVTTParserWrapper IID. CLOSED TREE 2014-01-14 13:52:48 -05:00
Rick Eyre
86352ea7b0 Bug 865407 - Part 7: Update vtt.js to latest version. r=rillan
We now call WebVTTParser.processCues() on the vtt.jsm module in order to get the computed divs of the cues.
2013-12-17 10:36:26 -05:00
Rick Eyre
e7dca1a38d Bug 865407 - Part 5: Move update display of cues code to TextTrackManager. r=bz, r=rillian 2013-12-12 12:02:17 -05:00
Ryan VanderMeulen
9fff18dc96 Backed out 5 changesets (bug 865407) for Windows crashes.
Backed out changeset d3e7f6392670 (bug 865407)
Backed out changeset 7ba94f08b7a5 (bug 865407)
Backed out changeset 3de6e32a4346 (bug 865407)
Backed out changeset 5c0572c6727b (bug 865407)
Backed out changeset 5db43cac79f5 (bug 865407)
2014-01-10 11:50:49 -05:00
Rick Eyre
9d96a83cd6 Bug 865407 - Part 7: Update vtt.js to latest version. r=rillan
We now call WebVTTParser.processCues() on the vtt.jsm module in order to get the computed divs of the cues.
2013-12-17 10:36:26 -05:00
Rick Eyre
f984065401 Bug 865407 - Part 5: Move update display of cues code to TextTrackManager. r=bz, r=rillian 2013-12-12 12:02:17 -05:00
Mike Hommey
bb6779efe3 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Ehsan Akhgari
45d655ec96 Bug 919325 - Minimize the #includes in content/ IDL files; r=bzbarsky
--HG--
extra : rebase_source : 923a665eadc62046c9d5398a25187a3331fd8d25
2013-09-22 19:23:30 -04:00
Rick Eyre
94ba4131a5 Bug 895091 - Part 3: Add JS WebVTT parser code in (vtt.js) r=rillian, ted, gwagner, khuey
- Current source code for vtt.js can be found at:
https://github.com/andreasgal/vtt.js
- vtt.js code taken from commit 6bca57d265fc58cff091148b426ec69f576057d7.
2013-09-17 12:31:00 -07:00
Rick Eyre
51719c804f Bug 895091 - Part 2: Add WebVTT parser and wrapper IDls r=rillian, ted, gwagner, khuey
- Added vtt.js, a JS WebVTT parser, to Gecko.
- Added a wrapper to interface between it and Gecko.
- Updated TextTrackCue and WebVTTListener to work with it.

--HG--
rename : content/media/WebVTTLoadListener.cpp => content/media/WebVTTListener.cpp
rename : content/media/WebVTTLoadListener.h => content/media/WebVTTListener.h
2013-09-19 08:26:00 -07:00