Hello,
perhaps anyone can explain to me where this "Enter VR" Button / Layer is comming?
In this pano I have only the vtourskin.xml and from there the webvr.xml
I do not understand where it is come from, i changed all "Enter VR" to other strings but it is still there...
Thanks a lot
Remove "Enter VR" Layer
-
-
you're triggering vr mode somehow
the text is in plugins/webvr.xml -
you're triggering vr mode somehow
the text is in plugins/webvr.xmlThanks for your response, do you mean this line:
Code<layer name="webvr_enterbutton" keep="true" vr="true" style="webvr_button_style" html="Enter VR" align="top" y="-24000" autoalpha="true" alpha="0.0" onclick="webvr.enterVR();"/>
This should not be inside the view I saw this at this thread: https://krpano.com/forum/wbb/inde…&threadID=15292
But I will change the Text to text it if the Y-parameter is not working...
-
I finaly found it inside the Virtual Tour Skin :
Code
Alles anzeigen<action name="skin_webvr_onavailable" scope="local"> if(webvr.isvrbrowser, <!-- show a special enter VR screen for Gear VR browsers (Oculus Browser or Samsung Internet VR) --> set(layer[webvr_enterbutton], align=center, y=0, padding='10 20', css=calc(skin_settings.design_text_css + ' font-size:20px;text-align:center;'), html=calc((global.title ? '[i]'+global.title+'[/i][br]' : '') + '[span style="font-size:40px"]Enter VR[span]'), ); skin_hideskin(instant); , <!-- remove the enter vr button from the webvr.xml --> removelayer(webvr_enterbutton); ); <!-- update the skin buttons to add the skin vr button --> skin_arrange_buttons(); <!-- call the original onavailable event from the webvr.xml --> webvr_onavailable(); </action>
After changing this line it finaly disapeared...
Thanks for your help!
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!