Bug 170686 - Change autoplay state to "prevented" when media is paused due to restrictions
Summary: Change autoplay state to "prevented" when media is paused due to restrictions
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Matt Rajca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-10 12:31 PDT by Matt Rajca
Modified: 2017-04-11 11:30 PDT (History)
1 user (show)

See Also:


Attachments
Patch (13.66 KB, patch)
2017-04-10 13:20 PDT, Matt Rajca
achristensen: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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