Quantcast
Channel: 3D Warehouse - SketchUp Community
Viewing all articles
Browse latest Browse all 1087

Embedded 3D Warehouse iframe events

$
0
0

@calocan wrote:

Hello,

I am embedding 3D warehouse models on my web site using the iframe embed code. This works superbly. I would like to be able to advance the scene of the embedded model programmatically with javascript when the user scrolls through some accompanying text. Unfortunately because of same-origin policies (my website is naturally not hosted on 3dwarehouse.sketchup.com), I cannot simulate a click of scene menu buttons programmatically, and because the 3D warehouse model javascript is minified, I cannot tell if there are exposed event handlers that would permit me to call a method cross-origin that changes the scene (I suspect not). Is there any way to get some API information about the iframe javascript code? Is whoever made that part of the SketchUp team?

Thanks

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 1087

Trending Articles