Bug 189191 - Restrict usage of media autoplay by feature policy
Summary: Restrict usage of media autoplay by feature policy
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-08-31 07:07 PDT by Ian Clelland
Modified: 2018-09-01 19:45 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>