Commit Graph

10 Commits

Author SHA1 Message Date
Ralph Giles
f6bb93b883 Bug 996331 - Remove TextTrack.oncuechange. r=cpearce,smaug
This event isn't currently implemented. Removing it from
the DOM interface provides a way for authors to detect
that it cannot be expected to work.
2014-06-30 16:12:11 -07:00
Rick Eyre
e5f5d85c0d Bug 978163 - Part 1: Remove VTTRegionList and VTTRegion TextTrack extensions. r=rillian, r=bz
- These two parts of the spec were recently removed as they
were seen as unecessary or bad design, in the case of the
VTTRegion TextTrack extensions. See the spec bug at:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24380
2014-03-10 11:33:06 -04:00
Rick Eyre
62ff64ece8 Bug 881976 - Part 1: Expose TextTrack::TextTrackList to Chrome JS. r=rillian, r=bz
Our JS WebVTT implementation (vtt.js) needs access to the Track's
TextTrackList in order to compute the line position of a TextTrackCue.
Therefore, we need to expose it to chrome JS so that vtt.js can have
access to it.
2014-01-27 13:10:06 -05:00
Rick Eyre
89cd86a67a Bug 917945 - Part 1: Expose TextTrackRegion* as VTTRegion*. r=rillian, r=bz 2013-09-20 14:42:35 -04:00
Rick Eyre
0c5e1d0f68 Bug 867823 - Implement TextTrack Add/RemoveCue. r=rillian
- Updated RemoveCue to throw NotFoundError if the cue being removed is
not in the cue list.
- Updated AddCue to not add cues that are already in the list. This is
done by reference comparing.
2013-06-28 13:31:43 -04:00
Olli Pettay
6faa270649 Bug 916879, remove SetterThrows from eventhandlers, r=emk 2013-09-17 14:01:28 +03:00
Andrew Quartey
5a461e9d53 Bug 897504 - Implement region API for Gecko. r=giles, khuey 2013-09-13 19:44:33 -04:00
Rick Eyre
f21d409dee Bug 868509 - Rename TextTrackCue to VTTCue r=rillian
This way we can ensure that JS code written for WebVTT is spec
compliant while at the same time not having to abstract VTTCue
from TextTrackCue.
2013-08-27 13:07:00 -07:00
Rick Eyre
3fd0c0e96a Bug 882706 - Implement TextTrackList::GetTrackById(). r=rillian
I've also added an Id attribute to the TextTrack implementation as it wasn't
there yet.
2013-07-09 11:44:35 -04:00
Ralph Giles
9bc493aec1 Bug 833385 - Implement HTMLTrackElement and TextTrack. r=bz,Ms2ger
Add webidl interfaces and implementations of the HTML <track>
element and related TextTrack, TextTrackList, TextTrackCue,
and TextTrackCueList dom objects.

Visibility is controlled by the media.webvtt.enabled pref,
which defaults to false.

HTMLMediaElement:NewURIFromString() is hoisted to
nsGenericHTMLElement so it's available to the track
element as well.

This patch is primarily work by Dale Karp, David Humphrey
and others as Seneca College.
2013-05-22 00:14:00 +08:00