Summary: | Blocked autoplaying audio plays unexpectedly on visibilityState change | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jer Noble <jer.noble> | ||||
Component: | Media | Assignee: | Jer Noble <jer.noble> | ||||
Status: | NEW --- | ||||||
Severity: | Normal | CC: | webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | Safari Technology Preview | ||||||
Hardware: | Unspecified | ||||||
OS: | macOS 10.13 | ||||||
Attachments: |
|
This affects <http://relay.fm/live>. |
Created attachment 349687 [details] two-audio-element-autoplay.html On Mac Safari, when two media elements in a page both have "autoplay" attributes, and one element has its play() method called during a user gesture, the play restrictions for every media element in the page is lifted. The next time the "eligible for autoplay" check is made, the previously blocked element begins playing unexpectedly. This is fallout from our compatibility decision to unblock autoplay at a page level once one element is unblocked due to a user gesture.