Firefox 3.6.6 won't play .ogv files in IIS 6.0 server - Mime type set
I have tried various mime types for video/ogg, application/ogg, application/octet-stream to play the .ogv file on Windows IIS 6.0 server. I have reset IIS everytime to take the change, and I still cannot get the file to play.
I am using this as html5 code:
The mime type right now is set for .ogv video/ogg. What am I missing?
כל התגובות (9)
My code didn't copy I forgot to put the code tag. Oops. Here it is.
Perhaps you can just post it to http://pastebin.mozilla.org then link to that post in a reply here.
What video codec did you use to encode the video? Theora is the only one that works in the current Firefox release, and WebM will work in Firefox 4. The audio codec needed for both is vorbis.
I converted the video with both Firefogg and Miro Video Converter thinking maybe the video wasn't encoded correctly, but neither of those files worked either...weird.
https://developer.mozilla.org/En/Using_audio_and_video_in_Firefox https://developer.mozilla.org/En/Media_formats_supported_by_the_audio_and_video_elements http://en.wikipedia.org/wiki/Use_of_Ogg_formats_in_HTML5 --- On this forum you need to use the HTML entity < for "<" and > for ">". Use the CODE button after you have selected the text to put the text in a CODE block
Can you post a link to that website?
I've looked at those links before, thank you. I have attached a screenshot this time of my code and IIS 6 mime type display.
Everything looks good to me. I still can't understand why it will not play. Even when I link directly to just the html file alone it will not display the video. I am currently running EPiServer CMS 5 R2 and have also tried viewing the video through a page in CMS. Nothing seems to work.
Not sure what else I'm missing.
I have the same problem in iis7. and also had it on my desktop.
I managed to solve it on the desktop (also running iis7) by adding a .ogv mime to iis.
I replicated these steps on the server, and it is not fixed.
When i try to navigate to the absolute file, i just come up with a 404 error. (navigate to http://www.mywebsite.co.uk/video/video.ogv)
Am i missing something else?
I believe I have this SAME problem. Here is my site/link: www.gmediaevents.com/test
I believe I have narrowed it down to a Firefox 3.6.13 and Fatcow.com (server) issue. I don't know what kind of server Fatcow uses, but they seem to be hip to the latest. I'm also not sure why Firefox would have a problem. I am a big Firefox fan.
You should see 3 .ogg (not .ogv) videos. I tried the above link in IE 8.0, Firefox 3.6.13, and Chrome 8.0.
Chrome was the only one to display them correctly.
If anyone has figured this out or has a solution, PLEASE let me know.
Chris
That is a problem with the server that sends the file as text/html
See "Recognized MIME types for Ogg media"
I have had this problem too. I found out that it had something to do with GZIP/Deflate being enabled in Apache.
I used these settings in apache config: <IfModule filter_module>
FilterDeclare COMPRESS FilterProvider COMPRESS DEFLATE resp=Content-Type /text/(html|css|javascript|plain|x(ml|-component))/ FilterProvider COMPRESS DEFLATE resp=Content-Type /application/(javascript|json|xml|x-javascript)/ FilterChain COMPRESS FilterProtocol COMPRESS change=yes;byteranges=no
</IfModule>
(copied from html5 boilerplate.)
If I use this, firefox 3.6 goes nuts. When I comment it out, restart my server, everything works fine.
So I now removed the code from my settings, and instead, I use this:
<Location /> AddOutputFilterByType DEFLATE text/html text/plain text/css text/xml application/javascript </Location>
This way, everything but plain text stuff is gzipped, and ogg is left alone. And now it works in 3.6 as well.
Hope this is helpfull :)