Forum Discussion
JigneshShah-594
11 months agoCommunity Member
Send storyline variable to the WebObject
I am trying to either send or access storyline custom created variable into the WebObject which is embedded in storyline. I am not able to send or receive variable values either ways. Browser is thr...
Jürgen_Schoene_
11 months agoCommunity Member
from the webobject (= iframe) you need the command "parent.GetPlayer()"
var player = parent.GetPlayer();
// readplayer.GetVar('testVar');
// write
value = 'this is a text';
player.SetVar('testVar', value);