Embedding models on third party websites

Embedding models on third party websites

Anonymous
Not applicable
560 Views
2 Replies
Message 1 of 3

Embedding models on third party websites

Anonymous
Not applicable

Hi, I have uploaded my first model to the Autodesk Gallery. Now I am trying to embed the model to a third-party website (using the embed code that the gallery viewer produces), but I only get a blank black screen.

The model I am trying to embed: https://gallery.autodesk.com/projects/153398/transhuma-sigma-modular-construction-system

 

The embed code:

 

<iframe width="640" height="480" frameborder="0" allowFullScreen webkitallowfullscreen mozallowfullscreen src="https://gallery.autodesk.com/projects/153398/assets/552443/embed"></iframe>

 

The result:

 

Screenshot_65.png

JavaScript console:

Screenshot_66.png

 

Thank you for any hints

0 Likes
561 Views
2 Replies
Replies (2)
Message 2 of 3

OceanHydroAU
Collaborator
Collaborator

Modern web stuff blocks all kinds of security exploits and XSS attacks etc... there's a bunch of other stuff you've got to do to allow all those things to run in modern browsers (and if you're unlucky, so does https://gallery.autodesk.com/ too).

 

Head into google and ask how to run iframes (and limit your search results to the last year or so) - there's no doubt loads of tutorials for that now.

0 Likes
Message 3 of 3

BrianEkins
Mentor
Mentor

If I use that link outside of an iFrame it seems to work as expected, so the previous comment by @OceanHydroAU is probably pointing you in the right direction.  

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
0 Likes