Storyline 3 content can not be played in desktop app

Sep 28, 2017

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

Uncaught Error: backbone missing jquery - app.min.js:1

 

PFA screenshot as well.

2 Replies
Troy Stanley

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.