video/webmvideo/webm is the media type for video in the open WebM container led by Google, commonly wrapping VP8/VP9/AV1 video and Vorbis/Opus audio. Royalty-free and web-friendly, it is widely used for autoplay background videos and short clips.
WebM is the Matroska (MKV) container refined for the web, carrying efficient open codecs like VP9 and AV1 that are often smaller than H.264 MP4 at equal quality. However, support is limited on older Safari and some devices, so using it alone is risky. The standard practice is to list both WebM and MP4 `<source>` elements inside `<video>` and let the browser choose a playable one.
Like other web video, seeking and partial playback need `Accept-Ranges: bytes` and `Range` (206) support. Replacing heavy animated GIFs with autoplay, muted, looping WebM/MP4 — cutting file size to a fraction — is a hallmark optimization here.
e.g. Content-Type: video/webm