Topic: Embedding viewer on a remote page, need help

Hi there.

First off I'd like to say that SimpleViewer is the perfect viewer app for what I have been trying to accomplish.  Great work Felix.

Now, I am trying to get my galleries to load within a seperate html page that does NOT reside on the same directory (or even domain at times) as the viewer itself.

My end goal is to use SimpleViewer for eBay listings, as I think that it is very eye catching and like it says, simple, and functional.

My problem is, nothing I try works!

I think the biggest problem is that I don't quite understand how to use the xmlpath imgpath and thumbpath vars, but I'm working on it!

Here is my test page, on it I've used the code provided by adobe to embed a flash movie on a page that should work in MSIE and FF/Moz/Opera as #1, and used the snippet of code Felix has given to a few others here which from what I can tell is almost the same thing, but does not have the <object> tags to make it cross-browser compatible, as #2.

http://www.black-dice.net/test.html

In IE6, #1 loads, and shows the "loading xml data" but doesnt load anything, again I think this is due to me not having the proper information to pass the actual xml data to the viewer since it is not in the same directory as the test page.  I have flash but havent purchased the source code yet to see if I can edit it to retrieve the xml.  #2 loads and when I hover over it with the mouse i get the alt text that says "Click to activate this control"  I click it, it loads and I have to right click and click "Play", which displays a viewer with no data that has the gallery browsing arrows and the download link.

In Firefox, both seem to do the same as in #2 in IE6, and I have to right click the movie and click play to display the controls and the download link.

Here is the actual viewer I am trying to load:

http://www.black-dice.net/images/auctio … 2006sonycd

I created it with the server side PHP generator.

Any help in fixing either of these embeds so that they work properly and editing my xml or even the .js files if I have to to make it reference the images and everything else correctly would be great!

Thanks!

Re: Embedding viewer on a remote page, need help

Ok in the last 15 minutes I managed to find a flash file embedded in a friends myspace page, which i added the base code into a new test page here as #3:

http://www.black-dice.net/test2.html

This one seems to load fine, and play by itself but stops after the loading xml bar finishes filling.  There is one variable in the code that I found that I do not know what to enter, that is "flashvars".  I assume it is to pass a set of variables to the swf? The one I found on my friends myspace page looks like a reference to her particular movie she made, but its really just a bunch of numbers and a url together to me.

The test2 html has the original code in comments if anyone can look at it and tell me what it is.

Seems to be a step in the right direction but not working yet.  Hopefully someone here can help solve my ignorance!

Re: Embedding viewer on a remote page, need help

I got a bit farther, all of the above links are still somewhat relevant because I really have no idea what will work in ebay.  I tried to edit the description of one of my current items and it loads the SWF with the simple embed command that is the 2nd example on this page:

http://www.black-dice.net/test4.html

but it looks just like these 2 examples do, there are no images loading.  I've used the FlashVars command to pass the xmlData path string to the swf and have it pointed to the xml file I have, but still to no avail.

Please help! Felix, anyone! sad

Re: Embedding viewer on a remote page, need help

I have SimpleViewer working on MySpace now smile  What i did was insert the full URL of the image and thumb locations into the imageData.xml file.  I then used this code to embed:

<embed allowScriptAccess="never" allownetworking="internal" src="http://www.houlbrooke.co.uk/cars/viewer.swf" FlashVars="xmlDataPath=http://www.houlbrooke.co.uk/cars/imageData.xml" bgcolor=#000000 WIDTH=425 HEIGHT=400 TYPE="application/x-shockwave-flash">
</EMBED>


Now if only i could work out how to do this with PostcardViewer big_smile

Re: Embedding viewer on a remote page, need help

Thanks! I will give it a try.  The variations of that I tried before never worked.

Re: Embedding viewer on a remote page, need help

anzxio,  cool -  whats your myspace page?

Felix Turner
SimpleViewer Support Team.

Re: Embedding viewer on a remote page, need help

Anzxio, what did you use to create your gallery? The php script or picasa or something else? I cut and copy your code into a page on my website and it works flawlessly, but when i swap the URLs out for my images, nothing loads  :cry:

Re: Embedding viewer on a remote page, need help

http://www.myspace.com/matthoulb

Re: Embedding viewer on a remote page, need help

very cool.

would you happen to know how to adapt this code to use autoviewer instead?

any help would be awesome  big_smile

Re: Embedding viewer on a remote page, need help

How would this be implemented with the 1.8 version?

I tried changing all the URLs to my host, but I don't get anything loading...

http://www.gbcue.com/test.html

Re: Embedding viewer on a remote page, need help

Hi,

did you manage to embed your gallery in remote page?
I have the same problem, so I wonder if you can give me a hint on how to solve it.
Thanks in advance,

Drazen

Re: Embedding viewer on a remote page, need help

You may be having trouble with flashes cross domain policy


http://www.adobe.com/cfusion/knowledgeb … d=tn_14213


http://livedocs.macromedia.com/flash/mx … 01097.html

http://www.adobe.com/cfusion/knowledgeb … d=tn_14213

Richard

in order to better assist you, please provide a url, relevant code and details about your problem.
Thanks!

Re: Embedding viewer on a remote page, need help

Embeding

Re: Embedding viewer on a remote page, need help

Hi Drazern,
I'm not familar with your template, Try this or a variation to match your template

From FAQ #11

http://www.airtightinteractive.com/simp … r/faq.html

Richard

in order to better assist you, please provide a url, relevant code and details about your problem.
Thanks!

Re: Embedding viewer on a remote page, need help

OK, thanks.

Re: Embedding viewer on a remote page, need help

drazen, IM me again tonight and I can help you, if you read this

Re: Embedding viewer on a remote page, need help

Hi,

I've added Q25 in the FAQ, that demonstrates how to load SimpleViewer into a MySpace page: http://www.airtightinteractive.com/simp … r/faq.html

Should help for any remote embedding.

Felix Turner
SimpleViewer Support Team.

Re: Embedding viewer on a remote page, need help

After spending nearly 10 hours attempting to figure out how to integrate the fantastic Simpleviewer photo gallery into my blog posts….I finally figured out a painless and insanely easy way to do it. So for my first every official post, I’m going to give you a quick run through.

http://www.berteblog.com/?p=14