1 (edited by yousefj 2011-02-05 02:17:43)

Topic: Embed SWF, Help needed ASAP

Hi, i am trying to embed my gallery made through svBuilder into an eBay listing as eBay doesn't allow external calls to javascripts.

I have all the files uploaded onto my server; the root file for the simpleviewer folder is:

As you can see it works fine there, i am using the following embedding code to embed it into my eBay page.

<embed src="http://****************/svcore/swf/simpleviewer.swf"
bgcolor=#FFFFFF WIDTH=600 HEIGHT=600

The viewer shows up but no images are shown, here is what is shown:


Any help would be greatly appreciated.

I have also tried to upload and use the Flickr hosting option and the above code works fine and displays the viewer and images perfectly, the only problem is that if i have several different images in my Flickr account i am unable to find an option to pick specific images. I have tried adding tags to the images i need and using the tags option in svBuilder but then no images show up.

Thank you for any help

Re: Embed SWF, Help needed ASAP

Try using the 'Object Embed' method found here: http://simpleviewer.net/simpleviewer/su … html#basic
Also, you gallery uses SimpleViewer v2.1.2 but your gallery's XML file is defined in your current embedding code with 'xmlDataPath' which is a SimpleViewer v1.9 variable.  Use 'galleryURL' instead: http://simpleviewer.net/simpleviewer/pr … .html#html

Steven Speirs
SimpleViewer Support Team

3 (edited by yousefj 2011-02-05 02:20:13)

Re: Embed SWF, Help needed ASAP

Thank you for your response, i tried the following code but i am still receiving the same problem. Please if you could help me it would be greatly appreciated. What part of the code is incorrect causing this error? Thank you

<object width="600" height="600"><param name="movie" value="http://****************/simpleviewer.swf?galleryURL=http://****************/gallery.xml"></param>
<param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always">
</param><param name="bgcolor" value="222222"></param><embed src="http://****************/svcore/swf/simpleviewer.swf?galleryURL=http:/****************/gallery.xml"
type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="600" height="600"

Re: Embed SWF, Help needed ASAP

There are 2 methods of embedding a SimpleViewer gallery 'Using an External Gallery Folder' detailed here: http://simpleviewer.net/simpleviewer/su … l#external
One method involves simply loading the gallery into an <iframe>, such as:

<iframe src="http://biz82.inmotionhosting.com/~memeca5/sv/ocz_v2_60/index.html" width="800" height="600" frameborder="0" scrolling="no"></iframe>
Steven Speirs
SimpleViewer Support Team

Re: Embed SWF, Help needed ASAP

Sorry the iframe option isn't allowed on eBay.

What other options do i have to embed it?

When embedding with flickr it works fine.

Thank you for your help

Re: Embed SWF, Help needed ASAP

The page into which the SWF file is being embedded is on eBay's servers.  Therefore, the paths to the images in the gallery's XML file will be relative to this page (and they won't be there).
Either use absolute paths for the imageURL , thumbURL and linkURL entries in the 'gallery.xml' file or use the baseURL option to set an absolute path which all relative paths will then be relative to.
http://simpleviewer.net/simpleviewer/pr … .html#html

Steven Speirs
SimpleViewer Support Team

Re: Embed SWF, Help needed ASAP

I just tried absolute paths in the XML and that worked.

Thank you very much this problem has done my head in for the last couple of days, i really appreciate the help :)