We should have some API for setting the autoplay policy, similar to the mac port.
More info: https://webkit.org/blog/7734/auto-play-policy-changes-for-macos/ https://webkit.org/blog/6784/new-video-policies-for-ios/
I think this should be implemented using ChromeClient::handleAutoplayEvent() ...
*** This bug has been marked as a duplicate of bug 184845 ***
(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?