Use of deep-link variables in Panotour and in SkinPlus
When viewing a Virtual Tour, usually the tour address is: www.yourtour.com/virtualtour
We can also insert example variables:
Point to a specific scene
www.yourtour.com/virtualtour/index.html?s=pano12
pano12 is the scene id, which you can retrieve from panotour (show info)
index.html is the name of your project set in the build section +.html
Set vertical, horizontal and zoom shift
www.yourtour.com/virtualtour/index.html?s=pano12&v=140&h=-90&f=20
As you noticed the variables combine with “&“, only the first variable is preceded by the symbol “?”
This mode also works when we insert the project into a page with the iFrame tag
<iframe width="100%" height="800px" src="www.yourtour.com/virtualtour/index.html?s=pano38" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope;" allowfullscreen> </iframe>
With Skinplus you can do much more
Insert virtual tour into a webpage with one specifical scene, without menu. Example of a Room page of Hotel
<iframe width="100%" height="800" src="www.yourtour.com/virtualtour/index.html?s=pano38&hidemenu=true" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope;" allowfullscreen> </iframe>
s=pano38&hidemenu=true
Skinplus show a button for open Complete Virtual Tour ( you can select in same space or a new window of Browser inside Skinplus settings)
Insert virtual tour into a webpage with one specifical scene, without all Skinplus elements. Example of a Room page of Hotel
<iframe width="100%" height="800" src="www.yourtour.com/virtualtour/index.html?s=pano38&hideallv=true" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope;" allowfullscreen> </iframe>
s=pano38&hideallv=true
Skinplus show a button for open Complete Virtual Tour ( you can select in same space or a new window of Browser inside Skinplus settings)
Also, you can add your actions, for hiding other elements in your project ( other plugins, hotspots, etc )
Warning: place the &hideallv=true or &hidemenu=true to the end of URL string.
Multilanguage variable
If your project is multilanguage you can set in iframe webpage the code for show language virtual tour like language page
<iframe width="100%" height="800" src="www.yourtour.com/virtualtour/index.html?s=pano38&lang=it" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope;" allowfullscreen> </iframe>
Summary, you can place your tour with string same this :
<iframe width="100%" height="800" src="www.yourtour.com/virtualtour/index.html?s=pano38&lang=it&h=180&hideallv=true" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope;" allowfullscreen> </iframe>
For more information on the functioning of the language system in Panotour see this page from Kolor Wiki