Video Open DIRECT
Prinvid Direct
Opens the prinvid directly, used for triggering a video on certain node changes. Remember to specify the node folder if the video exists as a clickable hotspot in another node. Replicate this object and add a trigger click action to the hotspot template, using logic to check the contents of the hs description field. Use the text in the description to determine what video to launch via a click on one of the _video_open_direct_videoname objects.
Post Change
---
Actions that occur after the node changes. Uses postchange timer, triggers automatically on every node change.
1. Log node arrival type Initial if required, close map if mobile UI in use
2. Reset FS video flag
3.
4. Restart Autorotate, restart BG Audio, restart GT
5.
Pre Change
---
Actions that occur before the node changes. Uses prechange timer. For Cloner objects and hotspots to function, they need:
Mouse click > Set Variable > txt_node_next =
Mouse click > Trigger Click prechange
1. Check Autorotate status, check BG audio status, check guided tour status, trigger nodechange video
2. Stop Autorotate, stop BG audio, stop guided tour
3. Report node stats to GA
4. Set Node Arrival flag
5. Clear Initial Node flag, clear time at node, clear Floating Video Active, Clear mouseover HS, Execute node change
Player Dimension Calculations
---
These actions calculate the actual player dimensions by adding the defined margins to the player size values pulled from the js API, for the purposes of reporting screen size to GA. Timing is managed by the heartbeat.
Variables used: num_heartbeat, bool_loadtimer, js_player_height, js_player_width, num_margin_top, num_margin_bottom, num_margin_left, num_margin_right, num_player_height, num_player_width, txt_player_dimensions
Objects used: _ga_dimensions
15: player height added
50: player width added
51: top and left margins added
52: bottom and right margins added
53: values combined
54: _ga_dimensions triggered
Device OS and Browser info
---
These actions read the browser info from the js API, convert them into friendly names, and then combine them for sending off to GA.
Variables used: js_os, js_browser, txt_os, txt_browser
Objects used: _ga_device
The js variable is checked against logic that converts the numerical designation into the browser/os friendly name, as listed below.
The operating system the player is currently running on. 0 – Unknown, 1 – Windows, 2 – Mac, 3 – Linux, 4 – iOS, 5 – Android
The browser the player is currently running in. 0 – Unknown, 1 – Chrome, 2 – Firefox, 3 – Safari, 4 – Edge, 5 – IE
This contains actions that calculate all exposed skin options. Uses heartbeat and loadtimer flags.
Defined actions:
opt_autorotate
opt_bgaudio
Actions that run on tour load using the heatbeat and loadtimer vars.
Actions that track user watch and view times.
These actions handle the automatic node change for guided tours
Handles the automatic changing of map levels
Toggles the UI depending on viewer conditions, and other misc UI stuff
Spaghetti that describes what ought to be simple logic but is apparenly impossible for a machine to understand.
Actions that organise the social media buttons according to selected options
Determines the size of the filmstrip