You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm pretty sure it was only ever implemented in WebKit (by @jernoble) and WebKit is now the only engine with it enabled. I'd be happy to remove it from the spec and to drop the disabled code from Blink.
We should get some comment from WebKit though on their plans for it. Although @annevk's OP says Safari does not support them, so I am getting conflicting reports here... any web page demos we can all test? I have an iPad at least, if not a Mac.
But what about mediagroup, or other aspects of the feature?
It's just a declarative shortcut to setting the same MediaController on multiple elements, the MediaController interface itself is pretty much the whole feature.
How will people do this if you remove MediaController?
It is technically possible to do it if the spec was changed to allowed more than one video track in a container to be enabled simultaneously, but 1) not all media engines support that, and 2) that would require the sign language track to be downloaded even when it is not used.
There's nothing wrong with the use cases for MediaController, but the implementor interest just hasn't materialized. Even as implemented in WebKit (last I looked) it doesn't actually synchronize at the media engine level, which is the hard part.
A path that seems somewhat more likely to succeed, I think, is a way to get multiple video tracks of a single media element rendered into separate containers. Combining that with MSE ought to prevent the bandwidth waste.
I chatted with a few folks about the feature. We find that one of the most encouraging use cases is for accessibility--being able to synchronize Closed captions, sign-language PiP for the hearing-impaired, etc., together with a video. Perhaps those use-cases could be achieved in some other way. For MediaController specifically, we just have to consider it in the larger scope of features we would like to implement, and it just never shows up as a blip on the radar.
Yes, I anticipate this is probably a feature with nonzero usage. However, it is a feature with only one implementation, and no sign of willingness to get another. You may find lobbying the bug trackers of implementers more fruitful.
I think this is feature will have more adoption once more people realize what it makes possible.
For example, video providers like Netflix could use this to provide timing-critical out-of-band audio descriptions. This would reduce their CDN duplication, because they would not need to duplicate the 5.1 audio track in both AD and non-AD versions. The main audio could be 5.1, and the AD track could be low-bandwidth stereo, or even mono.
Most production studios distribute movies audio as separate audio tracks for the distribution houses: sound effects, music, various language tracks (e.g. English, Spanish, Japanese), and alternate tracks (audio descriptions, director's commentary, etc.). These tracks are mixed down to a single audio file prior to CDN distribution, but combining them on the fly would allow users to do delightful things like lower the volume of the background audio (sound effects and music) to more clearly understand the foreground dialog. No video service has implemented this user feature yet, but deprecating the HTML feature now only ensures none of them will be able to.
Perhaps David Bolter, Alex Surkov, Eitan Isaacson, Marco Zehe, or others at Mozilla Accessibility have different opinion than @rocallahan?
Perhaps the media distribution companies and production houses have an opinion, too. Netflix and Disney/Pixar are treating accessibility very seriously now. Disney just released the "Disney Movies Anywhere" app and seems to be retroactively recording audio descriptions for the entire Disney movie catalog. Netflix is one of the largest users of bandwidth on the Web (in the US anyway) and may be interested in one of these techniques to reduce their CDN duplication.
Given the single implementation (in WebKit/Safari) and its impact to accessibility (where timing is more important than the detractors realize), it would be a shame to deprecate the feature prematurely.
I'm no longer with Mozilla. The person you need to convince is probably Anthony Jones.
FWIW I believe what I wrote above is still the case: the media team is very busy and gets lots of feature requests from users, and this is much less requested than other features.
| @rocallahan's example does not show frame-accurate synchronization
That's true. The question is, which use-cases require frame-accurate synchronization? Signing doesn't. AFAICT audio descriptions don't. Separate distribution of audio tracks doesn't: Netflix is using Media Source Extensions which means they can put separate audio tracks on the CDN and bundle them into a single media resource at the client. Per-audio-track volume control doesn't, that could be provided with a 'volume' attribute on AudioTrack, which is better than requiring MediaController since it would work when the audio tracks have been bundled into a single resource, and would work with MediaStreams.
Given the single implementation (in WebKit/Safari) and its impact to accessibility (where timing is more important than the detractors realize), it would be a shame to deprecate the feature prematurely.
A single implementation is exactly why this feature is on track for removal (not just deprecation). There's nothing premature about this removal; it's been in the spec for several years with no implementation movement, and the deadline for removal was added to the spec in October (#277). Removal will happen next month unless another implementer gives positive signs.
Removal from the spec doesn't, of course, mean that we disagree with the use cases of this feature, or don't think it or something like it should ever be implemented. It means that the feature has proven itself to not be a part of either the present or future standard cross-browser web platform, and should not be included in a cross-browser standard.
Again, if people want to affect the spec here, the path to do so is through implementations. I encourage people to do so in the implementers' bug trackers, but if they want to use this thread as a kind of indirect way of communicating with implementers that's fine too. Just please focus on that goal, not on convincing the editors that this feature should not be removed.
I'm going to work on this. Since other than Apple no implementer can be convinced to support this there's no value keeping this in, even though in theory it's the only way to do certain things well.
@zcorpan In response to your message on webkit.org: the real problems won't surface with fast connections and proof of concepts: they'll be with buffering multiple sources on mobile connections. Think of getting "can play trough" right for all the tracks at once. Also, one or two frames off might not be terrible for video, it is quite noticeable for audio.
(Domenic, excuse me for being off-topic, I forgot.)
Activity
foolip commentedon Sep 25, 2015
I unshipped MediaController in Blink in April 2014:
https://groups.google.com/a/chromium.org/d/msg/blink-dev/MVcoNSPs1UQ/LIF-fvu2lwoJ
I'm pretty sure it was only ever implemented in WebKit (by @jernoble) and WebKit is now the only engine with it enabled. I'd be happy to remove it from the spec and to drop the disabled code from Blink.
domenic commentedon Sep 25, 2015
We should get some comment from WebKit though on their plans for it. Although @annevk's OP says Safari does not support them, so I am getting conflicting reports here... any web page demos we can all test? I have an iPad at least, if not a Mac.
foolip commentedon Sep 25, 2015
Just go to http://jsconsole.com/?MediaController to see if the interface object is there.
domenic commentedon Sep 25, 2015
Still exists in iOS Safari. (Does not exist in Edge.)
But what about mediagroup, or other aspects of the feature?
domenic commentedon Sep 25, 2015
@travisleithead, does Edge have an opinion on
MediaControllerandmediagroup? It currently appears to be a Safari-only feature.annevk commentedon Sep 25, 2015
@domenic OP says Safari does support them.
foolip commentedon Sep 25, 2015
It's just a declarative shortcut to setting the same
MediaControlleron multiple elements, theMediaControllerinterface itself is pretty much the whole feature.foolip commentedon Oct 1, 2015
Should we send a message to what email list and say that we're going to remove this feature if no implementor speaks up within a week?
annevk commentedon Oct 1, 2015
I emailed webkit-dev. We could email whatwg too to be sure.
foolip commentedon Oct 1, 2015
WebKit is indeed the most interesting party to ask, but it wouldn't hurt to send the same message to whatwg.
annevk commentedon Oct 1, 2015
Will do.
eric-carlson commentedon Oct 1, 2015
MediaController is frequently mentioned as a technique for playing a synchronized video of a sign language interpreter, eg. http://www.w3.org/TR/2012/NOTE-WCAG20-TECHS-20120103/G81.
How will people do this if you remove MediaController?
It is technically possible to do it if the spec was changed to allowed more than one video track in a container to be enabled simultaneously, but 1) not all media engines support that, and 2) that would require the sign language track to be downloaded even when it is not used.
foolip commentedon Oct 1, 2015
There's nothing wrong with the use cases for MediaController, but the implementor interest just hasn't materialized. Even as implemented in WebKit (last I looked) it doesn't actually synchronize at the media engine level, which is the hard part.
A path that seems somewhat more likely to succeed, I think, is a way to get multiple video tracks of a single media element rendered into separate containers. Combining that with MSE ought to prevent the bandwidth waste.
travisleithead commentedon Oct 1, 2015
I chatted with a few folks about the feature. We find that one of the most encouraging use cases is for accessibility--being able to synchronize Closed captions, sign-language PiP for the hearing-impaired, etc., together with a video. Perhaps those use-cases could be achieved in some other way. For
MediaControllerspecifically, we just have to consider it in the larger scope of features we would like to implement, and it just never shows up as a blip on the radar.37 remaining items
domenic commentedon Mar 18, 2016
Yes, I anticipate this is probably a feature with nonzero usage. However, it is a feature with only one implementation, and no sign of willingness to get another. You may find lobbying the bug trackers of implementers more fruitful.
cookiecrook commentedon Mar 19, 2016
I think this is feature will have more adoption once more people realize what it makes possible.
For example, video providers like Netflix could use this to provide timing-critical out-of-band audio descriptions. This would reduce their CDN duplication, because they would not need to duplicate the 5.1 audio track in both AD and non-AD versions. The main audio could be 5.1, and the AD track could be low-bandwidth stereo, or even mono.
Most production studios distribute movies audio as separate audio tracks for the distribution houses: sound effects, music, various language tracks (e.g. English, Spanish, Japanese), and alternate tracks (audio descriptions, director's commentary, etc.). These tracks are mixed down to a single audio file prior to CDN distribution, but combining them on the fly would allow users to do delightful things like lower the volume of the background audio (sound effects and music) to more clearly understand the foreground dialog. No video service has implemented this user feature yet, but deprecating the HTML feature now only ensures none of them will be able to.
Perhaps David Bolter, Alex Surkov, Eitan Isaacson, Marco Zehe, or others at Mozilla Accessibility have different opinion than @rocallahan?
Perhaps the media distribution companies and production houses have an opinion, too. Netflix and Disney/Pixar are treating accessibility very seriously now. Disney just released the "Disney Movies Anywhere" app and seems to be retroactively recording audio descriptions for the entire Disney movie catalog. Netflix is one of the largest users of bandwidth on the Web (in the US anyway) and may be interested in one of these techniques to reduce their CDN duplication.
Given the single implementation (in WebKit/Safari) and its impact to accessibility (where timing is more important than the detractors realize), it would be a shame to deprecate the feature prematurely.
rocallahan commentedon Mar 19, 2016
I'm no longer with Mozilla. The person you need to convince is probably Anthony Jones.
FWIW I believe what I wrote above is still the case: the media team is very busy and gets lots of feature requests from users, and this is much less requested than other features.
| @rocallahan's example does not show frame-accurate synchronization
That's true. The question is, which use-cases require frame-accurate synchronization? Signing doesn't. AFAICT audio descriptions don't. Separate distribution of audio tracks doesn't: Netflix is using Media Source Extensions which means they can put separate audio tracks on the CDN and bundle them into a single media resource at the client. Per-audio-track volume control doesn't, that could be provided with a 'volume' attribute on AudioTrack, which is better than requiring MediaController since it would work when the audio tracks have been bundled into a single resource, and would work with MediaStreams.
domenic commentedon Mar 19, 2016
A single implementation is exactly why this feature is on track for removal (not just deprecation). There's nothing premature about this removal; it's been in the spec for several years with no implementation movement, and the deadline for removal was added to the spec in October (#277). Removal will happen next month unless another implementer gives positive signs.
Removal from the spec doesn't, of course, mean that we disagree with the use cases of this feature, or don't think it or something like it should ever be implemented. It means that the feature has proven itself to not be a part of either the present or future standard cross-browser web platform, and should not be included in a cross-browser standard.
Again, if people want to affect the spec here, the path to do so is through implementations. I encourage people to do so in the implementers' bug trackers, but if they want to use this thread as a kind of indirect way of communicating with implementers that's fine too. Just please focus on that goal, not on convincing the editors that this feature should not be removed.
annevk commentedon May 10, 2016
I'm going to work on this. Since other than Apple no implementer can be convinced to support this there's no value keeping this in, even though in theory it's the only way to do certain things well.
Remove MediaController and media element's mediagroup attribute
Remove MediaController and media element's mediagroup attribute
Test that MediaController, .mediaGroup, .controller are not supported
Test that MediaController, .mediaGroup, .controller are not supported (…
zcorpan commentedon Sep 12, 2016
@rocallahan
This is no longer there. :-( Do you still have it around somewhere?
rocallahan commentedon Sep 12, 2016
No, I'm afraid not. It was pretty simple though.
zcorpan commentedon Sep 12, 2016
I filed https://bugs.webkit.org/show_bug.cgi?id=161861 for WebKit.
Robbert commentedon Sep 12, 2016
@zcorpan In response to your message on webkit.org: the real problems won't surface with fast connections and proof of concepts: they'll be with buffering multiple sources on mobile connections. Think of getting "can play trough" right for all the tracks at once. Also, one or two frames off might not be terrible for video, it is quite noticeable for audio.
(Domenic, excuse me for being off-topic, I forgot.)