Cordova VR - Wrong Orientation

  • Hey guys,

    I'm trying to convert a krpano tour to a standalone android application via cordova. This application should run on a standalone vr headset.

    The tour itself is running, but the problem is that the orientation is off. The panorama is rotated about 90°, but the interface isnt. Does anyone know what could be the issue? In cordova I set the device orientation to landscape.

  • Hey Klaus,

    I tried different things.

    Your "hack" mentioned in another thread wasnt working for me:

    Code
    (window.screen=JSON.parse(JSON.stringify(window.screen))).orientation={type:"portrait"}

    I also tried different settings, with portrait/landscape etc. in the cordova settings, without any effect. But sadly I'm out of ideas

  • Hi
    I try to concert KRpano to APK for Oculus Quest
    But in the Quest i have floating windows and on VR Mode impossible to view full screen with headset movement :(
    You have an idea ?


    Thank you for your help

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!