Add 3D button to a custom menu  

This forum is fully dedicated to Panotour / Panotour Pro bug reports as well as feature discussion.
no avatar
lcarradas
Member
 
Topic author
Posts: 10
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 03, 2017 11:34 am
Info

Add 3D button to a custom menu

by lcarradas » Wed Dec 20, 2017 1:58 am

Hi

Can I add a 3D VR button to a custom menu like in this demo - remaxvtp.com?

http://www.remaxvtp.com/

Thanks
Attachments
RE_MAX Virtual Tour Premier.jpg
RE_MAX Virtual Tour Premier.jpg (5.47 KiB) Viewed 811 times

User avatar
Annis
Kolor Team
 
Posts: 6063
Likes: 801 posts
Liked in: 444 posts
Joined: Mon Aug 12, 2013 12:47 pm
Location: France
Info

Re: Add 3D button to a custom menu

by Annis » Wed Dec 20, 2017 2:42 pm

Uhm, what do you mean by a custom menu?

All the control bars in Panotour have a VR Mode button that you can activate. If you're using a custom skin but didn't provide a VR Mode skin, the default icon'll be used.

no avatar
lcarradas
Member
 
Topic author
Posts: 10
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 03, 2017 11:34 am
Info

Add 3D button to a custom menu

by lcarradas » Tue Dec 26, 2017 6:55 pm

Hi

Thanks Annis for you reply. I putted solved, but isn't solved

I'm using this template - http://www.kolor.com/virtual-tours-file ... avbar.html

I need to add a 3D VR button to the menu like in this example - http://www.remaxvtp.com/

Thanks

User avatar
Annis
Kolor Team
 
Posts: 6063
Likes: 801 posts
Liked in: 444 posts
Joined: Mon Aug 12, 2013 12:47 pm
Location: France
Info

Re: Add 3D button to a custom menu

by Annis » Tue Jan 09, 2018 11:09 am

Oh well in that case you will have to edit the html template to add a VR Mode button yourself. You are right none of them have a VR Mode button.

I can add a feature request for this but I don't know if/when it'd be added.

no avatar
lcarradas
Member
 
Topic author
Posts: 10
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 03, 2017 11:34 am
Info

Re: Add 3D button to a custom menu

by lcarradas » Thu Jan 11, 2018 12:03 am

Thanks Annis for the reply.

Exist a action similar to
Code: Select all
<action name="webvr_onavailable">

Image

Thanks

no avatar
lcarradas
Member
 
Topic author
Posts: 10
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 03, 2017 11:34 am
Info

Re: Add 3D button to a custom menu

by lcarradas » Sun Feb 18, 2018 1:45 am

Hi guys,

I've this example - https://highs-vr.realizecode.pt/#s=pano54
Can anyone explain me why Vr Mode is working in Control Bar and in my custom menu isn't working.

My code
Code: Select all
<a href="?vr" class="onVr" onclick="getTourPlayer().call('webvr_onentervr()')" title="{{project.description.name}} - Active VR"></a>

Code: Select all
<a href="#" class="offVr" style="display: none" onclick="getTourPlayer().call('webvr_onexitvr()')" title="{{project.description.name}} - Exit VR">off</a>


King regards

no avatar
benji33
Kolor Team
 
Posts: 5848
Likes: 92 posts
Liked in: 199 posts
Joined: Tue Apr 09, 2013 10:59 am
Location: France
Info

Re: Add 3D button to a custom menu

by benji33 » Tue Feb 27, 2018 3:39 pm

Just have a look on the generated code of the Panotour control bar.
In fact the Panotour generated code call a JS method called accessWebVr into the HTML page to load the specific WebVR tour (with specific xml compatible files) and not the current tour in VR.
Benjamin


Who is online

Users browsing this forum: No registered users and 6 guests