This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25188 - Use the media element task source for audio/video tracks
Summary: Use the media element task source for audio/video tracks
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-28 08:25 UTC by contributor
Modified: 2014-05-05 09:29 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2014-03-28 08:25:08 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html
Multipage: http://www.whatwg.org/C#dom-TrackList-getKind-categories
Complete: http://www.whatwg.org/c#dom-TrackList-getKind-categories
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
Use the media element task source for audio/video tracks

Posted from: 113.23.85.58
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36 OPR/20.0.1387.59 (Edition Next)
Comment 1 Philip Jägenstedt 2014-03-28 08:26:38 UTC
Maybe we discussed this and I suck at search my bugs/mail, but:

Using the media element task source for the change/addtrack/removetrack events fired at audio and video track lists seems like a very good idea, so that those events aren't fired after a new load() when they could be confused for event related to the new resource.
Comment 2 Ian 'Hixie' Hickson 2014-05-02 23:17:41 UTC
I can't work out why this didn't use the media element event source. Let me know if I missed something important.
Comment 3 contributor 2014-05-02 23:17:58 UTC
Checked in as WHATWG revision r8600.
Check-in comment: Made 'addtrack' and other events fire on the media element task source.
http://html5.org/tools/web-apps-tracker?from=8599&to=8600
Comment 4 Philip Jägenstedt 2014-05-05 09:29:16 UTC
Thanks, that was a small diff but seems to be all that's needed!