Hey everyone,
I’ve been reading through loads of posts and searching for a few days but I still can’t figure this out. If there’s a post or documentation that I’ve missed please let me know ![]()
I’ve download a flash gallery that includes an XML, PHP, SWF, and JS file. It works fine on my server but trying to get it into expression engine is proving really difficult. The message ‘flash is not installed’ etc displays instead.
I’ve put the files here ‘EE’ being the installed directory
...co.uk/EE/gallery/flashgallery.swf
...co.uk/EE/gallery/flashgallery.php
...co.uk/EE/gallery/swfobject.js
...co.uk/EE/gallery/default.xml
...co.uk/EE/gallery/img/picture.jpg etc
I’ve tried absolute URL’s and pretty much everything - hence posting this.
HEADER CODE
[removed][removed]
BODY CODE
<div id="gallery">
<h1>No flash player!</h1>
<p>It looks like you don't have flash player installed. <a href="http://www.macromedia.com/go/getflashplayer">Click here</a> to go to Macromedia download page.</p>
</div>
[removed]
var so = new SWFObject("{exp:flashplugin file="/EE/gallery/flashgallery.swf" width="680" height="450"}{/exp:flashplugin}", "gallery", "800", "600", "8"); // Location of swf file. You can change gallery width and height here (using pixels or percents).
so.addParam("quality", "high");
so.addParam("allowFullScreen", "true");
so.addVariable("content_path","{site_url}EE/gallery/img");
so.addVariable("color_path","{site_url}EE/gallery/default.xml"}"); // Location of xml file with settings.
so.addVariable("script_path","{site_url}EE/gallery/flashgallery.php"}"); // Location of php script (not requred if you work with Flickr).
so.write("gallery");
[removed]
Your help would be very much appreciated!
Cheers guys.
