Accessing storyline's properties through javascript (formely done with player object) Nov 24, 2016 By nicolas lacroix Hi, On storyline 2, you accessed storyline's variables with javascript through the player object. But on 360's html5 export, the object isn't there anymore. Was it replaced with another? If so, what is it and is it the same logic as before? Thanks!
Ashley Terwilliger-Pollard Staff over 7 years ago11/28/16 at 4:15 pm (UTC) Glad you were able to figure that out Nicolas - thanks for coming back around to provide an update here.
Mathew Araujo 7 years ago02/15/17 at 6:43 pm (UTC) Hey Nicolas, thanks for posting this. I'm having a similar issue, but I'm unable to call similar things as I did in SL2. For example, I'm unable to call player.currentSlide() or at least am unable to find it. How did you go about this?
3 Replies
Found it : .window.GetPlayer()
Glad you were able to figure that out Nicolas - thanks for coming back around to provide an update here.
Hey Nicolas, thanks for posting this. I'm having a similar issue, but I'm unable to call similar things as I did in SL2. For example, I'm unable to call player.currentSlide() or at least am unable to find it. How did you go about this?
This discussion is closed. You can start a new discussion or contact Articulate Support.