All Collections
Pages CMS
Using iframes to embed content
Using iframes to embed content
S
Written by Sonal Singhal
Updated over a week ago

If you would like to add content such as video players and surveys into pages in your Community, you can use an iframe to embed the content. As an example, if you want a YouTube video, you can use an iframe to embed the video on a page, this means that a YouTube video player that contains your video will be added to the page.

In this article:

  • Allowed iframes

  • Adding an iframe

Allowed iframes

We allow iframes to be embedded from a specific list of websites. It is possible to hide malicious code (computer viruses and malware) in iframes, so to protect our users, we restrict the sites from which we will allow iframes.

You can embed iframes from the following sites:

  • YouTube

  • Vimeo

  • Cincopa

  • Boombox

  • Vidyard

  • TED

  • Soundcloud

  • Google Docs, Forms & Sheets

Please note that this list is not an endorsement of these services, you use these services at your own risk.

If you'd like to embed content from a website that isn't listed above, please contact us at help.medallia.com to discuss this.

Adding an iframe

You can use iframes to add content to a custom page or the full brief of a challenge. It is not difficult to add an iframe, though it's better if you have some knowledge of HMTL tags.

Before you edit the page or brief, you will need the iframe embed code of the item that you would like to add to the page.

This code will look different depending on which website you are getting content from. As an example, when you want to embed a video from YouTube, the code will look like this:

<iframe width="560" height="315" src="https://www.youtube.com/embed/ddKlvLxdoS8" frameborder="0" allowfullscreen></iframe>

You then need to add this code to the HTML of the page, or section where you want to the content to be.

To add the code:

1. Go to the editing view of a custom page or the full brief of a challenge. In the formatting options, at the bottom of the text box, click the button that says ' HTML'

2. A pop-up window will open showing the HTML for the text you're editing. In this window, Paste the iframe embed code in the place where you want the content to be.

3. Click Update to save and close the HTML window, then click Save to save the changes to the page/full brief.

Did this answer your question?