Autoplay: enable user gesture when autoplay experiment is enabled |
|||
Issue descriptionwhen the autoplay experiment is enabled, the media element should require a user gesture. otherwise, there's not much for the experiment to do. on android, this was automatic. on desktop, it isn't.
,
Apr 26 2016
,
May 3 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/9e93489f36f1d34cb0eb0ae828e78d9a84ae8b95 commit 9e93489f36f1d34cb0eb0ae828e78d9a84ae8b95 Author: liberato <liberato@chromium.org> Date: Tue May 03 19:00:27 2016 Enable user gesture requirement for autoplay experiment. For android, the autoplay experiment operated independently of the user gesture requirement for media elements. To deploy the experiment on desktop, the experiment has to enable the user gesture requirement, else there won't be much for it to do. BUG= 599679 Review-Url: https://codereview.chromium.org/1850903002 Cr-Commit-Position: refs/heads/master@{#391318} [modify] https://crrev.com/9e93489f36f1d34cb0eb0ae828e78d9a84ae8b95/content/browser/renderer_host/render_view_host_impl.cc [modify] https://crrev.com/9e93489f36f1d34cb0eb0ae828e78d9a84ae8b95/content/public/common/web_preferences.h [modify] https://crrev.com/9e93489f36f1d34cb0eb0ae828e78d9a84ae8b95/content/renderer/render_view_impl.cc [modify] https://crrev.com/9e93489f36f1d34cb0eb0ae828e78d9a84ae8b95/third_party/WebKit/Source/core/html/AutoplayExperimentHelper.cpp [modify] https://crrev.com/9e93489f36f1d34cb0eb0ae828e78d9a84ae8b95/third_party/WebKit/Source/core/html/AutoplayExperimentHelper.h [modify] https://crrev.com/9e93489f36f1d34cb0eb0ae828e78d9a84ae8b95/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
,
May 3 2016
,
May 6 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/31b3f92d54c7322b46d6ef656422e96ec0c0d37c commit 31b3f92d54c7322b46d6ef656422e96ec0c0d37c Author: liberato <liberato@chromium.org> Date: Fri May 06 15:29:53 2016 Add WebPreferences::autoplay_experiment_mode to IPC. Copy WebPreferences::autoplay_experiment_mode over IPC on all platforms, not just android. BUG= 599679 Review-Url: https://codereview.chromium.org/1950063002 Cr-Commit-Position: refs/heads/master@{#392061} [modify] https://crrev.com/31b3f92d54c7322b46d6ef656422e96ec0c0d37c/content/public/common/common_param_traits_macros.h |
|||
►
Sign in to add a comment |
|||
Comment 1 by liber...@chromium.org
, Apr 26 2016