NEW 270574
Video controls play-pause button shows wrong state after changing src
https://bugs.webkit.org/show_bug.cgi?id=270574
Summary Video controls play-pause button shows wrong state after changing src
Jeff Johnson
Reported 2024-03-06 07:01:53 PST
Created attachment 470203 [details] Sample HTML demonstrating the bug I've reproduced this bug with Safari 17.4 on iOS as well as Safari 17.3 and Safari Technology Preview 189 on macOS. When a video is playing, and the video src attribute is changed, the video is paused, but the video controls still show the button in the playing state. Steps to reproduce: 1. Open the attached sample HTML in Safari 2. Play the video 3. Click the "Switch video src" button Expected results: The video controls button is in the paused state (showing a play icon) Actual results: The video controls button is in the playing state (showing a pause icon), even though the video is not playing.
Attachments
Sample HTML demonstrating the bug (488 bytes, text/html)
2024-03-06 07:01 PST, Jeff Johnson
no flags
Radar WebKit Bug Importer
Comment 1 2024-03-13 08:02:15 PDT
Ahmad Saleem
Comment 2 2024-04-05 01:02:36 PDT
Just to confirm @Jeff - is it recent regression such as it used to work in Safari 16 or Safari 17.x (17.3 or 17.2 etc.)?
Jeff Johnson
Comment 3 2024-04-05 04:49:35 PDT
(In reply to Ahmad Saleem from comment #2) > Just to confirm @Jeff - is it recent regression such as it used to work in > Safari 16 or Safari 17.x (17.3 or 17.2 etc.)? No. I can reproduce the bug in Safari 16 too.
Note You need to log in before you can comment on or make changes to this bug.