Forum Discussion
GaryKenyon
9 years agoCommunity Member
SL3 Javascript GetPlayer() function not defined in HTML5 output
Hi forum.
I created a game a while back for SL2, my external JS file gets and sets a bunch of Storyline variables using GetPlayer, SetVar and GetVar.
With the release of SL3, I have published th...
FrankSiegel-c2e
9 years agoCommunity Member
Did this ever get resolved? I have the same issue. The story works fine in Articulate, but when we run in our environment (in an iFrame), when executing the JavaScript statement:
var player = window.parent.GetPlayer();
we get the following message in the web console:
window.parent.GetPlayer is not a function
The function is defined in app.min.js
Can you give me an update? Thanks
Related Content
- 6 months ago