Hi everyone,
I just recently discovered SWFObject and set it up into my rails app,
and was quite excited about getting rid of all the messy html code
that goes along with flash objects... However, I discovered when
viewing my page in IE6, I get: "press ok to continue loading the
content of this page"
So I must be doing something wrong? I thought SWFObject was supposed
def flash_swf
movie = @media_file.url_without_cache
width = @media_file.width
height = @media_file.height
<<-swf
<object id="swf_player" classid="clsid:D27CDB6E-
AE6D-11cf-96B8-444553540000" width="#{width}" height="#{height}">
<param name="movie" value="#{movie}" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash"
data="#{movie}"
width="#{width}" height="#{height}">
<!--<![endif]-->
<div>
<h1>Alternative content</h1>
<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></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
swf
end
and in my html's head I have:
<script type="text/javascript">
swfobject.registerObject("myId", "9.0.0", "expressInstall.swf");
</script>
thank you.
-patrick
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---