jflowers45 Posted May 19, 2014 Share Posted May 19, 2014 Hi All, I've run into a bit of an odd issue trying to load images from one domain in particular. I initially thought it was a CORS issue but it only happens in WebGL, not CANVAS. Anyone understand this? Here's a canvas example with no problemhttp://flashysubstance.com/edmodoCORS/phaser-cors-canvas.html Here's a WebGL example using the same exact image that pukes with the following error: "Uncaught SecurityError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': The cross-origin image at https://u.ph.edim.co/default-avatars/46_140.jpg may not be loaded" http://flashysubstance.com/edmodoCORS/phaser-cors-auto.html Any insight would be appreciated. -Joe Link to comment Share on other sites More sharing options...
rich Posted May 19, 2014 Share Posted May 19, 2014 It is a CORs error. Here look: http://client.cors-api.appspot.com/client#?client_method=GET&client_credentials=false&server_url=https%3A%2F%2Fu.ph.edim.co%2Fdefault-avatars%2F46_140.jpg&server_enable=true&server_status=200&server_credentials=false&server_tabs=remote Look at your console after running. Link to comment Share on other sites More sharing options...
Recommended Posts