[Webkit-unassigned] [Bug 259577] [GTK] [GStreamer] Youtube videos bypass the autoplay "only without sound" setting, even when opened in new tabs / pages

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 28 09:31:24 PDT 2023


Michael Catanzaro <mcatanzaro at redhat.com> changed:

           What    |Removed                     |Added
                 CC|                            |mcatanzaro at redhat.com

--- Comment #3 from Michael Catanzaro <mcatanzaro at redhat.com> ---
(In reply to Philippe Normand from comment #1)
> What is this default "Media autoplay: Without sound" state you're talking
> about?

WEBKIT_AUTOPLAY_ALLOW_WITHOUT_SOUND, corresponding to the "Media autoplay" permission in Epiphany's security popover

(In reply to Philippe Normand from comment #2)
> When reporting bugs here, please check with MiniBrowser.

Even I do not do this. :P MiniBrowser is awkward to use and it's really rare for a web content bug to turn out to be somehow caused by Epiphany.

That said, in this case it *might* be true, because I can reproduce this in Epiphany but not in MiniBrowser. MiniBrowser always uses WEBKIT_AUTOPLAY_ALLOW_WITHOUT_SOUND unless you pass a special command line flag. It does this by creating a WebKitWebsitePolicies and then using it to create each WebKitWebView. Epiphany does something completely different: it uses the default WebKitWebsitePolicies when creating the view, then applies a new set of policies for each navigation policy decision using webkit_policy_decision_use_with_policies(). Epiphany cannot follow the MiniBrowser approach because it allows the autoplay policy to be different for every website and so needs to apply new policies to every load. Still, I think it's *probably* a WebKit bug for the policies to not be applied successfully, so this is the best place for the bug report until we've dived in further.

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/20230728/c6f8fbf4/attachment-0001.htm>

More information about the webkit-unassigned mailing list