So I'm having some troubles to put the video of an Axis Camera into a Texture.
The Axis Camera is returning the wanted video into a picture. The picture src is the camera IP address.
I wanted to put directly the picture into the texture, but I got an error from the Cross-origin resource sharing... I did some research on Internet and I found this link. Therefore, I wrote the exact same code and it worked well with the webcam, and the 71st version of Three Js ! However, when I wanted to test it with my axis camera, it was sending me the same error :
Uncaught SecurityError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': Tainted canvases may not be loaded.
Does someone have an idea about how to solve this problem ?