autoplay: add play-if-muted-and-not-same-origin |
|||||
Issue descriptionupdate 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.
,
Apr 25 2016
,
Apr 26 2016
,
Apr 29 2016
this now includes pausing playback if it is unmuted without a user gesture.
,
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
,
May 19 2016
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by mlamouri@chromium.org
, Apr 25 2016Cc: renganat...@chromium.org mlamouri@chromium.org
Labels: M-52