Rendering the Embed Field
The Embed field will let content authors paste an oEmbed supported service resource URL (YouTube, Vimeo, Soundcloud, etc.), and add the embedded content to your website.
Before Reading
This page assumes that you have retrieved your content and stored it in a variable named document.
Output as HTML
Here's an example of how to retrieve and render the HTML for an Embed field. In this case, the API ID for the Embed field is video.
Copy
<div dangerouslySetInnerHTML={{ __html: document.data.video.html }} />