This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

No Video (mimetype error) but audio

  • 1 baphendule
  • 2 zinale nkinga
  • 19 views
  • Igcine ukuphendulwa ngu cor-el

more options

I'm trying to post a video. I have it as an mp4, ogv, webm, and flv. And I have the following tags in my page

    <video src="MYVIDEO.mp4" width="683" height="480" controls="controls" autoplay="autoplay">
    <video src="MYVIDEO.ogv" width="683" height="480" controls="controls" autoplay="autoplay">
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="683" height="480" 
     . . . A WHOLE BUNCH OF FLASH CRUD.

When I have the videos in this order, Firefox (18.0.2, Mac) will display the following message:

   Video format or MIME type is not supported

but it will play the audio.

If I reverse the two video tags Firefox, will play fine. But, then Safari shows no video (but, plays sound). Since I want the mp4 as the primary, what could be causing Firefox NOT to skip the first (mp4) video tag and move on to the ogg one?

I'm confident my MIME types are correct. This is my .htaccess file:

AddType text/xml .xml
AddType video/mp4 .mp4 .m4v
AddType video/mpeg .mpeg .mpg
AddType video/quicktime .mov
AddType video/ogg .ogv
AddType video/webm .webm
AddType audio/mp4 .m4a .m4b .m4r
AddType audio/mpeg .mp3
AddType audio/playlist .m3u
AddType audio/x-scpls .pls
AddType audio/ogg .ogg
AddType audio/wav .wav

Thanks!!

I'm trying to post a video. I have it as an mp4, ogv, webm, and flv. And I have the following tags in my page <pre><nowiki> <video src="MYVIDEO.mp4" width="683" height="480" controls="controls" autoplay="autoplay"> <video src="MYVIDEO.ogv" width="683" height="480" controls="controls" autoplay="autoplay"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="683" height="480" </nowiki></pre> . . . A WHOLE BUNCH OF FLASH CRUD. When I have the videos in this order, Firefox (18.0.2, Mac) will display the following message: Video format or MIME type is not supported but it will play the audio. If I reverse the two video tags Firefox, will play fine. But, then Safari shows no video (but, plays sound). Since I want the mp4 as the primary, what could be causing Firefox NOT to skip the first (mp4) video tag and move on to the ogg one? I'm confident my MIME types are correct. This is my .htaccess file: <pre><nowiki>AddType text/xml .xml AddType video/mp4 .mp4 .m4v AddType video/mpeg .mpeg .mpg AddType video/quicktime .mov AddType video/ogg .ogv AddType video/webm .webm AddType audio/mp4 .m4a .m4b .m4r AddType audio/mpeg .mp3 AddType audio/playlist .m3u AddType audio/x-scpls .pls AddType audio/ogg .ogg AddType audio/wav .wav</nowiki></pre> Thanks!!

Okulungisiwe ngu cor-el

All Replies (1)

more options

You can place the two files in one video tag and use the source tag to specify the various formats.

If it is encoded as WebM, why don't you give it a .webm file extension or specify the type as video/ogg if you use an ogg container?

Also make sure that the ogv video is encoded with a supported codec, try to open the file directly in a tab to see if that works.

<video width="683" height="480" controls autoplay >
 <source src="MYVIDEO.mp4" type="video/mp4" >
 <source src="MYVIDEO.webm" type="video/webm" >
 <source src="MYVIDEO.ogv" type="video/ogg" >
</video>