Forum Discussion
DarrylPalaub492
4 years agoCommunity Member
SL360: Javascript GetPlayer() function is not defined
Hi, Everyone.
How to get a variable value from the storyline 360 using external javascript with GetPlayer, SetVar, and GetVar, but it doesn't work. It always gives an error like this "Uncaught Ref...
Jürgen_Schoene_
4 years agoCommunity Member
use in trigger
var player = GetPlayer();
not
var player = parent.GetPlayer();
this is used in web object (= iframe)
Jürgen
DarrylPalaub492
4 years agoCommunity Member
Thanks for this, but still got an error when I'm using this code:
var player = GetPlayer();
Error: Uncaught ReferenceError: GetPlayer is not defined
- Jürgen_Schoene_4 years agoCommunity Member
upload a storyline source file with your javascript code
- DarrylPalaub4924 years agoCommunity Member
Storyline and SCORM files are now uploaded in the post, please see the post, it's now updated and more detailed. Thank you!
Related Content
- 5 months ago