Chromium Code Reviews
DescriptionDon't remove the gesture requirement in the autoplay experiment.
Instead of permanently unlocking the media element when the autoplay
experiment permits autoplay, leave the element locked and override
the gesture requirement for the particular play request.
This also turns off deferred playback due to mute changes. Instead,
checks for muted media are applied only when the playback is
attempted. Only visibility requirements are deferred.
BUG=608341
Committed: https://crrev.com/1301c3d6b3ea7b0ace8849580eaecd311c83b7bb
Cr-Commit-Position: refs/heads/master@{#394558}
Patch Set 1 #Patch Set 2 : rebased, fixed tests. #Patch Set 3 : fixed test expectations. #Patch Set 4 : comments. #
Total comments: 4
Patch Set 5 : removed out-of-date assert and comment. #Patch Set 6 : s/removeUserGestureRequirement/unlockUserGesture #
Total comments: 8
Patch Set 7 : cl feedback. #Patch Set 8 : fixed test expectations. #Messages
Total messages: 17 (6 generated)
|