Forum Discussion
iFrame Code not working in Rise
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
Hi Andrea!
Try simplifying your iFrame code by using the formula
<iframe src="URL"></iframe>
. Just replaceURL
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!
- ValentinaFra290Community Member
Hello Alyssa, I am having this issue as well and your suggested formula is not working. Now, I wonder if video is a media that can be added to the process block with an embed file.
Hi Valentina!
Yes, you should be able to use the iFrame code formula
<iframe src="URL"></iframe>
in a process block.Would you be willing to share your iFrame code with me? I'd be happy to take a closer look!
- JeffStevens-200Community Member
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.
Hi there, Heather! I used that URL to make a sample course here. I used both the URL, and then I added it to an iframe.
Here are some things to consider when checking out your embed codes. Let me know if it's giving you trouble!
- DFSeCAMPUSCommunity Member
Hi Crystal, I was reading through the thread and saw your sample. Can you clarify how the first test was created? I thought it was a code snippet block but I was wrong. Thanks a lot! - J
- JeffStevens-200Community Member
Hi Crystal,
I was trying to copy the embed code exactly as the CDC had it listed and I see you changed it. And it works! Thank you for your help on this.
Heather
- JeffStevens-200Community Member
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?
- JeffStevens-200Community Member
Hi Heather!
Try using this embed code, and let us know if that's closer to what you're looking for:
<iframe src="https://www.cdc.gov/coronavirus/2019-nCoV/summary.html"></iframe>
For best results, click the Settings tab, and set the Embed Width to Full Width.
- JeffStevens-200Community Member
That is closer, though not the same, and will work. Are you also not able to use the embed link the CDC is offering? I'm fine with a work around, just wondering if it's me not being able to embed the link they offer or if it's not possible in Rise for some reason.
The embed link offered by the CDC website doesn't work in Rise 360, so I would use the one Crystal provided or the one I shared.
<iframe src="https://tools.cdc.gov/medialibrary/index.aspx#/microsite/id/403323"></iframe>
-or-
<iframe src="https://www.cdc.gov/coronavirus/2019-nCoV/summary.html"></iframe>
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>