html5 mime issie in firefox

I’m using html5 video player with mp4 extention. It is showing in chrome but firefox is showing an error: " no video with supported format and mime type found "

What’s wrong with this as I thought the html5 video was supported by all browsers now?

According to W3schools, Firefox doesn’t support mp4, just WebM and Ogg.

Ah right so it’s a matter of including another link for webm or ogg.
Many thanks

Your server is not sending the correct mime type for the file.

It send Content-Type: text/plain

The HTML5 video may play in Safari, Chrome and IE 9 but not Firefox or IE 7-8. If you fix the MIME-type issue, it will play in Firefox.

If you’re using the Apache web server or some derivative of Apache, you can use an AddType directive in your site-wide httpd.conf or in an .htaccess file in the directory where you store your video files. (If you use some other web server, consult your server’s documentation on how to set the Content-Type HTTP header for specific file types.)