Hi there.
Since you have gotten easyXDM to work with a lightbox, I was wondering if you might be able to offer me some wisdom. I did what I thought was described above, but it's not working.
I have a snippet of javascript running in the consumer, which returns to the consumer a URL for them to open in an iframe containing some interesting content to show to the user. When the consumer opens the URL in a lightboxed iframe, the callback to my code to let me know that the iframe is loaded. At this point, I create an easyXDM RPC object like below:
Inside the content_url iframe, I created another RPC:
However, I'm seeing the following error backtrace in the console:
I'm not sure why it is trying to call resolveUrl from the iframe at this line:
config.remote = resolveUrl(config.remote);
My iframe content doesn't (and shouldn't, right?) have a remote defined.
I appreciate any help.
-Chris