[Webkit-unassigned] [Bug 282323] New: Safari mutes autoplay video even with User Activation in same-origin context on https://premier.one/

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 30 02:22:43 PDT 2024


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

            Bug ID: 282323
           Summary: Safari mutes autoplay video even with User Activation
                    in same-origin context on https://premier.one/
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: Unspecified
            Status: NEW
          Severity: Critical
          Priority: P2
         Component: WebKit API
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: iosdeveloper at premier.one

I am writing to seek your assistance with a persistent issue we’ve been facing with Safari’s autoplay policy for video content.

You can observe this issue on our website: https://premier.one/show/odin

Steps to Reproduce:
        1.      Open the webpage in Safari.
        2.      Click the yellow “play” button to initiate video playback.
        3.      Notice that the video starts but without audio, despite having user activation and the video content being hosted on the same domain.

Technical Details

        •       The video and main website are on the same domain (https://premier.one).
        •       User Activation API behaves inconsistently:
        •       Parent frame: window.parent.navigator.userActivation shows {hasBeenActive: true, isActive: false}
        •       Iframe: window.navigator.userActivation shows {hasBeenActive: false, isActive: false}
        •       The results indicate potential miscalculation or propagation issue of User Activation in Safari.

Environment

        •       Browser: All versions of Safari (Safari 17, 16, Technology Preview, Nightly Build)
        •       OS: macOS / iOS (all versions)
        •       URL: https://premier.one/show/odin

This behavior suggests a potential bug in how Safari handles User Activation for autoplay video in same-origin iframes. Please investigate this issue, as it significantly affects user experience.

Please let me know if you need further information or access to test environments.

-- 
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/20241030/4b16c4ce/attachment-0001.htm>


More information about the webkit-unassigned mailing list