Forum Discussion
Storyline 360 JS: Pointing to a local file instead of a URL
Looking at JLiu's and Chris Hodgson's solution to integrate canvas-confetti.js into the Storyline slide stage and looking over this code:
var confettiScript = document.createElement('script');
confettiScript.setAttribute('src','https://cdn.jsdelivr.net/npm/canvas-confetti@1.5.1/dist/confetti.browser.min.js');
document.head.appendChild(confettiScript);
I am wondering if there is a way that the "src" attribute can point to a local file? I was wondering about a webobject. I am not sure if this would be the case?
See this post for using web objects to load files.
How to add jQuery or anyother external Javascript Library to Storyline | Articulate - Community
- DJumeau_DnD_CACommunity Member
Seems that I have to drag and drop the file into the "story_content" folder and modify the story.html file.
I was hoping just linking to a WebObject and everything would sort itself out.
#PushingOn
- Nathan_HilliardCommunity Member
See this post for using web objects to load files.
How to add jQuery or anyother external Javascript Library to Storyline | Articulate - Community