Sketchfab Forum

Injecting text from another webiste directly into an annotation


(Jon Russell) #1

Does anyone know if it is possible to inject text from a website straight into an annotation box? Or, if htis is theoretically possible with javascript?

Thanks in advance!


Hi Jon,

We don't expose Annotations in the public APIs, and you would not be able to do it yourself because of CORS.

A solution could be to use annotation events and build your own GUI on top of the viewer:

(Jon Russell) #3

No worries, thanks for the answer. Im working on it now, just wanted to make sure I was not reinventing the wheel. Will let you know how it goes.


Awesome, keep us posted!