Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

mime type html5 video

more options

Hello,

I've been having a problem with HTML5 video playing in firefox when hosted on GoDaddy. I'm almost positive that this is a server side issue but GoDaddy doesn't have the technical support to give me any more solutions than what they have repeatedly suggested. Here is the link to the index page I am having problems with:

http://gerardtonti.com/CV/index.html There is a video that plays above my name. You can see this in other browsers. The HTML for the video is this:

<video width="220px" height="227px" autoplay>
    		    <source type="video/mp4" src="http://www.gerardtonti.com/CV/img/Sneeze.mp4">
                    <source type="video/ogv" src="http://www.gerardtonti.com/CV/img/Sneeze.ogv">
                    <source type="video/webm" src="http://www.gerardtonti.com/CV/img/Sneeze.webm">
 </video>

GoDaddy has suggested creating an htaccess file that contains the following code:

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

I have uploaded the htaccess file with this code and nothing happened. I've placed the file in the root and in the folder that contains the videos. Still nothing. I have had this problem with another client who hosts on GoDaddy as well. Is there a solution to this problem?

Thanks!

Gerard

Hello, I've been having a problem with HTML5 video playing in firefox when hosted on GoDaddy. I'm almost positive that this is a server side issue but GoDaddy doesn't have the technical support to give me any more solutions than what they have repeatedly suggested. Here is the link to the index page I am having problems with: http://gerardtonti.com/CV/index.html There is a video that plays above my name. You can see this in other browsers. The HTML for the video is this: <pre><nowiki> <video width="220px" height="227px" autoplay> <source type="video/mp4" src="http://www.gerardtonti.com/CV/img/Sneeze.mp4"> <source type="video/ogv" src="http://www.gerardtonti.com/CV/img/Sneeze.ogv"> <source type="video/webm" src="http://www.gerardtonti.com/CV/img/Sneeze.webm"> </video> </nowiki></pre> GoDaddy has suggested creating an htaccess file that contains the following code: <pre><nowiki> AddType video/mp4 .mp4 .m4v AddType video/ogg .ogv AddType video/webm .webm </nowiki></pre> I have uploaded the htaccess file with this code and nothing happened. I've placed the file in the root and in the folder that contains the videos. Still nothing. I have had this problem with another client who hosts on GoDaddy as well. Is there a solution to this problem? Thanks! Gerard

Modified by GerardTonti

Chosen solution

Hi Gerard, hosts that provide correct content types for their media work perfectly fine. But I can't move mountains at GoDaddy, sorry.

Read this answer in context 👍 1

All Replies (5)

more options

Hi Ian Millard, unlike proprietary browsers, Firefox does not include the patented technology to decode MPEG media. Instead, components on the system are used.

On Windows, XP is a special case. Windows Vista and later ship with Media Foundation. Microsoft does not ship Media Foundation for Windows XP, so recent versions of Firefox use DirectShow to play MPEG encoded media on Windows XP.

If you are concerned that visitors to your site will not be able to play MPEG encoded media, either because they do not have the necessary system software or because they have disabled Firefox's ability to do it (users who want to more easily download MP3s sometimes disable Firefox's built-in player), then you can provide a fallback. Either you can transcode the media to an open format, or you can add object tags and let a plugin such as QuickTime or Windows Media Player handle the MP4.

Modified by jscher2000 - Support Volunteer

more options

On Windows XP the video should play if the media.directshow.enabled pref is true and there is native support to play this craft.mp4 file.

  • http://www.imillard.com/h5vid/craft.mp4
more options

What is "native support?"
If Chrome doesn't need this support, why does FireFox?
The whole point is to use HTML5 to play videos with a minimum of fuss, using straightforward coding. It shouldn't be necessary to use a work-around to fix yet another FireFox omission.
I might as well keep using Flash Plugins.

more options

Native support is to fallback to function that your Windows Operating System provides, so this only work if you have installed codecs to play such media files. I don't know if Google Chrome comes with built-in support for playing MP4 files (it probably does include this support).

more options

Hi Ian Millard, I agree it's harder than we would like it to be, but with so much diversity among systems, I think it's a overly optimistic to expect that you can find a one-size-fits-all approach for streaming media. Maybe someday!

  1. 1
  2. 2