Bug 170686

Summary: Change autoplay state to "prevented" when media is paused due to restrictions
Product: WebKit Reporter: Matt Rajca <mrajca>
Component: MediaAssignee: Matt Rajca <mrajca>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen
Priority: P2    
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch achristensen: review+

Description Matt Rajca 2017-04-10 12:31:38 PDT
Currently, the autoplay state is set to "prevented" when playback is about to begin without user interaction and there are restrictions in place. We should also be setting this flag when autoplay is allowed but due to a change in audio tracks, for example, it gets paused.
Comment 1 Matt Rajca 2017-04-10 13:20:20 PDT
Created attachment 306733 [details]
Patch
Comment 2 Matt Rajca 2017-04-11 11:30:17 PDT
r215243