Skip to content

Deprecate mediagroup/MediaController? #192

Closed

Description

@annevk

Per @rocallahan Mozilla has no interest in implementing these. It seems Safari does support them. Not sure about other browsers or their plans.

Activity

  1. added
    removal/deprecation
    on Sep 25, 2015
  2. foolip commented on Sep 25, 2015

    @foolip
    Member

    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.

  3. domenic commented on Sep 25, 2015

    @domenic
    Member

    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.

  4. domenic commented on Sep 25, 2015

    @domenic
    Member

    Still exists in iOS Safari. (Does not exist in Edge.)

    But what about mediagroup, or other aspects of the feature?

  5. domenic commented on Sep 25, 2015

    @domenic
    Member

    @travisleithead, does Edge have an opinion on MediaController and mediagroup? It currently appears to be a Safari-only feature.

  6. annevk commented on Sep 25, 2015

    @annevk
    MemberAuthor

    @domenic OP says Safari does support them.

  7. foolip commented on Sep 25, 2015

    @foolip
    Member

    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.

  8. foolip commented on Oct 1, 2015

    @foolip
    Member

    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?

  9. annevk commented on Oct 1, 2015

    @annevk
    MemberAuthor

    I emailed webkit-dev. We could email whatwg too to be sure.

  10. foolip commented on Oct 1, 2015

    @foolip
    Member

    WebKit is indeed the most interesting party to ask, but it wouldn't hurt to send the same message to whatwg.

  11. annevk commented on Oct 1, 2015

    @annevk
    MemberAuthor

    Will do.

  12. eric-carlson commented on Oct 1, 2015

    @eric-carlson

    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.

  13. foolip commented on Oct 1, 2015

    @foolip
    Member

    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.

  14. travisleithead commented on Oct 1, 2015

    @travisleithead
    Member

    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.

  15. 37 remaining items

  16. domenic commented on Mar 18, 2016

    @domenic
    Member

    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.

  17. cookiecrook commented on Mar 19, 2016

    @cookiecrook

    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.

  18. rocallahan commented on Mar 19, 2016

    @rocallahan

    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.

  19. domenic commented on Mar 19, 2016

    @domenic
    Member

    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.

  20. self-assigned this
    on May 10, 2016
  21. annevk commented on May 10, 2016

    @annevk
    MemberAuthor

    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.

  22. added a commit that references this issue on May 10, 2016
    5c6a24d
  23. added a commit that references this issue on May 11, 2016
    634698e
  24. zcorpan commented on Sep 12, 2016

    @zcorpan
    Member
  25. rocallahan commented on Sep 12, 2016

    @rocallahan

    No, I'm afraid not. It was pretty simple though.

  26. Robbert commented on Sep 12, 2016

    @Robbert

    @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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

removal/deprecationtopic: media

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions