Sketchfab Forum

Injecting text from another webiste directly into an annotation

annotations
feature-request
api

(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!


#2

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:

https://labs.sketchfab.com/experiments/annotations-sync/


(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.


#4

Awesome, keep us posted!