Configuring MIME types


#1

Hey, I’m trying to host a video on my site, but I can’t seem to properly configure the MIME type.
My .htaccess doc looks like this:

AddType video/mp4
AddType video/quicktime
AddType video/webm

On the page where I want to load the video, I have this:

           <video controls 
	poster="cards-player-samples-master/player/shot1bg.png"
		<source
			src="images/alethiaopening.mp4"
			type="video/mp4">
		<source
			src="images/alethiaopening.mov"
			type="video/quicktime">
		<source
			src="images/alethiaopening.webm"
			type="video/webm">
	Video requires an HTML5-compatible browser like Firefox or Chrome.
	</video>

But still my page is returning a “Video format or MIME type not supported.” What do I need to fix?
Thank you.


#2

Which page? if we can see it maybe we can sort things out quicker. Anyway, have a look at Apache documentation and examples as your htaccess could be wrong (or incomplete): http://httpd.apache.org/docs/2.2/mod/mod_mime.html#addtype