Having troubble switching from WebVR to WebXR

  • Dear Krpano folks,
    I've been a Krpano user for a while now(about 10 years), I produced a lot of virtual tours for Desktop, Mobile & headsets.
    A while ago I found that all my virtual tours weren't working anymore on my Occulus Quest (vr button disappeared)

    I figured out that it was because of the webVR / webXR switching. WebVR wasn't supported by android devices anymore.

    So i followed the trail and upgraded to the 1.20.7 vers and added a webxr="prefer" in the init params of my tours
    My site is secured in HTTPS but the "GO VR" and gyro still don't appear on my headset and IOS / Adroid devices.
    I've been digging for hours with no luck, please help

    here is my url :

    https://www.kaleis.com/panoramas/Cimiez
    and my skin parameters
    <skin_settings maps="false"
    maps_type="google"
    maps_bing_api_key=""
    maps_google_api_key=""
    maps_zoombuttons="false"
    maps_loadonfirstuse="true"
    gyro="true"
    gyro_keeplookingdirection="false"
    webvr="true"
    webxr="prefer"
    webvr_keeplookingdirection="true"
    webvr_prev_next_hotspots="true"
    littleplanetintro="false"
    followmousecontrol="false"
    title="true"
    thumbs="true"
    thumbs_width="120" thumbs_height="80" thumbs_padding="10" thumbs_crop="0|40|240|160"
    thumbs_opened="false"
    thumbs_text="false"
    thumbs_dragging="true"
    thumbs_onhoverscrolling="false"
    thumbs_scrollbuttons="false"
    thumbs_scrollindicator="false"
    thumbs_loop="false"
    tooltips_buttons="false"
    tooltips_thumbs="false"
    tooltips_hotspots="false"
    tooltips_mapspots="false"
    deeplinking="false"
    loadscene_flags="MERGE"
    loadscene_blend="OPENBLEND(0.5, 0.0, 0.75, 0.05, linear)"
    loadscene_blend_prev="SLIDEBLEND(0.5, 180, 0.75, linear)"
    loadscene_blend_next="SLIDEBLEND(0.5, 0, 0.75, linear)"
    loadingtext="loading..."
    layout_width="100%"
    layout_maxwidth="814"
    controlbar_width="-24"
    controlbar_height="40"
    controlbar_offset="20"
    controlbar_offset_closed="-40"
    controlbar_overlap.no-fractionalscaling="10"
    controlbar_overlap.fractionalscaling="0"
    design_skin_images="vtourskin.png"
    design_bgcolor="0x2D3E50"
    design_bgalpha="0.8"
    design_bgborder="0"
    design_bgroundedge="1"
    design_bgshadow="0 4 10 0x000000 0.3"
    design_thumbborder_bgborder="3 0xFFFFFF 1.0"
    design_thumbborder_padding="2"
    design_thumbborder_bgroundedge="0"
    design_text_css="color:#FFFFFF; font-family:Arial;"
    design_text_shadow="1"
    />

  • whee, first post in 10 years! *thumbsup* (peace ;-))

    you dont need to switch, that works automatically

    webxr is by default on auto.
    if you want to change that, you dont do it in the skin_settings!
    you would do that in the html like this:

    embedpano({swf:"tour.swf", xml:"tour.xml", target:"pano", webxr:"prefer", html5:"auto", mobilescale:1.0, passQueryParameters:true});

    the documentation is here
    https://krpano.com/docu/html/#webxr

  • Hi,

    your tour looks fine and works for me, tested on Desktop, iPhone and Oculus Quest.
    Maybe try clearing your browser cache.

    Btw - in Android Chrome neither the WebVR API (is was never really available there) nor the WebXR (currently partial buggy in that browser) is used by default. By the krpano 'MobieVR' mode is used there. That means motion-tracking by the gyro and VR-lens-distortion-rendering by krpano.

    Same on iOS, there neither the WebVR nor WebXR API are available.

    But on VR devices like the Ouclus Quest it should work fine.

    Btw2 - there is no webxr setting in the skin_settings and it wouldn't be necessary to make any changes.

    Best regards,
    Klaus

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!