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.
- BrianAllenCommunity Member
James, I could be mistaken here but I believe what you're seeing is intended functionality. Would love to hear someone else weigh in, though...
- JamesLadnriganCommunity Member
Hmmm. That seems weird to me. But that could be just me being weird. Fingers crossed for some more light being shed.
- SUSANNEAXELSENCommunity Member
I am also trying to embed some html. All I see in preview is the code. This must be a bug.
- EfratMaor-bd553Community Member
I think you got it wrong, and that their intention was very simple - to show a piece of code, and to alow for copying it for reuse.
To be used in courses that teach coding...
There is no way to currently add any code into Rise, from wriiten answers in other threads. But is is on the roadmap.
The main issue is that adding codes - that will work well on all\most browsers and all\most devices - is very complex. And the current solution is more into simplifying the rapid authoring for mobile... - BrianAllenCommunity Member
I agree with Efrat, this is my opinion as well as far as what this is intended to be, just a way to show a piece of code.
With that being said, I also agree with James in that it really is misplaced if that's the case and shouldn't be under multimedia if it's purely text treatment.
In my opinion, for what it's worth, Rise is almost perfect the way it is. If I have more complex needs and want to add code and web objects and a bunch of the other stuff I'm seeing then I may as well use Storyline, which is geared for the more complex course development.
Brian and Efrat are correct here - it's a way of displaying the code as a snippet for other folks to see and as you mentioned Efrat, copy out if needed.
As far as location within Rise as a multimedia element, I'll share that with our team of Developers!
- JamesLadnriganCommunity Member
Thanks very much Ashley and Brian and Efrat for clearing that up. At least now I know my coding skills hadn't completely deserted me. I'll get on with using the other cool stuff in Rise and look forward to what's to come.
No problem James - and I did pass it along, cause I could see how that would be confusing for folks! Me, I don't have any clue about code so it seemed like as good a spot as any! ;-)
- MarkSiegristCommunity Member
Ha! Last night I did the same thing - while looking for a way to include an iframe in a lesson, I saw the Code Snippet block and thought it would be too good to be true. It was : )
- MajdRustam-dd97Community Member
Hey Mark
That's correct, the code snippet is potentially useless for most of us, but there is another way to include an iframe in your course.
In the block library, select Multimedia, then using the Embed block, you can put in your iframe code.
Hope this helps :)
- AmesAustraliaCommunity Member
Thanks Majd,
That sounds like a great solution and we were heading that way ourselves, so nice to know we're on the right track. We're interested in increasing the interactivity of Rise (eg, playing simple SCORM content (such as 360 quizzes etc) within Rise)... crazy I know (lot's of rabbit holes (just like my use of brackets)).
We're struggling to get it to be responsive using our rad iframe coding. Have you had any success doing that sort of thing? We're thinking more naked embed codes such as using prezi, google slides or H5P as a possible solution if we can't get articulates to play nicely within iframes.
Rise is very exciting and I really like your thinking and solution because to be frank, I have no hope of getting code snippet to work for me.
Hi Ames,
Thanks for chiming into this discussion! We've seen folks have success embedding published Storyline and Studio files into Rise using this embed code in an Embed/URL block or lesson:
<iframe src="Insert Your URL to the story.html Here"></iframe>
Let us know if you're having trouble embedding your published project, and we'll point you in the right direction!
- AnnDyellig-f8f9Community Member
Alyssa, thank you -- inserting your code with my snippet inside works well.
However, the intended video plays when I open the Lesson it is in -- even tho it is at the bottom of the things in that Lesson. Is there a way to play it only when clicked on?
I want to build a video library of sorts within a Lesson -- but I assume numerous videos would play simultaneously.
Any ideas on this?
Hi Ann!
Since my last post in this thread, we've added Storyline Blocks which make it much easier to embed Storyline content in Rise! You might want to explore that option rather than using an iFrame code.
And to prevent multiple videos from playing at the same time, try inserting a Continue Block between each embedded Storyline file. That will force the learner to click a button before the video will play.
I hope that helps!
- AnnDyellig-f8f9Community Member
Thanks -- that helps and it's a good reminder to start using SL Blocks in RISE!