You are not logged in.

to2hov

Trainee

  • "to2hov" started this thread

Posts: 57

Location: Bulgaria

Occupation: Panoramic Photography

  • Send private message

1

Friday, July 17th 2020, 5:22pm

Is there a way?

Hello everyone,

I was looking at the documentation and I happen to pass through this code:

Source code

1
2
visible.fullscreensupport="true"
visible.no-fullscreensupport="false"


Is there a way to do the same while mobilevr | webvr is on?

spacerywirtualne

Professional

Posts: 1,117

Location: Poland, Europe

Occupation: krpano developer : virtual tours : the cms4vr owner

  • Send private message

2

Friday, July 17th 2020, 6:56pm

You have to use dynamic action and this:


https://krpano.com/plugins/webvr/#onentervr


Source code

1
2
3
4
<events name="myevname" keep="true"  webvr_onentervr="setvisibility()"    />
<action name="setvisibility">
	set(hotspot[hsname].visible, true);
</action>



Piotr
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube :: wiki.cms4vr.com

cms4vr team *thumbsup*

to2hov

Trainee

  • "to2hov" started this thread

Posts: 57

Location: Bulgaria

Occupation: Panoramic Photography

  • Send private message

3

Friday, July 17th 2020, 8:47pm

Thank you for your reply :) I thought there was an easier way :) but this should be it!

One more time, thanks for the help
N.