I’ve been doing a lot of work with three js and cross-origin content this year. Up until now most of my development has been on Windows and Mac. I just switched over to Linux (because that’s where I’m most comfortable) and I’m running into issues when testing my site.
On Windows and Mac the site loads perfectly. << (This is not true anymore. This problem seems to affect Chrome on all platforms.) When I try to access the same site on Chrome on Linux though, I get a LOT of:
THREE.WebGLState: DOMException: Failed to execute 'texImage2D' on 'WebGLRenderingContext': The video element contains cross-origin data, and may not be loaded.
I can insert the video element directly into the web page and play it, so I know it’s not a browser policy issue. Any help would be appreciated!
EDIT: I don’t know if it makes a difference, but there’s a branch of the site that uses MSE to stream some of the larger video content. MSE-streamed content works perfectly fine, it’s just the traditionally requested CORS content that’s throwing an error.