Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

MP4 and Firefox 3.5.7.

4 replies [Last post]

For some unknown reason Firefox 3.5.7. (perhaps older versions to) won't play my MP4 video, it does appear to buffer but thats all it does, no sound nor video while in play mode.
I've also tested with IE8, Chrome, Opera and Safari
and they work just fine with the video.

Video format is Video AVC,
also there's no MOOV atom problem.

Perhaps someone has some idea whats going on:
http://kubes.nl/media.html

 
Your video plays fine for me in Firefox v3.5.7.

<script type="text/javascript">
  var sa = new SWFObject('http://kubes.nl/public/flash/player.swf', 'mpl', '640', '480', '9.0.124');
      sa.addParam("allowfullscreen",      "true");
      sa.addParam("menu",                 "true");
      sa.addParam("allowscriptaccess",    "always");
      sa.addParam("seamlesstabbing",      "true");
      sa.addVariable("file",              "http://kubes.nl/public/media/video/kubes.mp4");
      sa.addVariable("plugins",           "accessibility-1,captions-1,drelated-1,quickkeys-1");
      sa.addVariable("captions.fontsize", "16");
      sa.addVariable("bufferlength",      "10");
      sa.addVariable("repeat",            "none");
      sa.addVariable("screencolor",       "000000");
      sa.addVariable("backcolor",         "202020");
      sa.addVariable("frontcolor",        "FFFFFF");
      sa.addVariable("autostart",         "false");
      sa.addVariable("icons",             "true");
      [s]sa.addVariable("displayclick",      "none");[/s]
      sa.addVariable("dock",              "false");
      [s]sa.addVariable("usecaptions",       "true");[/s]
      sa.addVariable("smoothing",         "false");
      sa.write("embedded");
</script>

Notes:

1) Use at least Flash v9,0,124,0 for MP4.

2) There will be a confilct between the accessibility and the captions plugins.

3) Incorrect format for the screencolor value.

4) displayclick has been deprecated in the v5 player.

5) usecaptions has been deprecated since the captions functionality was moved to a plugin.

6) your video's native size is 632x474. It will play better if the player does not have to re-size it, therefore your player's size sh0uld be 632x498.

7) Video compresses much better if both the width and the height are exactly divisible by 16. 640x480 would be a better size to use during encoding.

Thanks for your help.
I use version WIN 10,0,42,34 of Flash.
It might be my Firefox causing trouble
though playing flv files works just fine.
I''ve made the changes you suggested.

btw. What kind of conflict will occur with the accessibility and the captions plugins? I really would like to use both.

 
The accessibility plugin included captions and the auxiliary audiodescription.

Later, the captions and audiodescription were split into separate plugins.

If you want to use both captions and audiodescription, you should use both plugins (captions & audiodescription).

An example of both plugins (along with HD, replay, & Title) is here:

    http://willswonders.myip.org:8074/player5/Simple_TitlePlugin_v5.html

Well I found my solution to the Firefox not playing the video, it seems to be related with GZIP compression I use in my .htaccess so I just added the mp4 to be ignored and it works now:

<ifmodule mod_deflate.c>
# Insert filter
SetOutputFilter DEFLATE

# Netscape 4.x has some problems...
BrowserMatch ^Mozilla/4 gzip-only-text/html

# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4\.0[678] no-gzip

# MSIE masquerades as Netscape, but it is fine
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

# Don't compress
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|mp3|mp4)$ no-gzip dont-vary

# Make sure proxies don't deliver the wrong content
Header append Vary User-Agent env=!dont-vary
</ifmodule>

Strange that Firefox is the only one having trouble with it though, but it is fixed.

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic).

More information about formatting options