Bug 157820

Summary: Disable default user gesture requirement for audio playback on Mac
Product: WebKit Reporter: Jer Noble <jer.noble>
Component: New BugsAssignee: Jer Noble <jer.noble>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Jer Noble 2016-05-17 16:35:22 PDT
Disable user gesture requirement for audio playback on Mac
Comment 1 Jer Noble 2016-05-17 16:39:14 PDT
Created attachment 279183 [details]
Patch
Comment 2 Jon Lee 2016-05-17 19:42:36 PDT
Comment on attachment 279183 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=279183&action=review

> Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm:143
>          _mediaTypesRequiringUserActionForPlayback = WKAudiovisualMediaTypeAll;

These two lines are mixed up, aren't they? And/or a separate assignment to WKAudiovisualMediaTypeNone?
Comment 3 Jer Noble 2016-05-18 08:24:42 PDT
Created attachment 279252 [details]
Patch
Comment 4 Jer Noble 2016-05-18 15:51:11 PDT
Comment on attachment 279252 [details]
Patch

Clearing flags on attachment: 279252

Committed r201110: <http://trac.webkit.org/changeset/201110>
Comment 5 Jer Noble 2016-05-18 15:51:15 PDT
All reviewed patches have been landed.  Closing bug.