4 ms·
Psst, the thing that drains your battery on news sites are the ads, which Google is 100% responsible for by encouraging an ecosystem of third party JS.
by earthboundkid 6y ago
Psst, the thing that drains your battery on news sites are the ads, which Google is 100% responsible for by encouraging an ecosystem of third party JS.
- hu3 6y agoNot just the ads but also autoplay videos, 2mb of javascript and the ocasional fancy background fullHD video. Amp gets ride of those.
- Lammy 6y agohttps://amp.dev/documentation/components/amp-video/?format=websites https://amp.dev/documentation/components/amp-video/?format=w... https://github.com/ampproject/amphtml/blob/master/spec/amp-video-interface.md#autoplay https://github.com/ampproject/amphtml/blob/master/spec/amp-v...
- hu3 6y agoA great advantage of having standards like Amp is that we can then control and limit how things behave. See criterias for autoplay video on Amp: - the video is automatically muted before autoplay starts - when the video is scrolled out of view, the video is paused - when the video is scrolled into view, the video resumes playback - when the user taps the video, the video is unmuted - if the user has interacted with the video (e.g., mutes/unmutes, pauses/resumes, etc.), and the video is scrolled in or out of view, the state of the video remains as how the user left it. For example, if the user pauses the video, then scrolls the video out of view and returns to the video, the video is still paused. Source: https://github.com/ampproject/amphtml/blob/master/spec/amp-video-interface.md#autoplay https://github.com/ampproject/amphtml/blob/master/spec/amp-v...
- Lammy 6y agoNone of these features should need Google's proprietary platform. See, for example, Mozilla's `media.autoplay.enabled` or `media.block-play-until-visible`
- earthboundkid 6y agoIf these things are good ideas, why not just shut down DFP and just serve up static media creatives on existing sites?