X
Tap here to go to the mobile version of the site.

Support Forum

Why is it so difficult to get Firefox to play web videos?

Posted

I have developed a very basic opening page for my web site. It contains a 45 second movie. It works on IE, Chrome, and Safari but will not work on Firefox. Why?

I have spent numerous hours attempting to try workarounds with no luck. I am considering just putting a statement on my front page that says I cannot make this site work properly with Firefox.

It would seem to be in Firefox's best interest to figure this out and fix it vs being the lone browser out there where basic common video formats do not work well.

Please let me know if there is a very quick workaround to make this work because I am certainly not going to spend any more time trying to figure it out.

Thanks for listening

I have developed a very basic opening page for my web site. It contains a 45 second movie. It works on IE, Chrome, and Safari but will not work on Firefox. Why? I have spent numerous hours attempting to try workarounds with no luck. I am considering just putting a statement on my front page that says I cannot make this site work properly with Firefox. It would seem to be in Firefox's best interest to figure this out and fix it vs being the lone browser out there where basic common video formats do not work well. Please let me know if there is a very quick workaround to make this work because I am certainly not going to spend any more time trying to figure it out. Thanks for listening

Chosen solution

I have the .m4v file as the primary source The .mov file as ALT Source 1 The .ogv file and ALT Source 2 And the .swf file as Flash Fallback

Movie now players fine for me in IE, Chrome, Safari and yes, even Firefox. also plays on my iPhone.

Read this answer in context 0

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.73.11 (KHTML, like Gecko) Version/7.0.1 Safari/537.73.11

More Information

jscher2000
  • Top 10 Contributor
3144 solutions 28942 answers

Would you consider posting the address of the site?

Note that if you are using HTML5 video in an MPEG-encoded format like H.264, platform support is required for decoding. This is now available across the various versions of Windows, but unfortunately is not yet standard on Mac and Linux versions of Firefox. Therefore, you need a fallback such as Flash for those platforms.

Would you consider posting the address of the site? Note that if you are using HTML5 video in an MPEG-encoded format like H.264, platform support is required for decoding. This is now available across the various versions of Windows, but unfortunately is not yet standard on Mac and Linux versions of Firefox. Therefore, you need a fallback such as Flash for those platforms.
cor-el
  • Top 10 Contributor
  • Moderator
12151 solutions 112820 answers

The OP posted a link in this thread: [/questions/983154]

The OP posted a link in this thread: [[/questions/983154]] *http://cobaltstreak.com/
cor-el
  • Top 10 Contributor
  • Moderator
12151 solutions 112820 answers

Works for me on Linux.

You could consider to change the order of the source tags and list the ogv file as the first choice in case the m4v file is causing a problem on Mac.

<video width="854" height="480" title="854" autoplay >
        <source src="Moviefile/Cobalt_Intro.ogv" type="video/ogg">
        <source src="Moviefile/Cobalt_Intro-HD_720p.m4v" type="video/mp4">

Note that the Flash player seems to be missing, so fall back to Flash will fail: 404 Page Not Found

So you may want to check that.

Works for me on Linux. You could consider to change the order of the source tags and list the ogv file as the first choice in case the m4v file is causing a problem on Mac. <pre><nowiki><video width="854" height="480" title="854" autoplay > <source src="Moviefile/Cobalt_Intro.ogv" type="video/ogg"> <source src="Moviefile/Cobalt_Intro-HD_720p.m4v" type="video/mp4"> </nowiki></pre> Note that the Flash player seems to be missing, so fall back to Flash will fail: 404 Page Not Found *http://cobaltstreak.com/index.files/html5video/flashfox.swf So you may want to check that.
jscher2000
  • Top 10 Contributor
3144 solutions 28942 answers

The good news is, the OGV video plays in Windows 7 (screen shot attached).

On the m4v file, Firefox is rather literal about these things. Your tag specifies a content type of "video/mp4" but the server is sending a header of "video/x-m4v" so Firefox seems not to be even trying to play that media.

If I open the media directly in a tab, Firefox plays it in the QuickTime plugin, eventually, after what seems to be a full retrieval, so this content type apparently does not trigger the HTML5 player.

If I save the file locally, change the extension to .mp4, and drag it onto a Firefox tab, it plays in the native HTML5 player.

So could I suggest changing the file extension to mp4 and seeing whether the server then will send the content type of "video/mp4"?

The good news is, the OGV video plays in Windows 7 (screen shot attached). On the m4v file, Firefox is rather literal about these things. Your tag specifies a content type of "video/mp4" but the server is sending a header of "video/x-m4v" so Firefox seems not to be even trying to play that media. If I open the media directly in a tab, Firefox plays it in the QuickTime plugin, eventually, after what seems to be a full retrieval, so this content type apparently does not trigger the HTML5 player. If I save the file locally, change the extension to .mp4, and drag it onto a Firefox tab, it plays in the native HTML5 player. So could I suggest changing the file extension to mp4 and seeing whether the server then will send the content type of "video/mp4"?

Helpful Reply

Yes - I will try this first thing tomorrow. Thanks for the quick response.


'Hi anolte,

jscher2000 has posted an answer to your question on support.mozilla.org:

Why is it so difficult to get Firefox to play web videos?

jscher2000 wrote:

The good news is, the OGV video plays in Windows 7 (screen shot attached).

On the m4v file, Firefox is rather literal about these things. Your tag specifies a content type of "video/mp4" but the server is sending a header of "video/x-m4v" so Firefox seems not to be even trying to play that media.

If I open the media directly in a tab, Firefox plays it in the QuickTime plugin, eventually, after what seems to be a full retrieval, so this content type apparently does not trigger the HTML5 player.

If I save the file locally, change the extension to .mp4, and drag it onto a Firefox tab, it plays in the native HTML5 player.

So could I suggest changing the file extension to mp4 and seeing whether the server then will send the content type of "video/mp4"?'

Yes - I will try this first thing tomorrow. Thanks for the quick response. ---------------------------------------------------------------------------------- ''''''Hi anolte, jscher2000 has posted an answer to your question on support.mozilla.org: Why is it so difficult to get Firefox to play web videos? jscher2000 wrote: The good news is, the OGV video plays in Windows 7 (screen shot attached). On the m4v file, Firefox is rather literal about these things. Your tag specifies a content type of "video/mp4" but the server is sending a header of "video/x-m4v" so Firefox seems not to be even trying to play that media. If I open the media directly in a tab, Firefox plays it in the QuickTime plugin, eventually, after what seems to be a full retrieval, so this content type apparently does not trigger the HTML5 player. If I save the file locally, change the extension to .mp4, and drag it onto a Firefox tab, it plays in the native HTML5 player. So could I suggest changing the file extension to mp4 and seeing whether the server then will send the content type of "video/mp4"?''''''

Helpful Reply

While some of this worked to make the video work in Firefox, it made it stop working in other browsers. While I greatly appreciate everyone's help, my main point is, that no one should to go through all of this to make a simple video work in a browser. I had no problem with IE, Safari and Chrome Simple insert and it just worked. No issues, no workarounds, it just worked.

If Firefox is going to play in the browser big league, it should consider a more standard compatible video format. If you look at the Firefox community page on the same topic, there are a lot of questions about how to make it work.

Suggestion - Do us all a favor and fix the issue and make it work as easy as it does in the other browsers.

Just a suggestion

While some of this worked to make the video work in Firefox, it made it stop working in other browsers. While I greatly appreciate everyone's help, my main point is, that no one should to go through all of this to make a simple video work in a browser. I had no problem with IE, Safari and Chrome Simple insert and it just worked. No issues, no workarounds, it just worked. If Firefox is going to play in the browser big league, it should consider a more standard compatible video format. If you look at the Firefox community page on the same topic, there are a lot of questions about how to make it work. Suggestion - Do us all a favor and fix the issue and make it work as easy as it does in the other browsers. Just a suggestion
cor-el
  • Top 10 Contributor
  • Moderator
12151 solutions 112820 answers

I see that the mov file that you added as one of the source choices is missing: 404: Page Not Found

(to test this I disabled media.ogg.enabled = false)

I see that the mov file that you added as one of the source choices is missing: 404: Page Not Found *http://cobaltstreak.com/Moviefile/Cobalt%20Intro-HD%20720p.mov ''(to test this I disabled media.ogg.enabled = false)''

Chosen Solution

I have the .m4v file as the primary source The .mov file as ALT Source 1 The .ogv file and ALT Source 2 And the .swf file as Flash Fallback

Movie now players fine for me in IE, Chrome, Safari and yes, even Firefox. also plays on my iPhone.

I have the .m4v file as the primary source The .mov file as ALT Source 1 The .ogv file and ALT Source 2 And the .swf file as Flash Fallback Movie now players fine for me in IE, Chrome, Safari and yes, even Firefox. also plays on my iPhone.

Modified by anolte