Category: Video
video/mp4
video/mp4 is the universally supported digital multimedia container format for H.264/AVC or H.265/HEVC video with AAC audio.
MIME / CONTENT-TYPE
video/mp4
ASSOCIATED EXTENSIONS
.mp4
PRIMARY CATEGORY
Video
HTTP Headers & Web Server Configurations
Standard HTTP Response Header
Content-Type: video/mp4Send this exact header in HTTP responses to instruct browsers how to decode and render the payload.
Node.js / Express / Web API
<video controls preload="metadata">
<source src="clip.mp4" type="video/mp4">
</video>NGINX Configuration (mime.types)
types {
video/mp4 mp4;
}Apache (.htaccess / httpd.conf)
AddType video/mp4 .mp4Security Advisory & Hardening
Servers must support HTTP Byte-Range requests (`Accept-Ranges: bytes`) to allow video seeking in HTML5 `<video>` players.
Frequently Asked Questions
video/mp4 Questions & Answers
Common questions regarding MIME types, Content-Type headers, and web server configurations.
The standard HTTP response header is: "Content-Type: video/mp4".