Track & log current row/column/state

Q&A about the latest versions
Post Reply
jgrantps
Posts: 9
Joined: Thu May 31, 2018 2:31 am

Track & log current row/column/state

Post by jgrantps » Mon May 20, 2019 8:50 pm

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!

User avatar
Hopki
Gnome
Posts: 9653
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Track & log current row/column/state

Post by Hopki » Tue May 21, 2019 3:02 pm

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

jgrantps
Posts: 9
Joined: Thu May 31, 2018 2:31 am

Re: Track & log current row/column/state

Post by jgrantps » Tue May 21, 2019 4:37 pm

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!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest