Forum Discussion
Code Snippets in Rise
Hi All,
I am having trouble with the code snippets in Rise. Should I be able to see the output when I preview because I only get the code?
Any thoughts would be great.
37 Replies
- AbhijeetPanditCommunity Member
Hi,
I found this article which is quite helpful to introduce jQuery in the Rise framework:
https://www.rabbitoreg.com/2016/11/26/articulate-rise-a-little-magic/
- CajaPopularM704Community Member
Wooow, great job!
- PaulKnights-45cCommunity Member
Can we just get a simple "embed an iframe" or a "url" option inside the multimedia tab in future releases pls.
We tried using the "embed" option and putting our own code/url in, and RISE is dumming this down and giving the user a link to content rather than displaying as is etc.
- gerryMayer-e37aCommunity Member
I agree it should be under TEXT because it is simply formatting...
- MataHenry-1476eCommunity Member
Agree with Gerry - this should be under text only. Having it under Multimedia is just deceiving (and subsequently disappointing)
- MartinDeanCommunity Member
I am trying to embed an iframe and RISE is not allowing the embed; saying "Please enter a valid URL or iFrame". The embed statement works ok elsewhere. Any suggestions as to why this would be?
Here is the embed statement:<IFRAME WIDTH="640" HEIGHT="360" SRC="https://sandbox5.luma.one/embed/?id=9D585E78383D401189FACA35F59577F3" FRAMEBORDER="0" ALLOW="autoplay; encrypted-media" ALLOWFULLSCREEN></IFRAME>
- gerryMayer-e37aCommunity Member
Hmm maybe it doesn't like the "s" try http://
Hi Martin. I changed the text to lowercase, and it worked for me. Let me know if you're still having trouble!
- JolleSOUSAHAQUECommunity Member
Is there any way of displaying GIFs in Rise? I wanted to include small "videos" but they're not long enough to justify uploading them as mp4 and forcing learners to press the play button on each one of them. I thought I could put them using the code snippet function but I realize now from reading this thread that it doesn't work that way.
Any suggestions?
Hi there, Joƫlle! You can use GIF images in the cover photo and virtually any block that supports adding an image file. Let me know if you see one that doesn't work.
- JolleSOUSAHAQUECommunity Member
I was waaaay overthinking, didn't even think to try to upload it as an image. Thanks :)
- FabioCafCommunity Member
instead of a picture, you upload a gif. It's possible
- MehdiKasumov-cbCommunity Member
Hi, in my RISE course I used this snippet
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Types of Spinal cord Injuries</title>
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>
</head>
<body>
<iframe src="http://elearninghome.xyz.on.ca/sd/training/courses/sip/tsci/story.html"></iframe>
</body>
</html>
but it did not work
can someone suggest what am I doing incorrect?- BrianAllenCommunity Member
This is expected behavior for a "code snippet".
Unfortunately the name on this is a little misleading. The intention of this snippet is to format a block of code on a page so that it stands out stylistically from the rest of the text on that page.
- JenniferKnott-4Community Member
Five years ago, there was this discussion about the need for users to embed operating code snippets for translation and not just for viewing the code. Any improvements in this direction??
- TatianaLeon-dfeCommunity Member
I does not work!
I need embed iframe code...
- KarlMullerCommunity Member
Hi Tatiana,
In the block library, select Multimedia, then create an Embed block.
Replace the default code with your iframe using this format:
<iframe src="Insert Your URL here"></iframe>
- TatianaLeon-dfeCommunity Member
Is there any way of displaying eXelearning activities in RISE? I wanted to include an interactive video activity, I exported as html file and SCORM as well, but it does not work!
Thanks,
Hi Tatiana,
Thanks for reaching out!
I'm not too familiar with eXelearning, but there are a couple of ways you can include an interactive video in your project. You could put the published interactive video onto a web server and use an iframe and embed the block in Rise. Here are some additional resources that you may find useful:
You can also create an interactive course in Storyline, and use Storyline blocks to embed it into your Rise 360 course. If you have additional questions, please let us know! You can reach out to our team here, or privately in a support case.