Bug 170744

Summary: Consider the current document when allowing autoplay quirks
Product: WebKit Reporter: Matt Rajca <mrajca>
Component: MediaAssignee: Matt Rajca <mrajca>
Status: RESOLVED FIXED    
Severity: Normal CC: eric.carlson
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Matt Rajca
Reported 2017-04-11 12:34:35 PDT
In addition to checking if the top-level document supports autoplay quirks, we should check if the current document supports quirks. This allows all embedded YouTube videos (which use iframes) to play correctly if the client allows autoplay quirks on youtube.com.
Attachments
Patch (1.72 KB, patch)
2017-04-11 12:37 PDT, Matt Rajca
no flags
Matt Rajca
Comment 1 2017-04-11 12:37:25 PDT
Eric Carlson
Comment 2 2017-04-11 13:14:44 PDT
Comment on attachment 306841 [details] Patch As discussed in person, this should have a test.
Matt Rajca
Comment 3 2017-04-11 13:38:15 PDT
(In reply to Eric Carlson from comment #2) > Comment on attachment 306841 [details] > Patch > > As discussed in person, this should have a test. I added an API test.
Matt Rajca
Comment 4 2017-04-11 13:40:36 PDT
Note You need to log in before you can comment on or make changes to this bug.