I'm stuck with this implementation problem and with the popularity of Lightroom, I'm hoping someone has already done it or have a clue of what i should do next.
here's the story: - adobe lightroom generates a flash gallery that contains "/resources/AC_RunActiveContent.js" script, "/resources/gallery.swf" file and "/resources/playerProductInstall.swf" -- among other things - i'd like to access those objects and embed them in my drupal-based website - i installed and enabled swfobject module in my drupal-based website
so, I tried using the example given after updating the file paths accordingly, but it's still not working. It just gave me a blank page.
Am I missing something here? is lightroom-generated js+swf not quite compatible with this module?
OK, I just did it (I put the swfobject.js inside the drupal's "modules/swftools/shared/swfobject" directory) -- so my html in the drupal content is as follows:
<div id="flashcontent"> This text is replaced by the Flash movie. </div>
<script type="text/javascript"> var so = new SWFObject("/files/mpage/resources/gallery.swf", "mymovie", "730", "480", "8", "#336699"); so.write("flashcontent"); </script>
btw, lightroom gives me this stuff (for flash image slideshow) that I uploaded into my Drupal's "/files" directory: >bin >images [all the jpg files]
is it working for you? (i don't use drupal, so i don't know how their 'modules' system is set up)
if not, make sure your filepath is set correctly... if swfobject.js is inside another folder ("modules/swftools/shared/swfobject"), your filepath would normally become:
I just noticed that you have some bad markup in your page which should be fixed. You have extra <head> and <body> tags and the swfobject.js is not properly in the <head> area:
After you define all your proper <head> info and are starting to define your body content, you get to this block: