image_rotator won't load with an external XML playlist
skyrocker - March 2, 2009 - 19:43
| Project: | SWF Tools |
| Version: | 6.x-2.5 |
| Component: | SWF Tools |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
| Issue tags: | xml flash |
Jump to:
Description
I've tried every possible solution but I can't find any documentation about this. Basically, when I load a selection of files with image_rotator it works fine, but if I specify an XML playlist, like this:
I get the following error:
Could not find the wijering_imagerotator file for embedding.
And the imagerotator doesn't load. It appears to only happen when theres an external XML playlist.

#1
I'm not sure how you are trying to load the flash, but using the input filter you'd write:
<swf file="myImages.xml" action="swftools_image_display_list">That assumes that the myImages.xml file is in your site's default file directory, and that the Wijering Image Rotator is your default image viewer. Note that you have to qualify the filter with a specific action since SWF Tools doesn't know what to do when it is given an xml file.
Let me know if that works so I can close this thread.
#2
Did this work? I'd like to close the issue if it did.
#3
I have the same issue. This doesn't work for me:
<p><swf file="flowers.xml" action="swftools_image_display_list"></swf></p>The player seems to load, but the images don't load. XML file is in files/ dir and not files/playlists. The images are in the same dir.
The page is here: http://billherring.info/atlanta_counseling/node/255
And this is my source:
<script type="text/javascript">swfobject.embedSWF("http://www.billherring.info/atlanta_counseling/sites/all/modules/swftools/shared/flash_image_rotator/imagerotator.swf", "swfobject2-id-12461561061", "270", "300", "7", "", { "shownavigation": "false", "enablejs": "true", "width": "270", "height": "300", "rotatetime": "1", "file": "http://www.billherring.info/atlanta_counseling/files/flowers.xml" }, { "swliveconnect": "default", "play": "true", "loop": "true", "menu": "false", "quality": "autohigh", "scale": "showall", "align": "r", "salign": "tr", "wmode": "opaque", "bgcolor": "#FFFFFF", "version": "7", "allowfullscreen": "false", "allowscriptaccess": "sameDomain", "base": "http://www.billherring.info/atlanta_counseling/files/", "src": "http://www.billherring.info/atlanta_counseling/sites/all/modules/swftools/shared/flash_image_rotator/imagerotator.swf", "width": "270", "height": "300" }, { "id": "swf12461561061" });
</script>
</div></swf></p> </div>
Any help would be appreciated. Spent pretty much the entire saturday afternoon trying to make this work. No mention of using XML playlist with swftools filter in any of the documentation, as far as I can tell.
#4
Hi,
I suscribed to your problem as I had the same, and then continued to look for a solution and finally found it :)
I don't know if it will help, but I found the solution here : http://drupal.org/node/101918#comment-184088
You have to move the XML file directly in the "files/" folder, as well as you "pictures" folder - worked for me...
Bye !
#5
Thanks bunch for your help. I'll check this out and report back.