I built a wordpress site with video and none of my video formats (including webm) will play in Firefox. Can you help troubleshoot?
The site is using a custom Wordpress theme. There are options to add different types of video for different browsers, and I've added webm for Firefox and MP4 for other browsers. The MP4 videos play great on all other browsers, but the webm doesn't seem to be working on Firefox. I get a blank screen on Firefox when I have only MP4 and also when I add the webm video. I'm pretty sure the MP4s were working in Firefox 19, but not on FF 20.
I added the troubleshooting info below. I have disabled my plugins and add ons as part of the troubleshooting process, but I don't think they're the problem. Please let me know if you have any leads!
Thanks, Jeff
Todas las respuestas (4)
I am not sure, how much this code snippet will help - in any case you need to embed the file (ogv in the case below) into a wrapper as follows
<script type="text/javascript" src="http://s3.amazonaws.com/s3.www.universalsubtitles.org/embed.js"> ({ "base_state": { "language": "sl" }, "video_url": "http://videos.mozilla.org/serv/brand/Mozilla_Firefox_Manifesto_v0.1.ogv", "video_config": { "width": 550, "height": 310 } }) </script>
The code is from mozilla.si (worpress-based) page.
Hope it helps.
Regards
Firefox doesn't support MP4 via the video tag.
This is only possible via the object or embed tag and if you have a player installed that supports the .mp4 file extension (about:plugins).
Thanks smo, I tried the wrapper and it just embedded a widget type object but not the video.
cor-el - I'm using webm as the video type.
I tried to add the webm video using html 5 but got a "no video with supported format and MIME type" error. I found the code below to add to the .htaccess file as a suggested fix since are using apache. Has anyone tried this?
- MIME types for Video
AddType video/mp4 mp4 m4v f4v f4p AddType video/ogg ogv AddType video/webm webm AddType video/x-flv flv
This can also happen if the server isn't configured properly to send the file with a supported MIME type.
- AddType audio/webm .webm
- AddType video/webm .webm