Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d2ba2012d7c547e27faddc7513805ecea8ac6921
      
https://github.com/WebKit/WebKit/commit/d2ba2012d7c547e27faddc7513805ecea8ac6921
  Author: Youenn Fablet <[email protected]>
  Date:   2026-10-10 (Sat, 10 Oct 2026)

  Changed paths:
    M LayoutTests/platform/glib/TestExpectations
    A LayoutTests/webrtc/audio-autoplay-no-renderer-expected.txt
    A LayoutTests/webrtc/audio-autoplay-no-renderer.html
    M Source/WebCore/html/MediaElementSession.cpp

  Log Message:
  -----------
  Jane.app web site can no longer autoplay remote audio participant
rdar://182922583
https://bugs.webkit.org/show_bug.cgi?id=326969

Reviewed by Andy Estes.

Allowing autoplay of a detached audio element was removed in 
https://commits.webkit.org/314638@main.
Some video conferencing websites like Jane.app rely on this ability.

We add back the ability to autoplay audio detached elements if the document is 
capturing microphone/camera and the element is playing live stream.
This is following the same exemption rule used elsewhere in the codebase for 
video conferencing web sites.

Test: webrtc/audio-autoplay-no-renderer.html
Disabled for glib since they might not have the invisible autoplay restriction.

* LayoutTests/webrtc/audio-autoplay-no-renderer-expected.txt: Added.
* LayoutTests/webrtc/audio-autoplay-no-renderer.html: Added.
* Source/WebCore/html/MediaElementSession.cpp:
(WebCore::autoplayPermittedWhileInvisible):
* LayoutTests/platform/glib/TestExpectations:

Canonical link: https://commits.webkit.org/323320@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to