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

Issue 617595 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Jun 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug

Blocked on:
issue 617592



Sign in to add a comment

Allow muted videos to play without a gesture when "enable-autoplay-muted-video" flag is present

Project Member Reported by mlamouri@chromium.org, Jun 6 2016

Issue description

In order to keep bugs simpler and for better tracking, let's keep this bug for autoplay itself, and another bug will be for pausing when unmuting. Also, no need to worry about visibility here.
 
Labels: -Pri-3 Proj-Autoplay M-53 OS-Android Pri-1
The idea here is to graduate from the AutoplayExperiment to HTMLMediaElement.
Status: Started (was: Assigned)
Project Member

Comment 4 by bugdroid1@chromium.org, Jun 9 2016

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

commit b28c363973c83300ef6c99c5433f1053fef4b2a7
Author: avayvod <avayvod@chromium.org>
Date: Thu Jun 09 11:19:06 2016

[Android] Added a runtime flag to enable autoplay of muted videos.

Allows autoplay of media if muted. Doesn't pause on unmute w/o user gesture yet.

BUG= 617592 , 617595 
TEST=avayvod.github.io/autoplay-test.html

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

[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/chrome/app/generated_resources.grd
[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/chrome/browser/about_flags.cc
[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/content/browser/renderer_host/render_view_host_impl.cc
[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/content/public/common/common_param_traits_macros.h
[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/content/public/common/content_switches.cc
[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/content/public/common/content_switches.h
[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/content/public/common/web_preferences.cc
[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/content/public/common/web_preferences.h
[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/content/renderer/render_view_impl.cc
[add] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/third_party/WebKit/LayoutTests/media/autoplay-muted.html
[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in
[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/third_party/WebKit/public/web/WebRuntimeFeatures.h
[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/tools/metrics/histograms/histograms.xml

Status: Fixed (was: Started)
Summary: Allow muted videos to play without a gesture when "enable-autoplay-muted-video" flag is present (was: Allow muted videos to play without a gesture when "video-as-images" is enabled)
Project Member

Comment 6 by bugdroid1@chromium.org, Jun 15 2016

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

commit b28c363973c83300ef6c99c5433f1053fef4b2a7
Author: avayvod <avayvod@chromium.org>
Date: Thu Jun 09 11:19:06 2016

[Android] Added a runtime flag to enable autoplay of muted videos.

Allows autoplay of media if muted. Doesn't pause on unmute w/o user gesture yet.

BUG= 617592 , 617595 
TEST=avayvod.github.io/autoplay-test.html

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

[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/chrome/app/generated_resources.grd
[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/chrome/browser/about_flags.cc
[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/content/browser/renderer_host/render_view_host_impl.cc
[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/content/public/common/common_param_traits_macros.h
[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/content/public/common/content_switches.cc
[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/content/public/common/content_switches.h
[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/content/public/common/web_preferences.cc
[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/content/public/common/web_preferences.h
[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/content/renderer/render_view_impl.cc
[add] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/third_party/WebKit/LayoutTests/media/autoplay-muted.html
[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in
[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/third_party/WebKit/public/web/WebRuntimeFeatures.h
[modify] https://crrev.com/b28c363973c83300ef6c99c5433f1053fef4b2a7/tools/metrics/histograms/histograms.xml

Sign in to add a comment