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 个赞

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 个赞

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 个赞

只是为了让任何遇到此问题并可能处于我今天早些时候相同状况的人了解一下。当你粘贴单个音轨的链接时,你不会在预览中看到嵌入式播放器,而是看到专辑封面图片,这会让你觉得嵌入式播放器不起作用,但一旦你发布了,它就会起作用!

5 个赞