jQuery with swfobject - crashing firefox 3.6

jQuery with swfobject - crashing firefox 3.6

Hi all.  I'm using jQuery to swap an embedded flash video (one from vimeo and one from deviantArt) but Firefox 3.6 crashes when the new video is ready to be embedded.

I think it must be something to do with the flash itself as the .click fires correctly and the white background of the new video appears before the crash.

The url is http://www.ogonline.org/portfolio

And the code I'm using is:

  1. var flashvars = {};
  2.         var params = {};
  3.         params.bgcolor = "#ffffff";
  4.         var attributes = {};
  5. $(document).ready(function(){
  6. [... some other show/hide code ...]
  7. $(".nextvid").click(function() {
  8.     if ($(".video").is(".blush")) {
  9.         swfobject.embedSWF("http://www.deviantart.com/film/108818045/", "videoalt", "400", "284", "10.0.0", false, flashvars, params, attributes);
  10.         $(".video").removeClass("blush");
  11.         return false;
  12.     }
  13.     else {
  14.         swfobject.embedSWF("http://vimeo.com/moogaloop.swf?clip_id=11894212&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=00b893&fullscreen=1", "videoalt", "400", "284", "10.0.0", false, flashvars, params, attributes);
  15.         $(".video").addClass("blush");
  16.         return false;
  17.     }
  18. });
  19. });
I have no other machine to test this on, but none of IE 8, Opera, Chrome or Safari exhibit the same problem.