Restrict usage of media autoplay by feature policy
Categories
(Core :: Audio/Video: Playback, enhancement, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox63 | --- | affected |
People
(Reporter: iclelland, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-needed)
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Comment 3•7 years ago
|
||
Updated•7 years ago
|
Comment 4•7 years ago
|
||
Updated•7 years ago
|
Comment 5•7 years ago
|
||
FYI, we removed the autoplay feature policy in Bug 1516598 as we realised that due to our policy of a user gesture activating the entire doc tree in a tab (including across origin boundaries), that in all instances we want the gesture activation status of a doc tree to override the feature policy status.
That is, the site's setting of feature policy should never override the user's gesture activation. So for us, the autoplay feature policy has no effect, so we removed it.
For reference, the "truth table" of gesture activation/feature status/allowed to play states works out like so:
| tab gesture activated | autoplay feature policy status | allowed to play |
|---|---|---|
| activated | allowed | true |
| not activated | not allowed | false |
| activated | not allowed | true |
| not activated | allowed | false |
This may be different in other browsers with a different activation model, and if we change our activation model it may come to make sense in future, but with our current model it doesn't make sense for us to support this.
Description
•