Media control card background color issue

Hello everybody,

I’m having an issue with the media player card (relative to a chromecast).
The background should be color based on the album art that is currently playing, but all I see is the default-blu shade over the album art.
Looking in the chrome console i see this error:

Error getting Image Colors DOMException: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data.

But checking the URL of the artwork I can see that the origin is the same :thinking:, pointing at the api/media_player_proxy (I’m using a duckdns.org URL with https), so it’s like:

https://xxxxx.duckdns.org:8123/api/media_player_proxy/media_player.chromecast?token=xxxxxxxxxxxxxxxxxxxxxxxxx&cache=xxxxxxxx

So, i guess it should not considered cross-origin data…

Anyone have the same issue? Any advice on how to solve it?

Thanks in advance

I think it would be better to open an issue in the frontend repo.