Having trouble getting an .ogg video file to play in firefox. No video with supported format and MIME type found?
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!
Modified by cor-el
Additional System Details
Every time Firefox opened
- Shockwave Flash 11.4 r402
- Version 22.214.171.12432
- 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
- AmazonMP3DownloaderPlugin 1.0.16
- User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:15.0) Gecko/20100101 Firefox/15.0.1
Sorry for the code formatting above. How do I post code? Thanks
anyone out there?
i'm not familiar with this issue, so probably another contributor help you more efficient,.....searching found :
see also, if helps, an old and closed thread :
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.
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?
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?
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
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
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.
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.
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?
I will do this. Thanks
hi Why do not you support the new version of the audio /ogg format?
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?
This problem after updating to version 15.1 link post audio ogg: 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
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.
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
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?
Modified by milad200
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).
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