Contact emails
Explainer
Specification
None
Summary
Adds a "media-playback-while-not-rendered" permission policy to allow embedder websites to pause media playback of embedded iframes which aren't rendered - i.e. have their "display" property set to "none". Since the only way for a website to halt media playback
in a cross-origin iframe is to destroy the frame, this feature should help said websites to improve performance by removing the need to destroy and re-create the media-playing frame everytime playback needs to be paused/resumed.
Blink component
Motivation
Web applications that host embedded media content via iframes may wish to respond to application input by temporarily hiding the media content. These applications may not want to unload the entire iframe when it's not rendered since it could generate user-perceptible
performance and experience issues when showing the media content again. At the same time, the user could have a negative experience if the media continues to play and emit audio when not rendered. This proposal aims to provide web applications with the ability
to control embedded media content in such a way that guarantees their users have a good experience when the iframe's render status is changed.
Initial public proposal
None
TAG review
None
TAG review status
Pending
Risks
Interoperability and Compatibility
None
Gecko: No signal
WebKit: No signal
Other signals:
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?
None
Debuggability
None
No
Flag name on chrome://flags
None
Finch feature name
None
Non-finch justification
None
Requires code in //chrome?
False
Estimated milestones
M128
Link to entry on the Chrome Platform Status