0

I'm trying to get an HTML5 video header background working and I've almost got it, but it's not working in Firefox. I looked at this question and this question, and tried to edit my .htaccess file but it didn't work. I just pasted this at the end of the file:

AddType video/ogg .ogv
AddType video/mp4 .mp4
AddType video/webm .webm

AddType audio/mpeg .mp3
AddType audio/ogg .ogg
AddType audio/mp4 .m4a
AddType audio/wav /wav

Was that right?

After trying that, I looked at Video for Everybody and the VFE generator. I took the code the generator gave me and pasted it into my site. The video works in Safari and Chrome, but Firefox displays the poster and tells me "No video with supported format and MIME type found." But shouldn't my edit to the .htaccess file have fixed that? What do I need to do to get the video working in Firefox?

Community
  • 1
  • 1
mcography
  • 1,081
  • 6
  • 19
  • 36
  • what order do you have the video files in your – Offbeatmammal Sep 23 '14 at 18:55
  • The order is mp4 then ogg. Here is a [fiddle](http://jsfiddle.net/regularmegs/L2z3e0hy/). – mcography Sep 23 '14 at 20:07
  • looking at the fiddle the ogv file is a 404. Also check https://stackoverflow.com/questions/14822493/firefox-wont-play-webm-and-ogv-videos-with-html5 for other Firefox ogv hints – Offbeatmammal Sep 24 '14 at 01:47
  • Gah, I can't believe after all that frustration, it was the link that was wrong. The video is now playing in Firefox. It isn't aligning to the top of the page the way it is in the other browsers, but that's a different question, I think. – mcography Sep 24 '14 at 16:09
  • :) sometimes it just takes an extra set of eyes (and the browser developer console!) – Offbeatmammal Sep 24 '14 at 21:15

0 Answers0