Fix a wrong video MIME type
Updated: November 22, 2026
Check the actual media response in the browser’s Network panel. A URL ending in .mp4 can still return HTML from a login page or an error handler.
Check status and type
On your own server, request the video from the page where it fails. Inspect the final status and Content-Type. For a valid MP4 expect video/mp4; for WebM expect video/webm. If the response is HTML, check the URL and access settings first.
Retest the real asset
Correct the metadata or server header for the file you control. Reload without a stale cache and verify the response and playback. A correct header does not make an unsupported codec playable.
Frequently asked questions
Check the container and response first. A rename does not change the file format.