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.

// In a React component
render () {
  return <div dangerouslySetInnerHTML={{ __html: }} />

Was this article helpful?
Not really
Yes, Thanks

Can't find what you're looking for? Get in touch with us on our Community Forum.