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

Issue 599695 link

Starred by 2 users

Issue metadata

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

Blocking:
issue 487345



Sign in to add a comment

autoplay: add play-if-muted-and-not-same-origin

Project Member Reported by liber...@chromium.org, Mar 31 2016

Issue description

update autoplay experiment to be able to autoplay muted videos if not same origin, and any videos if same origin.  right now, it's one or the other.

this includes making "-ifmuted" check for "if no audio track".  right now, it checks only the muted attr.

probably just modify -ifsameorigin to include the "if muted" check if it fails the origin check.

this does not include deciding what to do when autoplay muted state changes.
 
Blocking: 487345
Cc: renganat...@chromium.org mlamouri@chromium.org
Labels: M-52
Labels: OS-All
Labels: Proj-Autoplay
Status: Started (was: Assigned)
this now includes pausing playback if it is unmuted without a user gesture.
Project Member

Comment 5 by bugdroid1@chromium.org, May 18 2016

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

commit 6607760a92452e4a9ae0e54620839b5f98b44c20
Author: liberato <liberato@chromium.org>
Date: Wed May 18 23:56:51 2016

Allow muted third-party autoplay with -ormuted experiment option.

If -ifsameorigin is enabled, allow -ormuted to allow muted
cross-orign playback.

If the media is later unmuted during autoplay, then playback will
pause if no user gesture is available.

BUG= 599695 

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

[modify] https://crrev.com/6607760a92452e4a9ae0e54620839b5f98b44c20/third_party/WebKit/Source/core/html/AutoplayExperimentHelper.cpp
[modify] https://crrev.com/6607760a92452e4a9ae0e54620839b5f98b44c20/third_party/WebKit/Source/core/html/AutoplayExperimentHelper.h
[modify] https://crrev.com/6607760a92452e4a9ae0e54620839b5f98b44c20/third_party/WebKit/Source/core/html/AutoplayExperimentTest.cpp
[modify] https://crrev.com/6607760a92452e4a9ae0e54620839b5f98b44c20/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp

Status: Fixed (was: Started)

Sign in to add a comment