• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 157
  • Last Modified:

can't get swf to dispaly in firefox

I can not get my flash to display in firefox at all.  All it is the media display component showing an flv.  It works fine in IE, does not display in firefox 1.0.2

Here is the code:

<object codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="400" width="550" align="middle" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">
<param value="14552" name="_cx" />
<param value="10583" name="_cy" />
<param value="" name="FlashVars" />
<param value="http://www.mysite.com/video/my.swf" name="Movie" />
<param value="http://www.mysite.com/video/my.swf" name="Src" />
<param value="Window" name="WMode" />
<param value="-1" name="Play" />
<param value="-1" name="Loop" />
<param value="High" name="Quality" />
<param value="" name="SAlign" />
<param value="-1" name="Menu" />
<param value="" name="Base" />
<param value="sameDomain" name="AllowScriptAccess" />
<param value="ShowAll" name="Scale" />
<param value="0" name="DeviceFont" />
<param value="0" name="EmbedMovie" />
<param value="FFFFFF" name="BGColor" />
<param value="" name="SWRemote" />
<param value="" name="MovieData" />
<param value="1" name="SeamlessTabbing" /></object>

What am i doing wrong ?
0
AndySinger
Asked:
AndySinger
  • 2
1 Solution
 
blue-genieCommented:
i'm assuming you have the plug-in for firefox?
0
 
AndySingerAuthor Commented:
yes, and when i go to other flash sites, i can view those fine.  Even when I go to the SWF URL directly in firefox, it loads there.  Just on the page itself, it doesnt appear.

As I said, displays fine in IE 6.

Thanks,

-andy
0
 
sam85281Commented:
Firefox doesn't support the object tag, you need to use the embed tag.  You should always use both to be compatable with all browsers.

Replace your code with:

<object codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="400" width="550" align="middle" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">
<param value="14552" name="_cx" />
<param value="10583" name="_cy" />
<param value="http://www.mysite.com/video/my.swf" name="Movie" />
<param value="http://www.mysite.com/video/my.swf" name="Src" />
<param value="Window" name="WMode" />
<param value="false" name="Play" />
<param value="false" name="Loop" />
<param value="High" name="Quality" />
<param value="false" name="Menu" />
<param value="sameDomain" name="AllowScriptAccess" />
<param value="ShowAll" name="Scale" />
<param value="FFFFFF" name="BGColor" />
<param value="1" name="SeamlessTabbing" />
<embed src="http://www.mysite.com/video/my.swf" _cx="14552" _cy="10583" WMode="Window" Play="false" Loop="false" Quality="High" Menu="false" AllowScriptAccess="sameDomain" Scale="ShowAll" BGColor="#FFFFFF" SeamlessTabbing="true" height="400" width="550" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" />
</embed>
</object>

And it should work fine.

-Sam
0
 
AndySingerAuthor Commented:
ooohh..the problem was that my editor in the CMS was stripping out the embed tags....problem all solved !

-andy
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now