Iframe/Embed Canva Designs in Discourse posts

Hi

I have Canva designs that I would like to embed in my posts in the forum; however, even though I’m using the same ‘iframe’ html code that works for embeding/iframing other sites, it’s not working for Canva designs.

For instance, this would work:

<iframe width="100%" height="475px"
    src="https://meta.discourse.org/c/documentation/10">
  </iframe>

(given I’ve added it to allowed iframes in the site settings)

However, when it comes to Canva designs, they wont work even though I’ve added https://www.canva.com/design/* to the allowed iframes:

<iframe width="100%" height="475px"
    src="https://www.canva.com/design/DAGi7rMbwQI/DL_b2qdGHZhErapcUnzRlQ/view?embed">
  </iframe>

It’s supposed to appear like this:

But instead it’s blank (iframe is not rendered).

Any idea why this is happening and how to actually embed a Canva design? Here’s a reference from Canva: https://www.canva.com/help/embed-designs/

Thanks!

1 Like

Hi,

Allow https://canvas.com/ to be used in the settings as well.

The website redirects from www.canvas.com to canvas.

It won’t work by just allowing https://www.canvas.com/.

3 Likes

Hi @Arkshine

Thank you so much! Yes, fixing the URL in the iframe settings solved the issue. I’m so happy you helped me. Thanks again!! :slight_smile:

1 Like