Docs
v4
API Docs

FAQ

Browser Support

WebGL Renderer:

  • IE 11+
  • FF 15+
  • Chrome 11+
  • Safari 5.1+
  • Opera 19+
  • iOS Safari 8+
  • Firefox for Android 45+
  • Android Browser 47+
  • Opera Mobile 36+

Canvas Renderer (slower than WebGL):

  • IE 9+
  • FF 10+
  • Chrome 11+
  • Safari 2.0+
  • Opera 12+
  • iOS Safari 3.2+
  • Firefox for Android 45+
  • Android Browser 3+
  • Opera Mobile 12+

CORS issues

The following error messages indicate that the image you have passed to the SDK could not be loaded due to Cross-Origin Resource Sharing (CORS):

  • Failed to execute 'texImage2D' on 'WebGLRenderingContext': The cross-origin image at [...] may not be loaded.
  • SECURITY_ERR: DOM Exception 18
  • Unable to get image data from canvas because the canvas as been tainted by cross-origin data.

In this case:

  • If you’re loading images from S3, make sure you created a CORS policy for your S3 bucket (More information here)
  • If you’re loading images from your own server, make sure the CORS header is set (More information here)
  • Make sure you enable CORS for the loaded image (More information here)