Page 1 of 1

UDT php include, flash slideshow breaks

Posted: Tue Aug 11, 2009 7:19 pm
by seh87
Hello all.

I have a flash slideshow that I am attempting to show on my main page.  I am using CMSMS 1.5.4.

The slideshow is dependent on other files and after a few trials I decided it was simplest to leave it all in same directory and use a UDT with a php include and put that in the template.

When viewed separately both the .swf file and the .html file (that houses it) show the slideshow correctly.  However after going through the php include something breaks.  I have checked the URL, that is not the problem.  I have tried doing the include with the .swf file instead of the .html - that entirely breaks it.  The background color and slideshow controls show, just no images.  I have had other flash embedded on the page through a GCB, so I don't believe the file type is a problem.

Can anyone offer suggestions for what I should try next (or a better way to go about this)?

Thanks.

http://www.wku.edu/honors/cms/uploads/f ... eshow.html
http://www.wku.edu/honors/cms/

Re: UDT php include, flash slideshow breaks

Posted: Tue Aug 11, 2009 7:41 pm
by Coldman
Hi!

Checkout Viebig's Object tag
http://dev.cmsmadesimple.org/projects/objecttag

Re: UDT php include, flash slideshow breaks

Posted: Wed Aug 12, 2009 2:58 pm
by seh87
That seems to have the same/a similar issue.
If I put the .swf file as the source, it still only shows the background color and controls.  If I use the .html file it only shows a white/blank space (but still picks up that it should be flash in that space).

Any ideas what would cause either of these methods to not work correctly?

Re: UDT php include, flash slideshow breaks

Posted: Wed Aug 12, 2009 4:52 pm
by Coldman
Please show me how you used the Object tag?

Re: UDT php include, flash slideshow breaks

Posted: Wed Aug 12, 2009 6:09 pm
by seh87
This is the code that I used and then placed it in a GCB.

Code: Select all

<div id="slideshow">{object open=1 src='uploads/flash_slideshow_free/slideshow.swf' height='300' width='700' class='flashplayer' param='wmode::transparent' alt='Download Flash Player'}
<h1>Oops!</h1>
<p>It looks like you do not have flash player installed. <a href="http://www.macromedia.com/go/getflashplayer">Click here</a> to go to Macromedia download page.</p>
{object close=1}</div>
If it is helpfull, the "slideshow" div is only:

Code: Select all

#slideshow{
   float:left;
   margin:0;
}

Re: UDT php include, flash slideshow breaks

Posted: Thu Aug 13, 2009 4:44 pm
by Coldman
Sry but I can't help you
I have tried to run your swf file on my test server. Unfortunately I cannot make it work

Hope someone else can help you.

Re: UDT php include, flash slideshow breaks

Posted: Thu Aug 13, 2009 5:05 pm
by seh87
You also have to have the xml file to run the swf.  You can find it here:
http://www.wku.edu/honors/cms/uploads/f ... deshow.xml

It tells the slideshow what to do and pulls the photos from an 'images' folder.