Using the Viewer API offline


(Doctypedigital) #1

Hi folks,

I’m working on a project for a client that involves using the Viewer API. I’m using it in the “normal” way by including a link to <script type="text/javascript" src=""></script> in the site header and then using client.init to initialise the model.

However, it’s been suggested that they might need to use the app in a location where no internet connection is available. Is it possible to do this? Obviously I can store the JS file alongside the rest of the app, but I’m just unsure as to whether it’s possible to save/serve the model locally, too, and whether the API supports this type of connection?



(Shaderbytes) #2

no it is not possible the viewer is always a 3rd party iframe embed , just like youtube player etc…