iFrame Code not working in Rise

Jul 25, 2019

Hi Heroes,

Here is my iFrame code:

<iframe src="https://arrivehydrated.cremedelamer.com/ " style="border:0px #ffffff none;" name="myiFrame" scrolling="no" frameborder="1" marginheight="0px" marginwidth="0px" height="400px" width="600px" allowfullscreen></iframe>

When I check it, it seems to work fine but I'm getting a dreaded "Please enter a valid URL or iFrame" message in the Multimedia Embed feature. Any help would be appreciated 

31 Replies
Alyssa Gomez

Hi Andrea!

Try simplifying your iFrame code by using the formula <iframe src="URL"></iframe>.  Just replace URL with the link for the content you want to embed.

Copy this code below, and paste it in the Multimedia Embed block. 

<iframe src="https://arrivehydrated.cremedelamer.com/"></iframe>

Don't forget you can also change the embed width under the Settings tab. Let me know how it goes!

Heather Gibbs

Hello,

I'm trying to use an iframe code provided by the CDC, https://tools.cdc.gov/medialibrary/index.aspx#/microsite/id/403323, in Rise.  When I paste it in it tells me to enter a valid URL or iframe.  The CDC does say " Some content management systems, including Google Sites, do not support iframes, and so will not support the current CDC microsite versions."  I'm working in Google Chrome. 

Heather Gibbs

I have a follow-up question/observations actually.  On the iframe example you sent it shows the larger CDC page, with the preview and embed tabs.  I want just the content that is shown under the preview to be displayed, which I believe is what the embed code the CDC provides would do, vs using the site URL.  I've attached screenshots of what I'm talking about.  Is it possible to just embed the preview content in Rise? 

Alyssa Gomez

Hello, DFS University!

Crystal's sample uses a Multimedia Embed block. You can insert a standalone URL, and that will allow learners to click a link to view the website outside of the Rise 360 course.

You can also use an iframe code like the one below to embed the website directly inside of your Rise 360 lesson. 

<iframe src="URL HERE"></iframe>

Heather Gibbs

Hello, I have another question about using a CDC embed code in Rise 360.  The following code offered by the CDC is not working.  Based on what I've read elsewhere, I've tried converting the quotes from single to double and adding <iframe before and </iframe> after.  I've also read that for Rise you need to remove the non-iframe code, but that is necessary for this embed to work.  It denotes the color, theme, and language.  

<div data-cdc-widget='healthBot' data-cdc-theme='theme1' class='cdc-widget-color-blue' data-cdc-language='en-us'></div>
<script src='https://t.cdc.gov/1M1B'></script>

Any help or advice you can provide would be appreciated! 

Alyssa Gomez

Hi Heather! I was able to create a new iframe code for you to use in a multimedia embed block

<iframe src="https://covid19healthbot.cdc.gov/"></iframe>

This embedded content doesn't include a title, so you may want to add a "Coronavirus Self-Checker" heading above the embed block. I hope this helps you!