Change description: Change preload behaviour of Chrome Android to allow metadata download on cellular networks and have more consistent behaviour in general. Changes to API surface: None. Change in behaviour. Links: https://html.spec.whatwg.org/multipage/embedded-content.html#attr-media-preload Support in other browsers: Internet Explorer: Y Firefox: Y Safari: Y Design doc: https://docs.google.com/document/d/1WFXwO_3ofI_8JOk_WN8NAjkmZ8wAArN5a_rNwbFw4dQ/edit#
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/ac3501ca20c96ad8bcde34bb044b36bc6ca6e685 commit ac3501ca20c96ad8bcde34bb044b36bc6ca6e685 Author: mlamouri <mlamouri@chromium.org> Date: Wed Nov 09 21:36:52 2016 Allow metadata preload on cellular connections and disallow autoplay muted for low end devices. This allows metadata preload on cellular connections unless some exceptions are met such as data saver is enabled or a low end device is being used. In addition, low end devices are not allowed to autoplay in order to avoid inconsistencies. Intent to Ship: https://groups.google.com/a/chromium.org/d/msg/blink-dev/_fxvn-ny2jA/KqlmhamVCAAJ BUG= 658313 Review-Url: https://codereview.chromium.org/2466273006 Cr-Commit-Position: refs/heads/master@{#431037} [add] https://crrev.com/ac3501ca20c96ad8bcde34bb044b36bc6ca6e685/third_party/WebKit/LayoutTests/media/autoplay-muted-conditions.html [add] https://crrev.com/ac3501ca20c96ad8bcde34bb044b36bc6ca6e685/third_party/WebKit/LayoutTests/media/preload-conditions.html [delete] https://crrev.com/19eb6f7cc2ca4b1064781d73f6f74a9d114a9468/third_party/WebKit/LayoutTests/media/video-dom-preload.html [delete] https://crrev.com/19eb6f7cc2ca4b1064781d73f6f74a9d114a9468/third_party/WebKit/LayoutTests/media/video-force-preload-none.html [delete] https://crrev.com/19eb6f7cc2ca4b1064781d73f6f74a9d114a9468/third_party/WebKit/LayoutTests/media/video-preload-cellular-test.js [delete] https://crrev.com/19eb6f7cc2ca4b1064781d73f6f74a9d114a9468/third_party/WebKit/LayoutTests/media/video-preload-datasaver.html [delete] https://crrev.com/19eb6f7cc2ca4b1064781d73f6f74a9d114a9468/third_party/WebKit/LayoutTests/media/video-preload-default-cellular.html [delete] https://crrev.com/19eb6f7cc2ca4b1064781d73f6f74a9d114a9468/third_party/WebKit/LayoutTests/media/video-preload-override-cellular.html [modify] https://crrev.com/ac3501ca20c96ad8bcde34bb044b36bc6ca6e685/third_party/WebKit/Source/core/frame/UseCounter.h [modify] https://crrev.com/ac3501ca20c96ad8bcde34bb044b36bc6ca6e685/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp [modify] https://crrev.com/ac3501ca20c96ad8bcde34bb044b36bc6ca6e685/tools/metrics/histograms/histograms.xml
Comment 1 by mdw@chromium.org
, Oct 24 2016