hay i want to put a flash banner in my template i have made a .ss file with the html and put it in my Includes. i then put the Includes tag on my page.ss file but it just keeps telling me i don't have the flash player or that the movie has not loaded. i cant see why this is and im new to ss is there anyone out there that can help me
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Could you please post the code. Then we'll be able to help you a bit more easily :D
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="950" height="140" id="Untitled-1" align="middle">
<param name="movie" value="Untitled-1.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="false" />
<param name="wmode" value="transparent" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="Untitled-1.swf" width="960" height="150">
<param name="movie" value="Untitled-1.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="false" />
<param name="wmode" value="transparent" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--<![endif]-->
<a href="https://www.adobe.com/go/getflash">
<img src="https://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
.
I think your !IE syntax is incorrect which maybe causing it to fail. Theres a extra > which I don't think should be there. For including flash cross browser I normally prefer to use SWFObject (http://code.google.com/p/swfobject/) which handles the cross browser compatibility.
thanks i will have a look at that
Hey guys,
I did some work on getting flash to work on a site for x-browser support and came across this method. which means the whole thing can be simplified as an this example used on one of my sites:
<object width="400" height="150" type="application/x-shockwave-flash" data="assets/banner/preloader-banner-1.swf">
<param name="movie" value="assets/banner/preloader-banner-1.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<img src="assets/banner/banner-still.jpg" title="Your browser does not support Flash objects so here is a picture of a snowboarder instead" alt="New Zealand Snow Board image"/>
</object>
Essentially replace classid with type="application/x-shockwave-flash". It's tested on Firefox, Opera, Safari, Chrome & IE6+ and I think you'll agree it's a lot simpler!
Hope that helps
Rich