X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

Having trouble getting an .ogg video file to play in firefox. No video with supported format and MIME type found?

Posted

Hello, I'm trying to get a video to play in firefox. I've tested it in all other browsers and on iPad and mobile and have had no issues with getting it to play, except in firefox. I get this error: No video with supported format and MIME type found? I'm a front end guy and I'm not sure what to do here. Here is the site: www.manhattanphysicalmedicine.com.

I've contacted the host (GoDaddy) and they said to include a web.config file that re directs the browser to pull up the .ogg file. They are hosting on a windows server so i was told that an .htaccess file would not work. Here is the code in the web.config file:

<configuration>
  <system.webServer>
    <staticContent>
      <remove fileExtension=".mp4" />
      <mimeMap fileExtension=".mp4" mimeType="video/mp4" />
      <mimeMap fileExtension=".ogg"  mimeType="video/ogg" />
    </staticContent>
  </system.webServer>
</configuration>

Here is the HTML:

 <video width="560" height="300" controls autoplay>
 <source src="images/flashintro.mp4" type="video/mp4"/>
 <source src="images/flashintro.ogg" type="video/ogg"/>
 <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="560" height="300">
 <param name="movie" value="images/flashintro.swf">

Don't know why the code above is not showing?

I placed the web.config file on the root folder with no success. This seems harder than it should be. Maybe I'm missing something obvious? Is it worth bothering with .ogg files? Is there another option?

Any help would be MUCH appreciated!

Thanks,

Gerry

Modified by cor-el

Additional System Details

This happened

Every time Firefox opened

Installed Plug-ins

  • Shockwave Flash 11.4 r402
  • Version 3.9.1.9832
  • Google Talk Plugin Video Accelerator version:0.1.44.23
  • Displays Java applet content, or a placeholder if Java is not installed.
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in web pages. For more information, visit the QuickTime Web site.
  • Microsoft Office for Mac SharePoint Browser Plug-in
  • WebEx64 General Plugin Container Version 202
  • 5.1.10411.0
  • AmazonMP3DownloaderPlugin 1.0.16

Application

  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:15.0) Gecko/20100101 Firefox/15.0.1

More Information

Question owner

Sorry for the code formatting above. How do I post code? Thanks

Question owner

anyone out there?

ideato
  • Top 25 Contributor
616 solutions 4260 answers

Hi GerTonti,

i'm not familiar with this issue, so probably another contributor help you more efficient,.....searching found :

https://developer.mozilla.org/en-US/docs/Media_formats_supported_by_the_audio_and_video_elements

https://developer.mozilla.org/en-US/docs/Properly_Configuring_Server_MIME_Types

see also, if helps, an old and closed thread :

https://support.mozilla.org/en-US/questions/765669?page=1


thank you

cor-el
  • Top 10 Contributor
  • Moderator
10739 solutions 96656 answers

The .ogg file is missing on the server in the link that you use: 404 (Page Not Found) Error

The .mp4 file is there and works.

Question owner

Strange. That is the correct path to the ogg file. It's on the server. Is there another HTML5 video option for firefox? I'm not understanding MIME types. Someone said something about webm? Why doesn't firefox play mp4?

Question owner

Thanks, I've looked at those links. There seems to be a solution if you are on a linux server but they are on windows. Not sure what to do here. Maybe just use a flash file?

cor-el
  • Top 10 Contributor
  • Moderator
10739 solutions 96656 answers

If the server return a 404 error for that link then the file is likely not on that location.
You can try to remove the file from the server and upload a new copy of that file after you have confirmed that the file works with Firefox if you open it locally via File > Open File

Question owner

This is very strange. I saved two versions locally and tested them in firefox. One is a .ogg and the other a .ogv. They both play locally in firefox. They don't play when called from the server. I think it is something with the server accessing the .ogg file. I called godaddy and they said they support .ogg. Is there another file to use? I've tried deleting the .ogg and just keeping the .mp4 but I still get the same error.

Modified by GerTonti

cor-el
  • Top 10 Contributor
  • Moderator
10739 solutions 96656 answers

Helpful Reply

This is not a matter of server configuration (content type), but the file still isn't on the server and the link still gives a 404 error.

You will have to make sure that the flashintro.ogg file is on the server in the specified location.

Question owner

I checked. Files are where they should be. Not sure what the issue is. Maybe it's the way the .ogg is encoded. For now though I think I'm just going to make an animated gif. Thanks for looking though.

cor-el
  • Top 10 Contributor
  • Moderator
10739 solutions 96656 answers

Why would the server send a 404 error page if the file is there?

Did you try to contact Go Daddy and ask them to check that file link to see if they can figure out what goes wrong?

Question owner

I will do this. Thanks

milad200 0 solutions 3 answers

hi Why do not you support the new version of the audio /ogg format?

cor-el
  • Top 10 Contributor
  • Moderator
10739 solutions 96656 answers

The audio/ogg format should work in Firefox if that file is correctly encoded.

Can you post a link if it isn't working for you?

cor-el
  • Top 10 Contributor
  • Moderator
10739 solutions 96656 answers

Helpful Reply

Hi milad200

That audio file doesn't seem to work in Firefox 17 although is does work in the Aurora and Nightly builds.

That media file is send as Content-Type: application/octet-stream.

From https://developer.mozilla.org/en-US/docs/HTML/Element/audio

Note: For Gecko to play audio, the server must serve the file using the correct MIME type.

I see this error in the Web Console (Web Developer > Web Console;Ctrl+Shift+K):

Warning: HTTP "Content-Type" of "application/octet-stream" is not supported. Load of media resource http://etehademeli.ir/dr/ava/will%20durant/j1/fasleh%206.ogg failed.
Source File: http://ava.etehademeli.ir/%D8%AA%D8%A7%D8%B1%DB%8C%D8%AE-%D9%88%DB%8C%D9%84-%D8%AF%D9%88%D8%B1%D8%A7%D9%86%D8%AA-%D8%AC%D9%84%D8%AF-%D8%A7%D9%88%D9%84-%D9%81%D8%B5%D9%84-%D8%B4%D8%B4%D9%85.html
Line: 0

data:text/html;charset=utf-8,<audio controls="controls" height="32" width="300" tabindex="0"><source type="audio/ogg" src="http://etehademeli.ir/dr/ava/will%20durant/j1/fasleh%206.ogg" />
</audio>

Modified by cor-el

milad200 0 solutions 3 answers

from 15.1 to 17 Version of file ogg is not support. but in 15 to 14 Version with this code vocal file is show.

and now in the Google Chrome is support too please, watch this address in Google Chrome: http://ava.etehademeli.ir/%D8%AA%D8%A7%D8%B1%DB%8C%D8%AE-%D9%88%DB%8C%D9%84-%D8%AF%D9%88%D8%B1%D8%A7%D9%86%D8%AA-%D8%AC%D9%84%D8%AF-%D8%A7%D9%88%D9%84-%D9%81%D8%B5%D9%84-%D8%B4%D8%B4%D9%85.html

if firefox is not support this file ogg, which vocal file html5 is support?

Thanks

Modified by milad200

cor-el
  • Top 10 Contributor
  • Moderator
10739 solutions 96656 answers

You will have to configure the server to send the .ogg file with a by Firefox supported MIME type to make it work in Firefox 17.

You may need to contact the company that host the website to find how to accomplish this if creating a .htaccess file in the root location doesn't work (the LiteSpeed server seems to be Apache compatible).

Question owner

Hi,

I have tried making a web.config file because my client hosts on a windows server. I placed the file in the root folder and was told that this would work. I'm still not getting it to work in firefox. Here is the code in the config file:

<configuration>
 <system.webServer>
   <staticContent>
   <remove fileExtension=".mp4" />
     <mimeMap fileExtension=".mp4" mimeType="video/mp4" /><mimeMap fileExtension=".ogg" mimeType="video/ogg" />
   </staticContent>
 </system.webServer>
</configuration>

Am I doing something wrong?

Modified by cor-el