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="clsid27CDB6E-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!
Sorry for the code formatting above. How do I post code? Thanks
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.
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.