Sketchfab model into adobe captivate with javascript


(Markyt) #1

Hi everyone. I know I can embed a 3D Sketchfab model into Adobe Captivate by using a web object and embedding the code, but now I'm trying to do the same with Javascript. Has anybody managed to do something like this?
I figured if I could get this work, I could add buttons to control the model from inside Adobe Captivate.

Any advice would be gratefully received!


#2

I'm not familiar with Adobe Captivate, but we have an oEmbed API endpoint that will return the iframe code:

https://sketchfab.com/developers/oembed


(Markyt) #3

Thanks for this James. Looking at it oEmbed doesn't seem to have the facility to control the model from outside of the viewer. My ultimate aim is to get a model into Captivate and create my own buttons to jump to different viewpoints. I just need to figure out how the Captivate and Sketchfab APIs to talk to one another. I'll keep trying!


#4

Ah ok, then you'll want the Viewer API. Here are some resources and examples:

https://sketchfab.com/developers/viewer
https://help.sketchfab.com/hc/en-us/articles/201343059-Sketchfab-Labs-and-Fritures
https://blog.sketchfab.com/how-terma-built-their-interactive-website-with-sketchfab/
https://blog.sketchfab.com/zodiac-built-interactive-boat-configurator-sketchfab/
https://blog.sketchfab.com/viewer-api-part-1-introduction/
https://blog.sketchfab.com/learn-to-code-with-the-sketchfab-viewer-api-part-2-controlling-the-camera/
https://forum.sketchfab.com/t/viewer-api-and-javascript-development/77485


(Markyt) #5

Many thanks for this James