Contact emails
ste...@chromium.orgExplainer
NoneSpecification
https://github.com/w3c/mediasession/pull/362Summary
Adds `enterPictureInPictureReason` to the `MediaSessionActionDetails` sent to the `enterpictureinpicture` action in the Media Session API. This allows developers to distinguish between `enterpictureinpicture` actions triggered explicitly by the user (e.g. from a button in the user agent) and `enterpictureinpicture` actions triggered automatically by the user agent due to the content becoming occluded.Blink component
Blink>Media>SessionWeb Feature ID
media-sessionTAG review
N/A, minor change to existing specTAG review status
Not applicableRisks
Interoperability and Compatibility
N/A
Gecko: No signal
WebKit: Positive (
https://github.com/w3c/mediasession/pull/362) Approved specification change
Web developers: Strongly positive We've received requests from multiple sites for this information
Other signals:
Ergonomics
N/A
Activation
N/A
Security
N/A
WebView application risks
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications? N/A
Debuggability
Can use devtools to inspect the received MediaSessionActionDetails objectWill this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?
YesNoNot able to trigger media session actions with web platform testing toolingFlag name on about://flags
NoneFinch feature name
NoneNon-finch justification
Just a new bool sent inside an existing objectRollout plan
Will ship enabled for all usersRequires code in //chrome?
FalseTracking bug
https://issues.chromium.org/u/1/issues/446738067Estimated milestones
Shipping on desktop | 142 |
Shipping on Android | 142 |
Shipping on WebView | 142 |
Anticipated spec changes
Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way). N/A
Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/6415506970116096?gate=4969788698918912