Bandcamp embedded players not working

Are Bandcamp embedded players supposed to work in Discourse posts? When I try to include embed code in a post, it shows up as an empty frame.

The following is an example of Bandcamp embed code:

<iframe style="border: 0; width: 350px; height: 470px;" src="https://bandcamp.com/EmbeddedPlayer/album=854952070/size=large/bgcol=ffffff/linkcol=0687f5/tracklist=false/transparent=true/" seamless><a href="http://glisteningexamples.bandcamp.com/album/this-is-what-i-do-volume-21">THIS IS WHAT I DO - VOLUME 21 by Jason Lescalleet</a></iframe>

Have you added Bandcamp to the list of allowed iframes in your site settings?

1 Like

Why not paste an URL to the bandcamp track (or album) on a line by itself?

https://mosessumney.bandcamp.com/track/man-on-the-moon-reprise

3 Likes

Thanks, that works! The iframe gets enclosed in a frame too small for its contents though, so it doesn’t really work that well.

You’re right, thanks! I forgot to try that.

1 Like

Just an FYI to anyone who stumbles upon this issue who might be in the same position I was earlier today. When you past the link to a single track, you will not see the embed show up in the preview but an image of the album artwork instead, which makes it seem like the embed doesn’t work, but once you publish it does work!

5 Likes