The discussion revolves around Bandcamp embedded players not working in Discourse posts. aknudsen initially reports that embedded iframe code results in an empty frame. Stephen suggests checking if Bandcamp is allowed in the site’s iframe settings, which resolves the issue, though the embedded frame is too small. codinghorror recommends pasting the Bandcamp URL directly, which works. aknudsen confirms this solution. Lokua adds that while the embed may not appear in the preview (only showing album artwork), it functions correctly after publishing.
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>
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!