Bug 167010

Summary: Defer use of autoplay heuristics to clients
Product: WebKit Reporter: Matt Rajca <mrajca>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, sam
Priority: P2    
Version: WebKit Nightly Build   
Hardware: All   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Matt Rajca
Reported 2017-01-13 10:21:49 PST
Switch the autoplay policy tristate to an on/off option since clients should run any heuristics and simply send their final decision to WebKit.
Attachments
Patch (8.85 KB, patch)
2017-01-13 10:30 PST, Matt Rajca
no flags
Matt Rajca
Comment 1 2017-01-13 10:30:29 PST
Sam Weinig
Comment 2 2017-01-13 10:33:36 PST
Comment on attachment 298769 [details] Patch API test?
Matt Rajca
Comment 3 2017-01-13 10:43:50 PST
(In reply to comment #2) > Comment on attachment 298769 [details] > Patch > > API test? This isn't wired up yet so it'd be hard to test, seeing how the other API tests work. I'll add tests once these flags actually affect media element (coming soon).
Alex Christensen
Comment 4 2017-01-13 10:53:19 PST
Comment on attachment 298769 [details] Patch Yep, this simplifies SPI that doesn't do anything yet. r=me
Sam Weinig
Comment 5 2017-01-13 10:55:00 PST
Please don't add stub API in the future.
WebKit Commit Bot
Comment 6 2017-01-13 11:17:40 PST
Comment on attachment 298769 [details] Patch Clearing flags on attachment: 298769 Committed r210737: <http://trac.webkit.org/changeset/210737>
WebKit Commit Bot
Comment 7 2017-01-13 11:17:45 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.