GearVR - WebVR icon doesn't show up

d_brane
Posts: 2
Joined: Sat Mar 04, 2017 1:49 am

GearVR - WebVR icon doesn't show up

Postby d_brane » Sat Mar 04, 2017 1:57 am

Hi,
I'm having some troubles getting the VR mode to work with an GearVR. In the Samsung browser, the icon doesn't show up for some reason, when I put the headset on, so I modified the script to automatically start into VR mode. It works on desktop with Firefox Nightly and Chromium. I had no luck on Samsung Internet GearVR tough - even forcing the VR mode, nothing happens. If it helps, this is the test page: http://brane.me/fichte2
Shouldn't the GearVR browser be compatible?

Also is it possible to automatically use device orientation on mobile instead of touch, kinda like aframe does?

Thank you!

User avatar
rroux
ForgeJS Team
Posts: 108
Joined: Wed Oct 26, 2016 12:19 pm

Re: GearVR - WebVR icon doesn't show up

Postby rroux » Mon Mar 06, 2017 10:02 am

Hello,

We will try your sample with the Samsung Gear browser and see why it doesn't work.

Regarding this question:
Also is it possible to automatically use device orientation on mobile instead of touch, kinda like aframe does?


We are working on a gyro controller for mobile device. This feature is in development and will be released as soon as it is ready :)

We get back to you for the Gear VR browser in a moment!

Thank for your report!
- Raphaël

User avatar
rroux
ForgeJS Team
Posts: 108
Joined: Wed Oct 26, 2016 12:19 pm

Re: GearVR - WebVR icon doesn't show up

Postby rroux » Mon Mar 06, 2017 1:55 pm

Hi d_brane,

We found the issue!
In your html page you have to add the following tag in your <head></head> section.

  1. <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />


Unless your WebVR button will be positioned outside the screen.
Note that you shouldn't force the WebVR mode, this causes an unexpected error.

Hope this helps!
- Raphaël

d_brane
Posts: 2
Joined: Sat Mar 04, 2017 1:49 am

Re: GearVR - WebVR icon doesn't show up

Postby d_brane » Mon Mar 06, 2017 4:54 pm

Hey Raphaël,

rroux wrote:Regarding this question:
Also is it possible to automatically use device orientation on mobile instead of touch, kinda like aframe does?

We are working on a gyro controller for mobile device. This feature is in development and will be released as soon as it is ready :)

Good to hear :)

We found the issue!
In your html page you have to add the following tag in your <head></head> section.

  1. <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />


Yes, that worked! Also reverted to original WebVRbutton now, as you said forcing VR mode like that creates problems, and it's working fine now too! Thank you so much!

Who is online

Users browsing this forum: No registered users and 2 guests