WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
259106
Cannot play audio and video with audio at the same time
https://bugs.webkit.org/show_bug.cgi?id=259106
Summary
Cannot play audio and video with audio at the same time
Alex Chadwick
Reported
2023-07-11 05:48:57 PDT
Hi there, Recently I was involved in a project that had a music player. This music player had some videos to enhance the UI that had some sound to them to make them more "immersive". At the same time, we needed to start playback of the audio of the selected track. For some reason this was not possible. To be clear this was happening *after* the user had interacted with the DOM, so I see no reason why this couldn't happen. The flow of the web application was as follows: 1. The application loads 2. The user selects a track 3. A video plays of an animation. This has vinyl sounds included. This video is then looped. 4. The audio starts to play at the same time as the video As a workaround we had to mute the video on any iOS devices or Safari instances. Additionally, there is no relevant information outputted to the console, all it says is that playback is forbidden but will not tell you what the cause is. KR, Alex
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-07-18 05:49:24 PDT
<
rdar://problem/112465614
>
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