Bug 259106
Summary: | Cannot play audio and video with audio at the same time | ||
---|---|---|---|
Product: | WebKit | Reporter: | Alex Chadwick <alex.chadwick.p> |
Component: | Media | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | eric.carlson, jer.noble, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 17 | ||
Hardware: | All | ||
OS: | iOS 16 |
Alex Chadwick
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
<rdar://problem/112465614>