Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

SWF in Template not loading...


Reply


714 Views

Avatar
MEI

Community Member, 3 Posts

1 December 2010 at 9:57am

Hello guys...

I been trying to get a swf to work since Nov,22,2010.. Todays is the Nov30,2010 you can tell I be spending time working with it!

Ok I when through almost every thread here about swf and bla bla bla....

I am trying to put a slideshow in my page.ss template... I put like 3 o 4 different codes <object> with <embed>, and without it, with the IE if element and all that good stuff... I edited the htcacess file and added swf and xml to it.... I try uploading the swf to the asset and didnt work, as well to another directory....

I tried to upload through the admin panel and inserting to a page and it didnt load either.... The interesting point here is that if I access the file directly from my browser it shows up and play well... here is the latest code that im using.. thanks! here is the link http://www.multiculturalinstitute.net/cms

<object width="636" height="222" type="application/x-shockwave-flash" data="http://www.multiculturalinstitute.net/cms/assets/Uploads/preview.swf">
<param name="movie" value="http://www.multiculturalinstitute.net/cms/assets/Uploads/preview.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>