[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
Tue Apr 11 07:33:11 PDT 2023


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

Marcos Caceres <marcosc at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #9 from Marcos Caceres <marcosc at apple.com> ---
(In reply to Ben Frain from comment #8)
> Thanks Marcos,
> 
> I guess my question is, what about the original code was problematic? Is
> there a good reason this should not work in WebKit when it works in Firefox
> and Chromium browsers. 

Testing locally with Firefox I can see it sometimes also hits the situation where the video is not available. It may be thay the video was cached by those browsers so it was always ready to play?

I think you would eventually need to add similar logic to what I added for when the  video’s ready state doesn’t yet allow playing the video. You could test for that by maybe sending a bad video or delaying the response from the server. 

> If you are happy that WebKit is behaving here as you would hope and expect,
> by all means close. ��

Cheers and best of success with what you are building!

-- 
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/20230411/2cf1842a/attachment.htm>


More information about the webkit-unassigned mailing list