Use data saver information to decide whether to preload |
||
Issue descriptionWith WMPI, we make a decision based on the cellular connection type which is hand wavy at best. If we use the data saver information set by the embedder, the decision can be smarter and match other behaviours. In addition, autoplay decisions are made depending on this. Furthermore, we should fix the fact that we are actually loading files that are marked as 'autoplay' :)
,
Jun 22 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/8f23c95e8717937364735d634323c6cf9d707a7f commit 8f23c95e8717937364735d634323c6cf9d707a7f Author: mlamouri <mlamouri@chromium.org> Date: Wed Jun 22 15:12:38 2016 Use data saver information to decide whether to preload. This is done in addition of the connection type checking. We would like to only use the data saver information going forward. It's also fixing a bug where a <video autoplay> would always preload. BUG= 620755 Review-Url: https://codereview.chromium.org/2071793003 Cr-Commit-Position: refs/heads/master@{#401281} [add] https://crrev.com/8f23c95e8717937364735d634323c6cf9d707a7f/third_party/WebKit/LayoutTests/media/video-preload-datasaver.html [modify] https://crrev.com/8f23c95e8717937364735d634323c6cf9d707a7f/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
,
Jun 22 2016
|
||
►
Sign in to add a comment |
||
Comment 1 by mlamouri@chromium.org
, Jun 22 2016