Here’s your cheat sheet on video file formats:
Criteria | GIF | AVC MOV | WebM (VP9) | MP4 (HEVC) | Lottie JSON |
---|---|---|---|---|---|
Type | Raster | Raster (ProRes) | Video (VP9 codec) | Video (HEVC/H.265) | Vector animation (JSON) |
File size | ❌ High | ❌ Very High | ✅ Low | ✅ Low | ✅ Very Low |
Transparency | ⚠️ Binary only | ✅ Full alpha (8-bit) | ✅ Full alpha (8-bit) | ✅ Full alpha (8-bit) | ✅ Full (vector-based) |
Web compatibility | ✅ Good | ❌ Poor | ✅ Excellent | ✅ Excellent | ✅ Excellent |
Web Support | ✅ All browsers | ❌ Poor | ✅ Chrome, Firefox, Edge | ✅ Safari (macOS/iOS) | ✅ All modern browsers |
Editing Use | ❌ Not suitable | ✅ Yes | ❌ Not ideal | ❌ Not ideal | ❌ Not used in editors |
Best use case | Memes, avatars | Post-production, editing | Web videos, apps | Web videos, apps | UI animations, mobile apps |
If your animation requires transparency and will be embedded into a web page, your best option is to combine two formats for full browser coverage:
Together, these two formats ensure seamless playback and alpha channel support across all major platforms.
<video width="100%" height="100%" autoplay loop muted playsinline>
<source src="your-video.webm" type="video/webm">
<source src="your-video.mp4" type='video/mp4; codecs="hvc1"'>
</video>
⚠️ Note: Alpha transparency in HEVC is only supported on Safari and some hardware-accelerated systems.
For web use, WebM + HEVC MP4 is the most effective combination for delivering high-quality animations with transparency:
Stop subjecting your users to janky animations—pick the right format, and they might actually stick around long enough to see your call-to-action button.
About the author
Eugene Weiss, team lead of Animation at Icons8.
Monochromatic color = one hue, many values. Learn what it is, why it works, examples,…
A blunt look at why “three clicks” isn’t a usability law, what actually drives task…
Your cover may hook them, but the contents page keeps them. Learn how to design…
Because your feed shouldn't look like it was generated by the same three people. (more…)
From bold typography to organic abstracts, explore creative poster layouts with pro tips to adapt…
Everyone's out here saying "don't use Garamond" like it's 2015. Spoiler alert: it's not.
This website uses cookies.