2 ms·
It's worth considering using an mp4 (with video tag) for this use case. You get the same effect, but it's much more battery efficient.
by nicoburns 8y ago
It's worth considering using an mp4 (with video tag) for this use case. You get the same effect, but it's much more battery efficient.
- CM30 8y agoNot sure if I'm a bit behind the times with this one, but I remember that iOS Safari had issues playing inline videos and you'd need to use JavaScript + Canvas to get it working well there (compared to desktop browsers where a simple video tag doesn't go full screen). So depending on your intended browser support, a GIF may sometimes work better.