4 ms·
There’s a [dead] post here from a Chrome engineer that links to the relevant Chrome issue: https://bugs.chromium.org/p/chromium/issues/detail?id=1063649#c8 htt
by untog 6y ago
There’s a [dead] post here from a Chrome engineer that links to the relevant Chrome issue:
https://bugs.chromium.org/p/chromium/issues/detail?id=1063649#c8 https://bugs.chromium.org/p/chromium/issues/detail?id=106364...
> full autoplay blocking is counter productive as images and <canvas> can do "video" playback just fine. We had this issue on mobile and ended up enabling muted autoplay there to avoid that issues.We found many websites having 100MB gifs that could be one order of magnitude smaller when implemented as <video autoplay muted>.
The logic kind of makes sense. Autoplay videos already have to be muted so there’s no issue with sound. And if you disable video then idiot ad providers will resort to alternatives that chew up considerably more bandwidth and/or CPU.
I guess they need a setting to disable all canvas tags and GIFs and all autoplay videos.
- Gibbon1 6y agoDoesn't slack look at the size of a gif and skip playing it if it's bigger than 4mb or something? I'm reminded of Steve Jobs comment on 'toner heads' and why Xerox failed. Google is now run by MBA's and Ad people. So they will continue to do things like this.
- untog 6y agoIt does, but the Slack servers still need to download the image first to know it’s size. There’s no equivalent for a browser. You could rely on Content-Length headers but then ad servers are just going to stop sending them.
- rietta 6y agoThis is Google though. It would seem that they could update Googlebot to penalize bypassing behaviors, lowering SERPS for any property that did such shenanigans. Or giving users in Chrome a Report Button that then filtered into site rankings.
- marcinzm 6y agoYou can download the first frame and then only download 4mb of the rest. If that's not the whole thing then don't download the rest. Or download up to 4mb and if there's more then ignore it and just pull the first frame from the 4mb. Or if the content-length isn't set then assume it's over 4mb and only download the first frame. Granted there's extra complexity in parsing the first frame from a gif in real time.