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.
Small design touches that create loyal users and word-of-mouth marketing—secrets that will make people love…
How Distinctive Games used AI generated faces to nail character design for Rugby Nations without…
From insurance chaos to client nightmares—the freelance design world hits different when you're flying solo.…
Discover the science behind visual weight and optical balance that design tools can’t do—and why…
AI image generators exploded. Turns out, most people don’t just want to see themselves with…
Tech giants fail at basic icon design, using confusing symbols with zero context, making users…
This website uses cookies.