Bug 181650
Summary: | [GTK][WPE] API for WebsiteAutoplayPolicy | ||
---|---|---|---|
Product: | WebKit | Reporter: | Philippe Normand <pnormand> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | aperez, bugs-noreply, calvaris, clopez, cturner |
Priority: | P2 | ||
Version: | Other | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Philippe Normand
We should have some API for setting the autoplay policy, similar to the mac port.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Carlos Alberto Lopez Perez
More info:
https://webkit.org/blog/7734/auto-play-policy-changes-for-macos/
https://webkit.org/blog/6784/new-video-policies-for-ios/
Philippe Normand
I think this should be implemented using ChromeClient::handleAutoplayEvent() ...
Charlie Turner
*** This bug has been marked as a duplicate of bug 184845 ***
Charlie Turner
(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?