News for hackers. Stuff that matters.
Re:The past, present and future of image formats by gardaani on Thursday August 19, 2021 @06:48AM (#28232308)
Safari already accepts MP4 in an <img> tag and it is autoplayed, muted and looped [1]. Sadly, Chrome doesn't want to implement it [2].

[1] https://developer.apple.com/documentation/webkit/delivering_...

[2] https://bugs.chromium.org/p/chromium/issues/detail?id=791658...

Re:The past, present and future of image formats by acdha on Thursday August 19, 2021 @08:27AM (#28232927)
This is a great example for the “Chrome is the new IE” debate: that’s a feature which would immediately make the web better but they held back support for a standard, hardware-accelerated format trying to force mainstream adoption of their own format which had limited tool support and never performed enough better than JPEG/PNG to be worth the trouble for most sites.
Re:The past, present and future of image formats by pwdisswordfish8 on Thursday August 19, 2021 @09:56AM (#28233862)
s/better/worse/
Re:The past, present and future of image formats by acdha on Thursday August 19, 2021 @11:16AM (#28234927)
You think it's good that people keep using gigantic GIF files rather than smaller videos? There's no technical reason to prefer the GIF format — it burns data transfer, requires more CPU, and has terrible quality.
Re:The past, present and future of image formats by pwdisswordfish8 on Wednesday August 25, 2021 @10:45AM (#28302317)
I prefer <img> elements never to animate at all, regardless of format. Animations should use <video>.