WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 258723
260787
REGRESSION (Safari 17 beta): Cannot recover video play once set srcObject to null
https://bugs.webkit.org/show_bug.cgi?id=260787
Summary
REGRESSION (Safari 17 beta): Cannot recover video play once set srcObject to ...
simu
Reported
2023-08-28 03:10:32 PDT
At safari 17, I encounter a problem: When I capture video-stream from local camera, and set it to video's srcObject The video play normally Then I set srcObject to null and then set stream back The video will not play. ---------------------------------------------- You can reproduce it at webrtc sample website. 1. Open :
https://webrtc.github.io/samples/src/content/getusermedia/gum/
2. Click open camera button 3. Open dev-tools 4. Run code: const video = document.querySelector('video') 5. Run code: video.srcObject = null 6. Run code: video.srcObject = stream Finally, The video will not play even if you call video.play(). But it is fine at safari older version(such as safari 16) Thanks.
Attachments
Add attachment
proposed patch, testcase, etc.
simu
Comment 1
2023-08-28 03:11:56 PDT
If you update video's css attribute like height, the video will play again.
youenn fablet
Comment 2
2023-08-29 00:19:20 PDT
This should be fixed now in trunk and iOS seeds. *** This bug has been marked as a duplicate of
bug 258723
***
Alexey Proskuryakov
Comment 3
2023-08-29 08:05:39 PDT
Bug 258723
was fixed in developer beta 4 released on 7/31/2023. Please let us know if this is still happening.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug