[Webkit-unassigned] [Bug 259106] New: Cannot play audio and video with audio at the same time

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 11 05:48:57 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=259106

            Bug ID: 259106
           Summary: Cannot play audio and video with audio at the same
                    time
           Product: WebKit
           Version: Safari 17
          Hardware: All
                OS: iOS 16
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: alex.chadwick.p at gmail.com

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230711/582ac9f8/attachment.htm>


More information about the webkit-unassigned mailing list