W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > September 2011

[Bug 14260] <track> "text tracks ready" and HTMLMediaElement.readyState

From: <bugzilla@jessica.w3.org>
Date: Fri, 23 Sep 2011 13:44:53 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1R763h-0001I2-8N@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14260

--- Comment #1 from Philip Jägenstedt <philipj@opera.com> 2011-09-23 13:44:52 UTC ---
"The text tracks of a media element are ready if all the text tracks whose mode
was not in the disabled state when the element's resource selection algorithm
last started now have a text track readiness state of loaded or failed to
load."

When the parser inserts a <video> element into a document this starts the
resource selection algorithm, but at that time there will be no child <track>
elements at all. By this definition, the text tracks will be immediately ready
in the typical case, which clearly is not the intention.

Keeping track of what the state was at some point in the past is a bit
annoying, if at all possible it would be nice if readiness only depends on the
current state.

My assumption is that this will be fixed so that adding tracks after
HAVE_METADATA does not drop back to HAVE_NOTHING, instead it just tries to
catch up with the new track ASAP.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 23 September 2011 13:44:54 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:19 UTC