skip to Main Content

I’ve set up with Advanced Custom Field a custom oEmbed field, called embed.

And it’s displayed in the front end in the simplest way :

the_field('embed');

Pasting the media url from Youtube, Vimeo or Souncloud works fine and the field displays the player and it’s content correctly.

However embedding Bandcamp content doesn’t work.
If i paste the url directly, it just displays the url and doesn’t grab the player from Bandcamp.
If i paste the iframe html provided by Bandcamp, it shows the html.

So i’m wondering if there is a workaround.

2

Answers


  1. Chosen as BEST ANSWER

    As pointed out by Roberto oEmbed doesn't support Bandcamp.

    Changing the field type from oEmbed to WYSIWYG did the trick for me and rendered bandcamp iframe, displaying the player as intended.


  2. ACF oEmbed field refers to WordPress Embeds feature.

    You can see the list of supported websites:
    https://wordpress.org/support/article/embeds/

    It’s seems that Bandcamp isn’t supported yet.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search