w3c/mediasession

Integrate Media Session with Permissions Policy

Closed this issue · 4 comments

The feature policy list can allow web developers to selectively opt-in to supporting the Media Session API https://w3c.github.io/webappsec-feature-policy/

For my case, I'm using a sandboxed IFrame and would like to disable the Media Session API for embedded website. Opting-in could look like

<iframe src="https://media.com/embed" allow="media-session"></iframe>

Related: #215

This sounds useful to me, the default like for other features should probably be deny.
I am unsure how compatible that would be though.
We should come up with a decision for V1.
@alastor0325 , @steimelchrome , wdyt?
This relates to #194.

Marking tentatively as P1

Fixed by #299 so closing this issue.
@samuelmaddock, see also #302, if you are interested.

Closing this, as #299 got merged.