PSA Media Session API will be enabled on desktop

148 views
Skip to first unread message

Becca Hughes

unread,
Jan 17, 2019, 2:26:50 PM1/17/19
to blink-dev, Mounir Lamouri

Hi everyone,


We are intending to enable Media Session API on desktop from M73 onwards. We are enabling it as we are building new features in Chromium that will use the API (e.g. hardware media keys).


This was previously enabled on Chrome Android and the API has not changed.


Thanks,

Becca


References

Intent to Ship

chromestatus.com entry

Philip Jägenstedt

unread,
Jan 17, 2019, 9:31:26 PM1/17/19
to Becca Hughes, Joe Medley, blink-dev, Mounir Lamouri
We don't have a way to represent the platform support of this perfectly on chromestatus.com, so +Joe Medley to check that it gets represented correctly in MDN docs.

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFeLsEJJwzqMoy-QQCBD-kMzm%3D-ADCD1B2eex_H5nEQ1trZo9g%40mail.gmail.com.

Joe Medley

unread,
Jan 18, 2019, 8:21:20 AM1/18/19
to Philip Jägenstedt, Becca Hughes, blink-dev, Mounir Lamouri
What's missing from Chrome Status?
Joe Medley | Technical Writer, Chrome DevRel | jme...@google.com | 816-678-7195
If an API's not documented it doesn't exist.

Philip Jägenstedt

unread,
Jan 18, 2019, 8:42:48 AM1/18/19
to Joe Medley, Becca Hughes, blink-dev, Mounir Lamouri
chromestatus.com can't differentiate between different desktop platforms, and this won't be enabled for Linux yet.

Joe Medley

unread,
Jan 18, 2019, 9:27:25 AM1/18/19
to Philip Jägenstedt, Becca Hughes, blink-dev, Mounir Lamouri
I'll add a note. Thanks.

Joe Medley | Technical Writer, Chrome DevRel | jme...@google.com | 816-678-7195
If an API's not documented it doesn't exist.

thos...@gmail.com

unread,
Apr 14, 2019, 4:01:09 PM4/14/19
to blink-dev, mlam...@chromium.org
(I'm assuming this is the best place to put this).

I can see that the MediaSession API is now available in Chrome. However, it seems that it doesn't interact with the OS media keys. I've tested it out on both Windows and MacOS, but using the media keys results in no action on the page.

Is media key integration planned in the future? I was under the impression that media keys were the main use case for MediaSession on desktop.

Thanks in advance.

Mounir Lamouri

unread,
Apr 16, 2019, 12:07:18 PM4/16/19
to thos...@gmail.com, blink-dev
You are correct and OS Media Keys are the main usage of the Media Session API on desktop. At the moment, we are rolling the feature on the stable branch so it's possible that you are in the control group. Other branches may have experiments too but you can try Canary, Dev or Beta.

-- Mounir

samuel....@gmail.com

unread,
May 16, 2019, 12:14:46 PM5/16/19
to blink-dev, mlam...@chromium.org
Hi, are there any plans for Chromium to integrate with the Windows taskbar controls? On applications such as Spotify, these can be used to play/pause and change media. I'd love to have this available in a standalone PWA in combination with the Media Session API. I have a media player PWA which would benefit from this.

Thanks,
Sam

On Thursday, January 17, 2019 at 2:26:50 PM UTC-5, Becca Hughes wrote:

Mounir Lamouri

unread,
Jun 23, 2019, 9:31:50 AM6/23/19
to gm....@gmail.com, blink-dev
Unfortunately, the UI you are talking about is controlled by Windows, not Chrome. There is nothing we can do about this.

On Sun., Jun. 23, 2019, 06:22 , <gm....@gmail.com> wrote:
The overlay for the playback buttons it's huge and it occupies a lot of space. It appears every time I change the volume by using me volume keys, and I do that very often when listening to youtube audio. Can you please make it smaller or disable it at all? 10x.
Reply all
Reply to author
Forward
0 new messages