Bug 189191

Summary: Restrict usage of media autoplay by feature policy
Product: WebKit Reporter: Ian Clelland <iclelland>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: eric.carlson, jer.noble, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: All   
See Also: https://bugs.webkit.org/show_bug.cgi?id=183300

Description Ian Clelland 2018-08-31 07:07:24 PDT
Video autoplay policy can be controlled through feature policy (https://github.com/whatwg/html/pull/3829)

If the policy in the active document disallows the ‘autoplay’ feature, then the media element will not be considered eligible for autoplay.

Web Platform Tests: https://wpt.fyi/html/semantics/embedded-content/media-elements/autoplay*
(Being moved from /feature-policy/ in https://github.com/web-platform-tests/wpt/pull/12779)
Comment 1 Radar WebKit Bug Importer 2018-09-01 19:45:58 PDT
<rdar://problem/44038795>