How To Fix Uncaught DOMException: Failed To Execute ‘toDataURL’ On ‘HTMLCanvasElement’: Tainted Canvases May Not Be Exported
Recently when I use Html5 canvas to capture video screenshots and save the screenshots to an image, it through the error Uncaught DOMException: Failed to execute ‘toDataURL’ on ‘HTMLCanvasElement’: Tainted canvases may not be exported. This article will tell you how to fix it.