NEW 277100
Video in background tab is unpausing at random
https://bugs.webkit.org/show_bug.cgi?id=277100
Summary Video in background tab is unpausing at random
Eric S
Reported 2024-07-25 15:10:06 PDT
I currently have about a half-dozen tabs open that have an embedded video (using the <video> element) on the page, which I have paused (or never started). There are also dozens of other tabs open, across four or five windows total. Sometimes, seemingly at random, one of the tabs with the paused video will unpause itself - without any interaction on my part. The tab with the video is still not the foreground tab when this happens. Some things I've noticed that might help with reproducibility: - It seems more common (maybe exclusive to?) when video playback is sped up - It seems to happen most often when focusing the Safari window when another application had previously been in the foreground - I can only remember this happening on the WWDC videos on developer.apple.com (so it's possibly specific to that site) - I usually have a different application open that's also playing video (which is, I believe, also using Webkit) - I do not believe it's ever happened with videos on the foreground tab Here's a URL where I've experienced this: https://developer.apple.com/videos/play/wwdc2024/10169/?time=1169 Happy to answer any other questions that might be relevant. Safari Version 17.5 (19618.2.12.11.6), macOS Sonoma 14.5, M2 Pro Mac mini. It is NOT a brand new issue; it's happened on and off for at least a couple months.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-08-01 15:11:15 PDT
Jer Noble
Comment 2 2024-08-01 15:12:57 PDT
Hello! This is a known issue on developer.apple.com, where they're reacting to a readyState change from HAVE_CURRENT_DATA to HAVE_FUTURE_DATA by playing the video, even if it's paused. We've reached out to developer.apple.com with repro steps, so hopefully this can get resolved outside of a software change in WebKit.
Eric S
Comment 3 2024-08-01 15:14:59 PDT
Sounds great, I greatly appreciate you passing it to the right team! Thank you!
Note You need to log in before you can comment on or make changes to this bug.