Forum Discussion
BartVandenBr275
2 years agoCommunity Member
Javascript events in Storyline
Hi all, I am trying to send a custom javascript event from an embedded storyline web object to storyline. I would like to listen for this event in a javascript trigger. However, I am unable to...
GonzaloMerat-f3
2 years agoCommunity Member
Hello all,
I am trying to execute javascript in a virtual tour created with 3D Vista. The hotspot runs the following code:
const player = parent.GetPlayer();
player.SetVar("test", "1");
Then export the tour and embed into Storyline as a web object. I created a var named "test" with 0 as starting value, and a trigger to jump to the next slide if the variable "test" changes to 1.
And lastly, I publish the storyline in review360... but can't jump to the following slide clicking the hotspot. Could anyone help me? Not sure what I am doing wrong...
Thank you!