Forum Discussion
Storyline 360 JavaScript does not run in Publish mode...
Hi Nedim ,
Thank you for your reply. I am publishing this to the Web. What's weird is that it works perfectly in preview mode and then once published for the web, it stops working. I don't even see it running in the browser console. It used to work, and just stopped.
When you publish to Web, your slide is likely running from a local path (e.g., file:///C:/path/to/story.html) instead of a local server. I’m assuming it’s running from a local path. Try opening your project folder in an editor like Visual Studio Code, navigate to story.html, and start it using the Live Server extension. This will simulate a server environment with a local server address, such as 127.0.0.1:5500/story.html. Does it work in Review 360? Alternatively, you can publish your project to SCORM and upload it to your LMS or SCORM Cloud. Afterward, confirm if your code is working.
- MColantonio9 months agoCommunity Member
Thank you, Nedim! I'm now receiving the following error... "actionator::exeJavaScript - this.execUserJs is not a function" I removed all the JavaScript from the project and am going to try and run it with just one script on one button and see if that works... Fingers crossed!