Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Embedded Player Color

Embedded Player Color

Country USA

 

Device

On any device or OS

 

My Question or Issue

Hi - my question is after copying and embedding the player code onto my website, all works fine (album pic shows, tracks all show and play, etc). However, the background color at the top is brown and the background color below with the tracks is very dark brown

(<iframe src="https://open.spotify.com/embed/artist/3M8M8iW5hFIfaVgGSubcaT" width="300" height="380" frameborder="0" allowtransparency="true" allow="encrypted-media"></iframe>).

 

I noticed on the developer pages under Widgets the example shown is purple (https://developer.spotify.com/documentation/widgets/).

 

My site is light blue and the brown is a big contrast.

 

Are these colors fixed for all players (are all brown)? Or is there a place where it's drawing from to use for the background color? I can't tell from the iframe code.

 

I am the artist and also a light/moderate developer (not a pro developer). Any help would be very grateful so that the player can somehow match my site's color scheme.

 

Thanks so much!

Reply
4 Replies

Hey @kevinviola, thanks for coming to this board for help!

 

Widgets are a great way to promote music! The background color of the widget is based on the "context"-image (artist, album, playlist).

 

To get something more in theme, I recommend creating a playlist with the tracks you'd like to highlight and then change the playlist image to something similar to your websites color scheme. Let me know if that works! 🙂

 

Have a good one,

Hubo

HuboSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

I tried that. But it didn't work. Maybe i understood wrong. i will create a playlist. then widget color of songs are going to change. isnt it?

Hi - For Baran or any one else that might be having this issue. 

 

To elaborate on the first reply - what worked for me changing the player to use an album from the artist, instead of the "top songs" which derives its color from the artist's profile picture. 

 

After changing from the top songs to an album from the same artist, it no longer used the profile picture as the context image and changed from a brownish color to blueish, reflecting the color context from the album cover. 

 

I imagine, if you made a playlist from the artist's songs, it would likely just use the same context colors if the album art is similar to the artist's profile picture. 

 

I imagine what Hubo is recommending is being able to update the artist/song picture on Spotify for Artists where you can add your own photos (I think?), and after the change takes, it should change the player background color to reflect the updated/new picture you put for the album/artist. 

 

Hope this helps 🙂

-Gorillana

Hello everybody,

reopen this thread:
I ask you if it is possible to change the colors of the Spotify widget present in the iframe from code.
From "inspect/dev tool" of my browser I can change the style of the player but I don't know how to deploy.
Can you help me?
The image is exactly how I would like the player to look.

Schermata 2023-01-22 alle 18.34.13.png

Thnx 

Bye

Stefano

Suggested posts