Contact emails
becca...@chromium.org, mlam...@chromium.org, dah...@chromium.org
Explainer
This is a small addition to Feature Policy & HTML and does not need an explainer.
Spec
https://github.com/WICG/feature-policy/blob/gh-pages/features.md
https://github.com/whatwg/html/pull/3253
Summary
Allows developers to selectively enable and disable use of autoplay through the feature policy HTTP header or the <iframe> "allow" attribute.
The default value will be “self”. This means that we will allow autoplay on same origin iframes. If developers have cross origin iframes they will be able to enable autoplay on those frames by enabling the "autoplay" feature.
Link to “Intent to Implement” blink-dev discussion
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes
Risks
Interoperability and Compatibility
Edge: No signals
Firefox: No signals
Safari: Public support
Web developers: Positive
Ergonomics
This part of Unified Autoplay.
Activation
The feature is backwards compatible so it can be used immediately as-is.
Is this feature fully tested by web-platform-tests? Link to test suite results from wpt.fyi.
OWP launch tracking bug
Link to entry on the feature dashboard
--
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/CAFeLsEJK9EpP-7Wttq1GXjV1cv4E32UmgEK%3Dgof18eVioh2v6Q%40mail.gmail.com.
I agree that integrating FP into HTML ought not block shipping additional bits of FP. It's "accidental" which bits of FP were added first and in later stages, so treating the differently would be odd.That being said, what is the status of integrating FP into HTML, who's doing the work. Ping +Ian Clelland :)
What is the actual, textual change, that resolving that TODO would amount to? All of the linked terms work, I presume, so will it effectively be editorial?
On Tue, Dec 12, 2017 at 8:46 AM Philip Jägenstedt <foo...@google.com> wrote:I agree that integrating FP into HTML ought not block shipping additional bits of FP. It's "accidental" which bits of FP were added first and in later stages, so treating the differently would be odd.That being said, what is the status of integrating FP into HTML, who's doing the work. Ping +Ian Clelland :)I'm preparing a PR for HTML that integrates FP more fully, and also updating the "Integrations" section of the FP spec so that the monkey patch is up to date with that PR. Should be out for review this week.What is the actual, textual change, that resolving that TODO would amount to? All of the linked terms work, I presume, so will it effectively be editorial?1. Documents need to be defined to have an actual policy object, and there are two places where that needs to be initialized. (Current text incorrectly refers to 'global objects')2. The document's allow* flags are no longer relevant, and allowfullscreen, allowpaymentrequest and allowusermedia need to reference FP instead. (Allowusermedia needs to be handled as well)3. The 'allowed to use' algorithm needs to actually take a policy-controlled feature as an argument, and not just "feature indicated by *some attribute*", so that other specs can properly call into it.4. We should either formalize how FP operates on workers/worklets, or remove that from the spec for now.There may be more, but discussion should probably be on https://github.com/WICG/feature-policy/issues/95; I'll link the PR to that issue.
On Tue, Dec 12, 2017 at 4:09 PM Ian Clelland <icle...@chromium.org> wrote:On Tue, Dec 12, 2017 at 8:46 AM Philip Jägenstedt <foo...@google.com> wrote:I agree that integrating FP into HTML ought not block shipping additional bits of FP. It's "accidental" which bits of FP were added first and in later stages, so treating the differently would be odd.That being said, what is the status of integrating FP into HTML, who's doing the work. Ping +Ian Clelland :)I'm preparing a PR for HTML that integrates FP more fully, and also updating the "Integrations" section of the FP spec so that the monkey patch is up to date with that PR. Should be out for review this week.What is the actual, textual change, that resolving that TODO would amount to? All of the linked terms work, I presume, so will it effectively be editorial?1. Documents need to be defined to have an actual policy object, and there are two places where that needs to be initialized. (Current text incorrectly refers to 'global objects')2. The document's allow* flags are no longer relevant, and allowfullscreen, allowpaymentrequest and allowusermedia need to reference FP instead. (Allowusermedia needs to be handled as well)3. The 'allowed to use' algorithm needs to actually take a policy-controlled feature as an argument, and not just "feature indicated by *some attribute*", so that other specs can properly call into it.4. We should either formalize how FP operates on workers/worklets, or remove that from the spec for now.There may be more, but discussion should probably be on https://github.com/WICG/feature-policy/issues/95; I'll link the PR to that issue.Great, thanks Ian! I wasn't clear in my question, but I was wondering how this PR would change, textually, i.e. if merging it first would work or not.
<p>A <span>media element</span> is said to be <dfn>allowed to play</dfn> if:</p><ul><li>The <span>media element</span>'s <span>node document</span> is <span>allowed to use</span>the <a href="https://wicg.github.io/feature-policy/#policy-controlled-feature">policy-controlled feature</a>named <code>autoplay</code>. <ref spec="FEATUREPOLICY"/></li><li>Both the user agent and the system allow media playback in the current context.</li></ul>
--
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/CAK_TSXJgEHvw5qQ9nniesupOJXu-xrCqOrU-CXeQ5nBxwtf3NA%40mail.gmail.com.