Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MediaSession API on Edge in showing ANY buttons when entering picture-in-picture #280

Closed
MatanYemini opened this issue May 26, 2022 · 2 comments

Comments

@MatanYemini
Copy link

Hi,

When trying to assign "nexttrack" and "prevtrack" - the buttons are not showing up in PiP mode.

It seems to work well on chrome (version 101) but on Edge (version 101) ALL the buttons are hidden. Even the "close" button is overlayed by a weird gray shadow - which is not the case on chrome.

Ref to MDN + compatibility table: https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/setActionHandler

An image is attached for example:

https://photos.app.goo.gl/iM1QPzJJuqzesyQv8

Any ideas?

Thanks!
-m

@MatanYemini
Copy link
Author

UP (very weird)

@steimelchrome
Copy link
Contributor

This seems like a bug in Microsoft's usage of the Media Session API and not with the spec itself. Please file feedback to Microsoft directly (which I believe you can do via the "Send feedback" option in the Edge menu)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants