Forum Discussion
Embed code using javascript
Hello Nathan,
Thanks for responding to me. My preference was to use the usual video embed code (an iframe) but when I scorm and export the project to upload to our SAP based LMS the published output contains a bunch of special characters from the embed code that the LMS can't cope with. I would love to upgrade our LMS, but that is not an option. I did note that our video host provides both iframe codes and references to java script. <script src="//play.viostream.com/embed/nixx79jdue59er"></script>
I tried putting this into the embed code editor, but it does not work either.
So my question was how else can I use that code in the project? I was thinking perhaps I could create a .js video script, add it to the story-content folder and update the story.html file as they suggest in the help documentation.
The script you mention appears to be the actual player rather than the video.
Do you normally just do an insert video in SL with your embed code? Are you able to share the the embed code for the video? When you say there are special characters in the published scorm output, how do you know, and can you share the modified embed?
Possibly you could insert a web object into SL instead of a video, and craft your own mini page inside the index.html that would load the player script and the video embed? It's difficult to speculate without something to test.