My fault, I forgot to include the code to inject the uploadcare js in case is not still injected, as in the example I was including it directly on the html.
It throws the following error if you try to use outside the example:
aframe-inspector.min.js:32 Uncaught ReferenceError: uploadcare is not defined
at t.value (aframe-inspector.min.js:32)
at e.notifyAll (aframe-inspector.min.js:2)
at o.close (aframe-inspector.min.js:18)
at o.closeAll (aframe-inspector.min.js:2)
at o.perform (aframe-inspector.min.js:2)
at r.perform (aframe-inspector.min.js:2)
at r.perform (aframe-inspector.min.js:2)
at Object._ [as flushBatchedUpdates] (aframe-inspector.min.js:2)
at o.closeAll (aframe-inspector.min.js:2)
at o.perform (aframe-inspector.min.js:2)
My fault, I forgot to include the code to inject the uploadcare js in case is not still injected, as in the example I was including it directly on the html.
It throws the following error if you try to use outside the example: