no video with supported format and MIME type found firefox 17 windows xp
my name: Kay Richards, web developer website: http://www.benefitsinc.com/beneco_webinars.html
contains the following code in html file:
<video controls poster="http://www.benefitsinc.com/images/JeffPoster1.jpg" width="640" height="360"> <source src="http://www.benefitsinc.com/media/11_14_12_Jeff_ACA_Intro.mp4" type="video/mp4" /> <source src="http://www.benefitsinc.com/media/11_14_12_Jeff_ACA_Intro.ogg" type="video/ogv" /> <source src="http://www.benefitsinc.com/media/11_14_12_Jeff_ACA_Intro.webm" type="video/webm" /> <object type="application/x-shockwave-flash" data="http://player.longtailvideo.com/player.swf" width="640" height="360"> <param name="movie" value="http://player.longtailvideo.com/player.swf" /> <param name="allowFullScreen" value="true" /> <param name="wmode" value="transparent" /> <param name="flashVars" value="controlbar=over&image=http%3A%2F%2Fwww.benefitsinc.com%2Fimages%2FJeffPoster1.jpg&file=http%3A%2F%2Fwww.benefitsinc.com%2Fmedia%2F11_14_12_Jeff_ACA_Intro.mp4" /> <img alt="Jeff Schultz" src="http://www.benefitsinc.com/images/JeffPoster1.jpg" width="640" height="360" title="No video playback capabilities, please download the video below" /> </object> </video>
windows xp, firefox 17 (have also tried windows 7) inmotionhosting apache server have added to .htaccess the following:
AddType video/mp4 mp4 m4v AddType audio/mp4 m4a AddType video/ogg ogv AddType audio/ogg ogg oga AddType video/webm webm
video works in all browsers, on ipad and iphone EXCEPT firefox when I comment out the
at this point am totally baffled.
Измењено
Изабрано решење
Thank you jsher2000!!! You won't believe it. There was an extra space in the filename for webm and ogg which threw everything off. All videos are playing now for all browsers Thank you for your patience.
Прочитајте овај одговор са објашњењем 👍 1Сви одговори (5)
Have you tried the Firebug extension for diagnosis? It shows that Firefox is trying to retrieve the .webm file and getting a 404 error. Manually trying the URL for the .ogg file also returns a 404 error.
Firebug also shows that Firefox retrieves the player.swf file. That's good as far as it goes, but that alternate content doesn't actually display in place of the poster image and error message, so that's not helpful...
MDN resources:
Firefox's Error Console (Ctrl+Shift+j) shows these warnings (I shortened the URLs to avoid hyperlinking):
Warning: Specified "type" attribute of "video/mp4" is not supported. Load of media resource /media/11_14_12_Jeff_ACA_Intro.mp4 failed.
Warning: Specified "type" attribute of "video/ogv" is not supported. Load of media resource /media/11_14_12_Jeff_ACA_Intro.ogg failed.
Warning: HTTP load failed with status 404. Load of media resource /media/11_14_12_Jeff_ACA_Intro.webm failed.
Warning: All candidate resources failed to load. Media load paused.
1. The webm and ogg files are in the media directory. 2. The formats have been added to the htaccess file. 3. The videos can be played standalone, but not from the web page. 4. The mp4 is first entry in the list as documentation states that ipad and iphone will not play unless that is the first entry. 5. Turned on firebug - see the errors that formats are "not supported" and that the load failed for all media.
So I still don't get it - the video files are there in the media directory and the support for them has been added to the htaccess file. Is there some other place where support has to be added on an apache server? Firefox is the only browser that doesn't work.
I can't access the webm or ogg media files by their direct URLs in Firefox or IE8 or Google Chrome, only the mp4 file. Can you access all 3?
If your server is configured with a cache for static files, you might try flushing it and see whether that helps.
Одабрано решење
Thank you jsher2000!!! You won't believe it. There was an extra space in the filename for webm and ogg which threw everything off. All videos are playing now for all browsers Thank you for your patience.