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_
10 months agoCommunity Member
here is a small example
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="referrer" content="same-origin" />
<title>test</title>
<style>
</style>
<script>
var player = parent.GetPlayer();
var test1 = player.GetVar("test1");
player.SetVar("test2", test1.toLowerCase() );
</script>
</head>
</html>
https://360.articulate.com/review/content/d95eefc4-c24b-40e2-8a8a-6b78f88e439b/review