Storyline 2 to Storyline 3
May 19, 2017
Hello everyone, I am working on updating our current Storyline 2 template into Storyline 3. I have opened the module using Storyline 3 and have had Storyline 3 do an update on the file. For some of our template functionality we are using a custom .js file which contains our functions. This file has been linked in the story_html5.html file following the guidelines from https://articulate.com/support/article/Storyline-3-JavaScript-Best-Practices-and-Examples As far as I am aware the player_compiled.js file from the Storyline 2 published output contained a line "set var player = {slideIndex: 0, currentTime: 0, ext }" which would allow for custom JS functions to be created using these values. Also this file contained a few player functions such as "player.restart = function() {...}" as well. player_compiled.js no longer exists in the Storyline 3 published output, so just wondering if the name has changed and how to access these values.
10 Replies
Hi Christian,
Storyline players get stored as an *.xml file on your local hard drive and added to the list of available players you can apply to any course. Custom players are stored here:
%AppData%\Articulate\Storyline\3\Players
The player_complied.js is a part of the published output of and not something I can provide support for though - as we don't support editing it. Storyline 3 and Storyline 360 did include an entire rewrite to our publishing engine - so you may not find all the same files in the output.
Here is some additional information on customizing a player in Storyline 3.
Thank you for the reply, I will have to look into this further.
https://community.articulate.com/discussions/articulate-storyline/storyline-360-javascript-interaction
This topic seems is a similar issue to what we are experiencing. We have a file that we insert into the published output which holds our custom JS functions.
Example : player.SetVar("totalPages",story.allSlides.length - 5);
player.showSlideIndex(localCurPage + 3);
player.SetVar and player.GetVar are working fine. Has there been a resolution on how to pull information from the player?
Hi Christian - Thank you for linking to the similar discussion that you found.
We do not have any update to share at this time as our team is still looking into this. I will add this thread for both user awareness and so that we can update here when we can.
Thanks again for the link, that really was helpful.
Anyone in the community found a solution to this or similar issues?
Hi Christian,
No update yet - and I haven't seen a community solution here yet either. We'll keep you posted though with any other information!
Hi Team,
Is there any update on the above mentioned issue?
I am facing the problem in updating the score value on LMS with the custom variable used in story file. It is working properly in storyline2 using below JS but not in storyline3.
var lmsapi = parent;
lmsapi.SCORM_SetScore(48, 100, 80);
your support/help is much appreciated.
Hi Gouri,
I'm sorry to share that I don't have an update here - but we'll keep you posted once we do. I don't know if others in the community have resolved it yet, but please feel free to use the "contact me" button on their profiles to reach out directly if you'd like!
Hi Matthew,
Thanx for your prompt response!
I will try it out in my story file and will let you know the output.
Hi Matthew,
I am glad o let you know that the solution provided on the given link works proper with storyline 3.
The issue has been resolved.
Thank you very much for your assistance. :-)
This discussion is closed. You can start a new discussion or contact Articulate Support.