3D-image
3D-image copied to clipboard
Cross-origin data error when loading page
I get the following error in the browser when trying to load a 3D-image as noted in the Readme.
Uncaught (in promise) DOMException: Failed to execute 'texImage2D' on 'WebGLRenderingContext': The image element contains cross-origin data, and may not be loaded.
at h (https://unpkg.com/3d-image:1:3988)
at e.default.<anonymous> (https://unpkg.com/3d-image:1:4161)
at Generator.next (<anonymous>)
at a (https://unpkg.com/3d-image:1:2145)
Do you know what might be causing that?