Autoplay experiment related to visibility should only apply to vidieo |
|||
Issue descriptionAudio usually has no frame as far as Blink is concerned unless the page asked for controls. If we request visibility for audio, we basically block autoplay.
,
Apr 29 2016
,
May 4 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/994e975fd12ed9dff7ac3c3bf4e5fd34060caf4c commit 994e975fd12ed9dff7ac3c3bf4e5fd34060caf4c Author: mlamouri <mlamouri@chromium.org> Date: Wed May 04 17:32:37 2016 Autoplay experiment: ignore viewport visibility requirements for audio. Audio elements usually have no frame. Checking for viewport visibility requirements would be fairly similar to simply not allowing autoplay or forcing websites to switch to default controls. BUG= 607918 R=liberato@chromium.org Review-Url: https://codereview.chromium.org/1931363002 Cr-Commit-Position: refs/heads/master@{#391552} [modify] https://crrev.com/994e975fd12ed9dff7ac3c3bf4e5fd34060caf4c/third_party/WebKit/LayoutTests/media/audio-autoplay-experiment-modes-expected.txt [modify] https://crrev.com/994e975fd12ed9dff7ac3c3bf4e5fd34060caf4c/third_party/WebKit/Source/core/html/AutoplayExperimentHelper.cpp [modify] https://crrev.com/994e975fd12ed9dff7ac3c3bf4e5fd34060caf4c/third_party/WebKit/Source/core/html/AutoplayExperimentTest.cpp
,
May 5 2016
|
|||
►
Sign in to add a comment |
|||
Comment 1 by mlamouri@chromium.org
, Apr 29 2016Cc: renganat...@chromium.org