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+

Matt Rajca
Reported 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.
Attachments
Patch (13.66 KB, patch)
2017-04-10 13:20 PDT, Matt Rajca
achristensen: review+
Matt Rajca
Comment 1 2017-04-10 13:20:20 PDT
Matt Rajca
Comment 2 2017-04-11 11:30:17 PDT
Note You need to log in before you can comment on or make changes to this bug.