Contact emails:
mlam...@chromium.org
Spec:
WHATWG's HTML spec, more specifically:
https://html.spec.whatwg.org/multipage/embedded-content.html#dom-media-play
Summary:
This is allowing a simpler flow to know whether playback started or
whether it failed. It also allows the UA to reject the promise if
playback is not allowed in the current context, solving issues websites
have to detect whether user gesture requirements blocked the playback.
At the Chrome Dev Summit this feature has been requested by Youtube and
JWPlayer.
Interoperability and Compatibility Risk:
Opera, Mozilla and Apple expressed support for the feature in the GitHub
issue:
https://github.com/whatwg/html/issues/505
The feature has good cross-browser support (no words from Microsoft).
There is a small risk because we are changing the "signature" of a
heavily used method. However, we are switching from returning undefined
to returning a promise so it should be forward compatible.
Ongoing technical constraints:
None.
Will this feature be supported on all six Blink platforms:
Yes.
OWP launch tracking bug:
https://crbug.com/579541
Link to entry on the feature dashboard:
https://www.chromestatus.com/feature/5920584248590336
Requesting approval to ship?
Yes
Thanks to Philip Jägenstedt for his help with the spec change.
-- Mounir