Does this mean Cardboard VR mode won't work anymore in iOS 12.2?
Zitat
According to an article discussing iOS 12.2 beta features:
> Accessing sensor APIs is now disabled by default, so no accelerometer, gyroscope or magnetometer APIs are working unless the user enables a Settings option under “Safari”
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comBenutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comDieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Tuur« (14. Februar 2019, 23:10)

Sorry, but that doesn't seem to be related - the webvr.xml was always using the SPACE key for 'reseting' the sensor (setting back to 0). Have a look in the webvr.xml for this line and remove it:edit: i narrowed it down and of course some is my own 'sloppy-ness' but when i use spacebar when in fake vr to play pause on desktop it sets on every key hit the hlookat to 0.. Why is that? i'm quite sure it was not like that before my OSX update..
|
|
Quellcode |
1 |
onkeydown="if(webvr AND webvr.isenabled AND keycode==32, webvr.resetSensor() );" |
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.com|
|
Quellcode |
1 |
onunavailable="if(iosversion GE 12.2, onavailable());" |
|
|
Quellcode |
1 2 3 |
<layer name="gyrobutton" ...
onclick="if(isavailable == false AND iosversion GE 12.2, ...show some info... );
...
|
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comBenutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comBenutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comBenutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comas a recap for others :
on iOS 12.2+ devices you will need
[Homescreen] --> [Settings] --> [Safari] --> enable the motion/orientation access setting
as users won't know, you'll need a ios 12.2+ detection and then display something like...
" for full experience please enable
the motion/orientation access setting
in home / settings / safari "
HTTPS must be enabled for the server, or it won't work :/
Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »indexofrefraction« (30. März 2019, 10:45)