You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 6, 2018. It is now read-only.
When there are more than 1 vrview players on a single page and an event is triggered ('ready', 'click', etc.) in one instance, it will fire all the event handlers for all vrview instances on the page.
In the example, you'll see that 2 "Clicked" messages will appear each time one of the instances is clicked. This behavior happens on all the events I've tested with (ready, click, and getposition).
The text was updated successfully, but these errors were encountered:
clarklyyc
changed the title
Multiple vrview players on single page - events triggered on all instances
Multiple vrview players on single page - events are triggered on all instances
Apr 2, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When there are more than 1 vrview players on a single page and an event is triggered ('ready', 'click', etc.) in one instance, it will fire all the event handlers for all vrview instances on the page.
Please see example code snippet (Codepen -https://codepen.io/anon/pen/EQjMNM):
In the example, you'll see that 2 "Clicked" messages will appear each time one of the instances is clicked. This behavior happens on all the events I've tested with (ready, click, and getposition).
The text was updated successfully, but these errors were encountered: