Problems with html5 video in a meteor app on apache2/passenger

Html5 video (mp4 & ogg) is not recognized from my meteor app on apache2 / phusion-passenger.

Apache mime types are definitely correct configured,
passenger mime types for mp4 and ogg are added in /usr/share/passenger/mimetypes:

video/mp4   mp4; video/ogg   ogg ogv;

I always get the following message in firebug:

HTTP "Content-Type" of "text/html" is not supported. Load of media resource   myvideo.mp4 failed.
HTTP "Content-Type" of "text/html" is not supported. Load of media resource   myvideo.ogg failed.

How can I fix this? Could it be a meteor problem ?

How are you serving up the video - using the HTML5 <video> tag? Can you share some of your code showing this?

i found the answer and it’s a little bit strange…
in this case (meteor/apache/passenger) the mimetype of a video is needed to be in uppercase.

<video ...>
    <source src="/video/myvideo.MP4" type="video/mp4">
    <source src="/video/myvideo.OGG" type="video/ogg">
</video>

myvideo.MP4 and not myvideo.mp4.