My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

Cross Origin issue while using getImageData() on canvas.

Ankur Singh's photo
Ankur Singh
·Aug 27, 2019

I have attached an online video URL on my web page, and I'm taking a snapshot of the video by creating a canvas, now I'm trying to use getImageData() function to operate over that canvas. But I'm getting The canvas has been tainted by cross-origin data’ in HTML? error. How I can solve this?