WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
277636
Video not allowed but still Airplays if src set before calling play()
https://bugs.webkit.org/show_bug.cgi?id=277636
Summary
Video not allowed but still Airplays if src set before calling play()
Jeff Johnson
Reported
2024-08-05 09:59:38 PDT
Created
attachment 472062
[details]
Sample html demonstrating the bug Steps to reproduce: 1) Open the Music app on iPhone 2) Play music 3) Airplay to Apple TV 4) Open Safari 5) Open the attached sample html 6) Press the "Yes src" button 7) Wait 5 seconds 8) Notice that nothing changes 9) Press the "No src" button 10) Wait 5 seconds Expected results: Nothing changes Actual results: This video is playing on "Apple TV". The music stops playing. In both cases, there a "Unhandled Promise Rejection: NotAllowedError", as expected. The difference between the two videos is that one has a src, and the other has no src but has its src set right before calling play().
Attachments
Sample html demonstrating the bug
(1.07 KB, text/html)
2024-08-05 09:59 PDT
,
Jeff Johnson
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Jeff Johnson
Comment 1
2024-08-05 10:01:39 PDT
This issue affected the front page of
https://www.nytimes.com/
, although the video is no longer on the front page now.
Radar WebKit Bug Importer
Comment 2
2024-08-05 16:23:02 PDT
<
rdar://problem/133250941
>
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