Forum Discussion

JamesLadnrigan's avatar
JamesLadnrigan
Community Member
9 years ago

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

  • 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.

    • MataHenry-1476e's avatar
      MataHenry-1476e
      Community Member

      Agree with Gerry - this should be under text only. Having it under Multimedia is just deceiving (and subsequently disappointing)

  • MartinDean's avatar
    MartinDean
    Community 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>

    • Crystal-Horn's avatar
      Crystal-Horn
      Staff

      Hi Martin. I changed the text to lowercase, and it worked for me. Let me know if you're still having trouble!

  • 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?

    • Crystal-Horn's avatar
      Crystal-Horn
      Staff

      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.

      • JolleSOUSAHAQUE's avatar
        JolleSOUSAHAQUE
        Community Member

        I was waaaay overthinking, didn't even think to try to upload it as an image. Thanks :)

    • FabioCaf's avatar
      FabioCaf
      Community Member

      instead of a picture, you upload a gif. It's possible

    • BrianAllen's avatar
      BrianAllen
      Community 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.

  • 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??

    • KarlMuller's avatar
      KarlMuller
      Community 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>

  • 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.