[Webkit-unassigned] [Bug 255024] Playing Video with Intersection Observer results in "Unhandled Promise Rejection: AbortError: The operation was aborted."

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 5 05:46:27 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=255024

Sam Sneddon [:gsnedders] <gsnedders at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jer.noble at apple.com,
                   |                            |marcosc at apple.com
          Component|JavaScriptCore              |Media

--- Comment #1 from Sam Sneddon [:gsnedders] <gsnedders at apple.com> ---
AFAIK, this is related to transitive user activation—I believe Firefox and Chrome allow video play to begin based on transitive user activation, whereas I think we're stricter about this.

In Firefox and Chrome, the scroll event that triggers the intersection observer will allow a play for N seconds, thus by the time the intersection observer fires a play is allowed.

In Safari, I believe we only allow a play directly from the scroll event, which thus means going via an intersection observer doesn't work.

That said, I'm sure we tried to change this recently and then hit web compat problems by matching others.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230405/59d3e989/attachment-0001.htm>


More information about the webkit-unassigned mailing list