November 17, 2025
Making Transparent Video Work on Safari and iOS: What You Need to Know
A guide to handling transparent video overlays on Safari and iOS, including WebM limitations and best practices for reliable playback.
A guide to handling transparent video overlays on Safari and iOS, including WebM limitations and best practices for reliable playback.
November 17, 2025
Working with transparent video overlays on the web often leads to the WebM vs Safari dilemma. WebM files (VP8/VP9 with alpha) are a go-to for Chrome and Firefox—but on Safari and iOS, things get messy, especially when multiple are involved. After extensive testing and research, here’s an updated breakdown of the limitations, the crashes, and the recommended fixes.
Recent reports (including self-hosted projects and AR/VR frameworks) confirm reproducible browser crashes on iOS 17 and even iOS 18, triggered by pages using multiple WebM video elements—even in Safari and Chrome (WebKit on iOS). Screens go blank or tabs crash, especially in memory- or GPU-limited contexts. Rendering multiple WebM videos reliably triggers instability. A single WebM might glitch, but adding more can crash the tab.
.mp4 or .mov container, which is hardware-accelerated and supports true transparency since iOS 13/macOS Catalina.Use HEVC with alpha for Safari/iOS:
<video playsinline muted loop autoplay>
<source src="video-alpha.mp4" type='video/mp4; codecs="hvc1"'>
<source src="video-alpha.webm" type="video/webm">
</video>
You can encode HEVC alpha using Apple’s Compressor, ffmpeg with VideoToolbox, or tools like Rotato Converter.
Detect support to serve the right format:
if (video.canPlayType('video/mp4; codecs="hvc1"')) {
// serve HEVC with alpha
} else if (video.canPlayType('video/webm; codecs="vp9"')) {
// serve WebM with alpha
}
Test across multiple iOS versions—including iOS 17 & 18—to be sure of behavior in complex pages.
preload="none" and lazy loading for off‑screen videos.<video> fallbacks, feature detection, and real device testing for best results.Smart fallback strategies and performance-aware design can help you deliver rich visuals without sacrificing stability—even on Safari.

November 17, 2025
A guide to handling transparent video overlays on Safari and iOS, including WebM limitations and best practices for reliable playback.

November 16, 2025
Dive into the digital age of typography, exploring how technology transformed font design and usage in this final part of our three-part series.

November 15, 2025
Explore the evolution of typefaces from the printing revolution through the pre-digital era in this second part of our three-part series.