Intent to Implement and Ship: Pause autoplaying muted video when invisible (Android)

77 बार देखा गया
नहीं पढ़े गए पहले मैसेज पर जाएं

Zhiqiang Zhang

नहीं पढ़ी गई,
9 फ़र॰ 2017, 9:49:17 am9/2/17
ईमेल पाने वाला blin...@chromium.org

Contact emails
zqz...@chromium.org, mlam...@chromium.org

Spec
A pull request to the HTML spec change is here:

https://github.com/whatwg/html/pull/2324


Summary
On Android, muted videos with autoplay attribute will start autoplay when they become visible. The change of behavior is to interrupt autoplay when they become invisible. This will only apply to videos with an autoplay attribute, which are started when visible.


Motivation

The motivation is to reduce the power usage. An extreme case is when a infinite scrolling page has a lot of muted videos with autoplay attribute. Before this change, we will continue decoding these videos even when they come off the viewport.


Interoperability and Compatibility risk
This only apply to videos that are declared as autoplay but not videos that start playing with play(). We are already delaying the playing until the video is visible. Finally, it has launched on Safari iOS.


Firefox: No public signals
Edge: No public signals
Safari: Shipped
Web developers: No signals (anecdotally, we were asked for this by a developer at BlinkOn)


Ongoing technical constraints

None


Will this feature be supported on all six Blink platforms (Windows, Mac, Linux,
Chrome OS, Android, and Android WebView)?

No. This feature is Android only (including WebView).

OWP launch tracking bug
https://crbug.com/690468


Link to entry on the Chrome Platform Status
https://www.chromestatus.com/features/5651339115757568


Requesting approval to ship?

Yes


--
Zhiqiang Zhang

Philip Jägenstedt

नहीं पढ़ी गई,
9 फ़र॰ 2017, 1:49:38 pm9/2/17
ईमेल पाने वाला Zhiqiang Zhang, blin...@chromium.org
LGTM1

The HTML PR is now merged, with the interesting bits appearing here:

I have filed https://github.com/w3c/web-platform-tests/issues/4772 to track the unfortunate fact that there's no way to test autoplay in web-platform-tests currently, and I filed bugs on some browsers:

Chris Harrelson

नहीं पढ़ी गई,
9 फ़र॰ 2017, 2:52:15 pm9/2/17
ईमेल पाने वाला Philip Jägenstedt, Zhiqiang Zhang, blin...@chromium.org
LGTM2

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.

barbie...@gmail.com

नहीं पढ़ी गई,
9 फ़र॰ 2017, 6:14:05 pm9/2/17
ईमेल पाने वाला blink-dev

Jochen Eisinger

नहीं पढ़ी गई,
13 फ़र॰ 2017, 3:17:36 am13/2/17
ईमेल पाने वाला Chris Harrelson, Philip Jägenstedt, Zhiqiang Zhang, blin...@chromium.org
lgtm3

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
सभी को जवाब दें
ईमेल भेजने वाले को जवाब दें
आगे भेजें
0 नया मैसेज