External JS and CSS

Q&A about the latest versions
Post Reply
Christophe
Posts: 8
Joined: Wed May 25, 2016 4:09 pm

Hi everyone!

We just came across object2vr for one of our project and are really excited about using it!

I understand that you can design the full UI with the Skin editor but we would like to use regular CSS "on top" of object2VR and external Javascript too. Is that something that you advise not doing?
If it's something that is doable:
1- Is there any way to have Object2VR export unique hotspots ID while writing to the DOM so each hotspot has a unique identifier that we can leverage both in CSS and JS? We would like to make the hotspots button do custom events
2- I have not seen in the API a function to trigger when the 360 is loaded, is there a workaround to be able to trigger something on the main page via JS when the 360 is ready to go?

Lastly and sorry since this is slightly unrelated, we're doing a 360 with 240 column on the main website but would like a version with only half of the frames on mobile. Is there a way to "disable" every other frame from Object2Vr or should we just make a second project and redo the hotspots on it?

Thanks!

Chris
Post Reply