Page 1 of 1

Track & log current row/column/state

Posted: Mon May 20, 2019 8:50 pm
by jgrantps
Is there a way to output (or capture via HTML/JS) the current row and/or column that a user is on at a given point in time while viewing an O2VR movie? I'd like to reference the row and column numbers so that I can add some supplemental data that updates on the screen for the user based on what specific row/column/state they're looking at.

(States aren't such an issue - I've been able to capture the current viewstate via the "changeviewstate" action.)


Much Appreciated!

Re: Track & log current row/column/state

Posted: Tue May 21, 2019 3:02 pm
by Hopki
HI,
Please take a look at our API page: https://ggnome.com/wiki/JavaScript%20AP ... ject2VR%29
There you find 'obj.getColumn()' and 'obj.getRow()'.
Regards,
Hopki

Re: Track & log current row/column/state

Posted: Tue May 21, 2019 4:37 pm
by jgrantps
Thanks Martin - I didn't think to look into the API.

There are instructions for how to access the API, but they seem to all be through using the Flash output. I'm needing to stick with the HTML5 output for CMS reasons... is there a way access the 'obj.getColumn()' and 'obj.getRow()' elements (or any of the API, for that matter) through just the HTML5 output?

Thanks!