Intent to Implement: Seeking for Media Session

80 views
Skip to first unread message

Becca Hughes

unread,
Jul 12, 2019, 11:47:37 AM7/12/19
to blink-dev, Mounir Lamouri, Francois Beaufort

Contact emails

becca...@chromium.org

mlam...@chromium.org

fbea...@chromium.org


Explainer

https://github.com/WICG/mediasession/blob/master/explainer.md


Specification: https://github.com/WICG/mediasession/commit/9491b7fea6c2663ccfc40232c7bdcc12ba21d1bb


Summary

Adds a media session action handler for "seekto". An action handler is an event tied specifically to common media function (e.g. pause, play).

 

The "seekto" action handler will be called when the site should move the playback time to a specific time.


Also adds a MediaSessionActionDetails dictionary that will be passed when an action handler is called. This is used as a base for passing additional data for "seekbackward", "seekforward" and "seekto".


Motivation

We should add support for "seekto" since this action is supported by the platform and allows sites to provide a better experience.


Interoperability and Compatibility

N/A


Firefox: Public support (https://docs.google.com/document/d/1KwwFHDaRnixs_tasLdLqZ1zozrJbjsG-b9y973gBM8w/edit?usp=sharing)


Discussed at Web Media F2F


Edge: Public support (https://docs.google.com/document/d/1KwwFHDaRnixs_tasLdLqZ1zozrJbjsG-b9y973gBM8w/edit?usp=sharing)


Discussed at Web Media F2F


Safari: Public support (https://docs.google.com/document/d/1KwwFHDaRnixs_tasLdLqZ1zozrJbjsG-b9y973gBM8w/edit?usp=sharing)


Discussed at Web Media F2F


Web developers: No signals


Ergonomics

This is part of the Media Session API


Will this feature be supported on all six Blink platforms (Windows, Mac, Linux,

Chrome OS, Android, and Android WebView)?

No

All platforms except WebView since Media Session is not supported


Is this feature fully tested by web-platform-tests?

Yes

https://github.com/web-platform-tests/wpt/pull/17776


Link to entry on the Chrome Platform Status

https://www.chromestatus.com/feature/4637968964780032


Yoav Weiss

unread,
Jul 27, 2019, 12:02:10 AM7/27/19
to Becca Hughes, blink-dev, Mounir Lamouri, Francois Beaufort
Are you planning to file for a TAG review (either for this intent or for the broader Media Session spec)?
 
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFeLsEK1XxLd_NyHPbBJ0Sz9H1ZuH7XNDbi%2B5uFjeXhfp9mAFw%40mail.gmail.com.

Philip Jägenstedt

unread,
Jul 29, 2019, 4:41:16 AM7/29/19
to Yoav Weiss, Becca Hughes, blink-dev, Mounir Lamouri, Francois Beaufort
On Sat, Jul 27, 2019 at 11:02 AM Yoav Weiss <yo...@yoav.ws> wrote:


On Fri, Jul 12, 2019 at 11:47 AM Becca Hughes <becca...@chromium.org> wrote:

Are you planning to file for a TAG review (either for this intent or for the broader Media Session spec)?

Review of the whole spec was requested in https://github.com/w3ctag/design-reviews/issues/149. Some of the issues filed remain open, so it might be a good idea to go through https://github.com/WICG/mediasession/issues to see if there are many stale issues that should be closed.  

Becca Hughes

unread,
Jul 29, 2019, 12:38:05 PM7/29/19
to Philip Jägenstedt, Yoav Weiss, blink-dev, Mounir Lamouri, Francois Beaufort
I have gone through these and closed the stale ones.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages