beans
May 11, 2022, 6:21am
1
I am unable to add oEmbed links to Canva designs. I have checked that they are valid oEmbed links on https://iframely.com/ but when I try to add it to a Prismic document I get an error
This URL doesn't support oEmbed spec.
Here is an example Canva oEmbed link I am trying to add: https://www.canva.com/design/DAFAXsVdnnY/view
Pau
May 11, 2022, 4:04pm
3
Hey @beans , this URL isn't valid for the Embed field, you can check if the URL has a valid oEmbed format here: Validate Provider oEmbed Endpoint | Embedly .
But you can still paste it in your documents using a custom code field:
To add a custom embed code or raw HTML, you will first need to set up a unique field or Slice specifically for this. Then you will need to add code to your website application to handle this new field.
1. Create a new field for the HTML
You have two options, using a Key Text field or a Rich Text field.
with a Rich text field
We recommend you using a customized Rich Text field specifically for your custom code. You will need to configure the field to "Allow multiple paragraphs" and set the fiel…