Have a (re)read of the documentation page:
http://code.google.com/p/swfobject/wiki/documentation.
You can see in this block of code where the alternative content should go
(it can be an image, text , or any combination of valid HTML). Note this is
for the static embed method. I assume this is what you require as you made
mention of conditional statements in your post:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
width="780" height="420">
<param name="movie" value="myContent.swf" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash"
data="myContent.swf" width="780" height="420">
<!--<![endif]-->
<p>Alternative content</p>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
I can also suggest to use the SWFObject code generator which helps ensure
your code is formatted correctly:
http://code.google.com/p/swfobject/wiki/generator
Cheers,
Aran
On Tue, Dec 27, 2011 at 12:40 PM, Christopher <[email protected]>wrote:
> If the user has flash disabled I want a image to replace where the
> flash would be, but I don't know where to add this in the HTML for
> SWFObject and the conditional statement ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "SWFObject" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/swfobject?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en.