Summary
Put MediaController behind an experimental runtime flag until the implementation correctly integrates with the media engine.
Motivation
A MediaController can be used to play multiple media elements in sync, the typical use case being syncing a video with an audio track in another language or a sign language video overlay.
Spec: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#media-controllers
Compatibility Risk
MediaController is very rarely used and not supported in Firefox or IE, so the risk seems very low.
Alternative implementation suggestion for web developers
In short, do whatever you do to support Firefox and IE. Simply seeking two media elements (while paused) and playing them at the same time should give roughly the same result as when using Blink's current MediaController implementation.
Usage information from UseCounter
http://www.chromestatus.com/metrics/feature/timeline/popularity/259
LGTM
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
I think it is a disservice to our users to tease them with the presence of this API and then to let them down with an incomplete and non-compliant implementation.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
On Wednesday, 23 April 2014 15:30:20 UTC+1, Aaron Colwell wrote:I think it is a disservice to our users to tease them with the presence of this API and then to let them down with an incomplete and non-compliant implementation.
Hi,
one of your users here. I just found out about the change the hard way - working code just became unworking code when run in the latest beta (36). Given that the alternative is to try to sync elements using Javascript iterating over media elements, how bad could the implementation have been in comparison (from an API user's persective)? As the API is in the draft spec and doesn't look like it's going anywhere then why remove it? I'm now going to have to replace clean code that would eventually work better without intervention with a hack that will have to be reverted when the API comes back.
I still think we should be more careful about removing features in the
future, even if they are only half-working and only in blink.
Using
the existing half-working solution has obviously been sufficient for
Ed (and likely others) and could have only become better for them,
when somebody starts improving the implementation.
I think we've been
very keen on removing features in the last few months, resulting in
more than one roller coaster ride for some of our users and
developers.
We shouldn't gloss over such feedback.
Usage counters
alone are clearly not a sufficient decision criterium. Might it be
possible to find out from usage counters who actually are those sites
that use it and find out more about the use cases, in particular if
they are valid and would be broken by removing the feature?
I know
it's more effort, but we're pushing effort onto developers by removing
features, too, as this case proves.
One might argue that when using Blink-only, half-baked features, authors should use a polyfill (with feature detection) in order to support non-Blink browsers, in which case, turning off that feature in Blink would have little negative impact on them.
One might argue that when using Blink-only, half-baked features, authors should use a polyfill (with feature detection) in order to support non-Blink browsers, in which case, turning off that feature in Blink would have little negative impact on them.