Bug 181650 - [GTK][WPE] API for WebsiteAutoplayPolicy
Summary: [GTK][WPE] API for WebsiteAutoplayPolicy
Status: RESOLVED DUPLICATE of bug 184845
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-15 08:42 PST by Philippe Normand
Modified: 2020-05-05 05:33 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2018-01-15 08:42:15 PST
We should have some API for setting the autoplay policy, similar to the mac port.
Comment 2 Philippe Normand 2018-03-24 03:32:30 PDT
I think this should be implemented using ChromeClient::handleAutoplayEvent() ...
Comment 3 Charlie Turner 2020-05-05 05:01:20 PDT

*** This bug has been marked as a duplicate of bug 184845 ***
Comment 4 Charlie Turner 2020-05-05 05:33:40 PDT
(In reply to Philippe Normand from comment #2)
> I think this should be implemented using ChromeClient::handleAutoplayEvent()
> ...

handleAutoplayEvent() is there to tell clients when autoplay is denied, I guess so they can display some UI clarifying that. I don't think it is relevant to an API allowing clients to set the policy. Am I missing something?