Ky sajt do të funksionojë me kufizime, teksa bëjmë mirëmbajtjen e tij për të përmirësuar punën tuaj. Nëse një artikull nuk e zgjidh problemin tuaj dhe dëshironi të bëni një pyetje, kemi bashkësinë tonë të asistencës, e gatshme për t’ju ndihmuar, te @FirefoxSupport në Twitter dhe/r/firefox në Reddit.

Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Mësoni Më Tepër

No Video (mimetype error) but audio

  • 1 përgjigje
  • 2 e kanë hasur këtë problem
  • 19 parje
  • Përgjigjja më e re nga 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!!

Ndryshuar nga cor-el

Krejt Përgjigjet (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>