Commit Graph

16 Commits

Author SHA1 Message Date
Rick Eyre
034103cacc 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
b1d42e4cd4 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
5dae77749b 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
520a4edf62 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
f5ee3a4fbe 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
bc7f41164c Bug 865407 - Follow-up to fix other places expecting the old IID.
CLOSED TREE
2014-01-14 14:03:59 -05:00
Ryan VanderMeulen
22d06b024b Bug 865407 - Bump nsIWebVTTParserWrapper IID. CLOSED TREE 2014-01-14 13:52:48 -05:00
Rick Eyre
1e3451a0f8 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
70ab9a1568 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
ad7ccba84d 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
02310aad44 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
714e04f170 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
e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Ehsan Akhgari
39c2729336 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
965a7ef175 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
d646168781 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