New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 606802 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: May 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 1
Type: Bug

Blocking:
issue 487345



Sign in to add a comment

Disable autoplay experiments if autoplay is blocked from content settings

Project Member Reported by mlamouri@chromium.org, Apr 26 2016

Issue description

I believe the title says it all :)
 
Labels: Proj-Autoplay
Blocking: 487345
Project Member

Comment 3 by bugdroid1@chromium.org, May 3 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/84dabd17f567606c4ed3cf5269fc56e6c01a2f82

commit 84dabd17f567606c4ed3cf5269fc56e6c01a2f82
Author: mlamouri <mlamouri@chromium.org>
Date: Tue May 03 16:14:44 2016

Disable autoplay experiments if the autoplay content settings is set to block.

This is simply marking the HTMLMediaElement as non-eligible if the frame's
origin was blocked from autoplaying. The CL is trivial.

BUG= 606802 

Review-Url: https://codereview.chromium.org/1920863005
Cr-Commit-Position: refs/heads/master@{#391246}

[add] https://crrev.com/84dabd17f567606c4ed3cf5269fc56e6c01a2f82/third_party/WebKit/LayoutTests/media/audio-autoplay-experiment-modes-expected.txt
[add] https://crrev.com/84dabd17f567606c4ed3cf5269fc56e6c01a2f82/third_party/WebKit/LayoutTests/media/audio-autoplay-experiment-modes.html
[add] https://crrev.com/84dabd17f567606c4ed3cf5269fc56e6c01a2f82/third_party/WebKit/LayoutTests/media/autoplay-experiment-helper.js
[modify] https://crrev.com/84dabd17f567606c4ed3cf5269fc56e6c01a2f82/third_party/WebKit/LayoutTests/media/video-autoplay-experiment-modes-expected.txt
[modify] https://crrev.com/84dabd17f567606c4ed3cf5269fc56e6c01a2f82/third_party/WebKit/LayoutTests/media/video-autoplay-experiment-modes.html
[modify] https://crrev.com/84dabd17f567606c4ed3cf5269fc56e6c01a2f82/third_party/WebKit/Source/core/html/AutoplayExperimentHelper.cpp
[modify] https://crrev.com/84dabd17f567606c4ed3cf5269fc56e6c01a2f82/third_party/WebKit/Source/core/html/AutoplayExperimentHelper.h
[modify] https://crrev.com/84dabd17f567606c4ed3cf5269fc56e6c01a2f82/third_party/WebKit/Source/core/html/AutoplayExperimentTest.cpp
[modify] https://crrev.com/84dabd17f567606c4ed3cf5269fc56e6c01a2f82/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp

Status: Fixed (was: Started)

Sign in to add a comment