Forum Discussion
Will_Findlay
7 years agoCommunity Member
Can Javascript access built in variables?
I'm trying to use this code in a trigger but it is just alerting with "null":
var player = GetPlayer();
alert(player.GetVar("Menu.SlideTitle"));
Am I doing something wrong, or are Built-In...
Will_Findlay
7 years agoCommunity Member
That's a great use I hadn't thought of!
I was actually doing this so I could put an Execute Javascript trigger on a Slide Master that would send the name of the slide to a Learning Record Store using xAPI. It actually works quite well and makes it so you only have to insert the javascript code once!
NancyWoinoski
7 years agoSuper Hero
Nice!