[Bug 25275] VideoTrackList.selectedIndex initialization confilicts with HTML5 spec, "if no track is selected".

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25275

--- Comment #4 from Adam Bergkvist <adam.bergkvist@ericsson.com> ---
Actually we don't need to say anything about VideoTrackList.selectedIndex at
all. As long as we specify which VideoTrack that is selected, if any, then the
media element spec has text that says how VideoTrackList.selectedIndex must be
set to reflect that (-1 being the default). Duplicating this text may only lead
to inconsistencies.

I'm not sure about trying to continuously (after initialization) change the
selected track as tracks are added, removed, enabled or disabled and so on.
E.g., enable/disable are controls separate from the VideoTrack.selected feature
and it could become confusing for developers if we introduce dependencies. It
would be good to have feedback from more implementers here.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Received on Friday, 11 April 2014 08:50:37 UTC