We are trying to implement desktop application (on NodeJS and electron) for our own Storyline 3 content. Content will be launched in Chromium browser within desktop. But when I am pointing story_html5.html, I am getting only loader and content is not getting loaded. On console I am getting following errors -
Uncaught TypeError: Cannot read property 'any' of undefined - story_html5.html:20
Uncaught TypeError: Cannot read property 'any' of undefined - story_html5.html:41
Troy Stanley a moment ago This is the answer to this question for either the classic or the modern player running in NodeJS.
<script> if (typeof module === 'object') {window.module = module;module = undefined;} \\external jQuery not needed if (window.module) module = window.module; </script> It's a scope issue due to Node integration.
2 Replies
Hello Kamal and welcome to E-Learning Heroes :)
You can check out our supported viewing requirements in this documentation.
Sounds like you are going for a more custom set-up, so I will defer your question to the community.
This post was removed by the author
Troy Stanley
a moment ago
This is the answer to this question for either the classic or the modern player running in NodeJS.
<script>
if (typeof module === 'object') {window.module = module;module = undefined;}
\\external jQuery not needed
if (window.module) module = window.module;
</script>
It's a scope issue due to Node integration.
We are using NodeJS to run Storyline content in a secure copy protection system on custom flash drives and we came across this issue for, well, months. If only we would have known how to google it better... https://stackoverflow.com/questions/32621988/electron-jquery-is-not-defined
Sincerely,
Troy Stanley
Every USB
www.everyusb.com
This discussion is closed. You can start a new discussion or contact Articulate Support.