No support for Bandcamp embed (how can I contribute)

TEMPLATE:

ghost 3 (newest version)
installed and configured via ghost-cli
node: v10.18.0
database: mysql Ver 14.14
browser: chrome

When attempting to “paste URL to add embedded content”, I paste in the following “embed code” from the bandcamp page:

<iframe style="border: 0; width: 350px; height: 470px;" src="https://bandcamp.com/EmbeddedPlayer/album=215753679/size=large/bgcol=ffffff/linkcol=0687f5/tracklist=false/transparent=true/" seamless><a href="http://mackenziewiddows.bandcamp.com/album/mackedamia">Mackedamia by Mackenzie Widdows</a></iframe>

After pasting (and pressing the enter key) I see a red validation error “There was an error when parsing the URL. Retry. Paste URL as link”

In the console I see the following GET call has received a 422 status code:

vendor.min-5617e1540786def6dcdc08a402e4e90e.js:917 GET https://codydjango.com/ghost/api/v3/admin/oembed/?url=%3Ciframe%20style%3D%22border%3A%200%3B%20width%3A%20350px%3B%20height%3A%20470px%3B%22%20src%3D%22https%3A%2F%2Fbandcamp.com%2FEmbeddedPlayer%2Falbum%3D215753679%2Fsize%3Dlarge%2Fbgcol%3Dffffff%2Flinkcol%3D0687f5%2Ftracklist%3Dfalse%2Ftransparent%3Dtrue%2F%22%20seamless%3E%3Ca%20href%3D%22http%3A%2F%2Fmackenziewiddows.bandcamp.com%2Falbum%2Fmackedamia%22%3EMackedamia%20by%20Mackenzie%20Widdows%3C%2Fa%3E%3C%2Fiframe%3E&type=embed 422

What can be done to have Ghost support Bandcamp embeds? Bandcamp is a highly popular music site.

Is there developer documentation for creating embed options? Bandcamp deserves to be alongside Spotify and Soundcloud, in my opinion. I don’t mind trying my hand at this if someone can point me in the right direction.

@Cody_Redmond bandcamp doesn’t support the oembed format from what I can see so there’s no support for pasting a bandcamp url into the embed card.

However, the embed code that you’ve shown above is supported, you need to paste it into a HTML card rather than an embed card because you already have the html.

1 Like

ah, of course. Thanks Kevin!