4 ms·
I work with GIFs sometimes still on production sites. I know Webm and other formats might be heavily recommended, but there are a ton of issues currently in th
by naet 4y ago
I work with GIFs sometimes still on production sites.
I know Webm and other formats might be heavily recommended, but there are a ton of issues currently in the browser ecosystem with videos and autoplay rules (looking at iOS specifically as a major problem causer here...). Those issues can make webm/etc more trouble than they are worth unless you're operating at a really large scale, or you're willing to lose your animations for a decent percentage of users.
- robertoandred 4y agoThere's no autoplay issues on iOS, just make sure it's muted. It's the same rules as on Android.
- naet 4y agoIf an ios device is in low power mode it won't autoplay a muted video but it will display a gif.
- chrismorgan 4y agoThat videos might not autoplay is a feature. That I can’t stop GIFs from autoplaying without disabling playing at all is a bug. (One that I don’t expect to ever be fixed, or even widely acknowledged as a bug, but a bug nonetheless.)
- nine_k 4y agoWhile I agree with you, the problem here as a lack of consistency between browsers, which leads to using the least common denominator from 1990s. Ideally all browsers should have uniform means to control animated graphics (allow or not autoplay, stop all or stop a particular one, etc), and a uniform way to show the intent (autoplay or not, play on hover, etc).