This is the default code generated when using the generator. I added
the <p> tag with the text alternative content. When I disable flash
the text "alternative content" doesn't appear ? I know it's not styled
but I should see something, atleast.
<div>
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
width="800" height="600" id="myFlashContent">
<param name="movie" value="untitled.swf" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash"
data="untitled.swf"
width="800" height="600">
<!--<![endif]-->
<p>alternative content</p>
<a href="http://www.adobe.com/go/getflashplayer">
<img
src="http://www.adobe.com/images/shared/download_buttons/
get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
</body>
================================================
On Dec 27, 6:29 pm, Aran Rhee <[email protected]> wrote:
> 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.