googlearchive / vrview

Library for embedding immersive media into traditional websites.
http://developers.google.com/cardboard/vrview
Apache License 2.0
1.71k stars 1.09k forks source link

iOS Cardboard hotspot tap causes browser bar to show #324

Open pduquesnoy opened 6 years ago

pduquesnoy commented 6 years ago

If I go to the vrview hotspot example on my iPhone SE (v11.4.1) using Safari ( https://googlevr.github.io/vrview/examples/hotspots/index.html ), and click on the Cardboard icon in the bottom right corner of the image, I'm given a prompt to turn my phone sideways and put it in a Cardboard to view in stereo. I can then line up the cursor over a hotspot, and press the Cardboard button (which plunges an arm to tap the top center of the landscape phone). This should be considered a click and take me to the next image, but instead, Safari or the OS interprets this as the user wanting to exit full screen mode, so it shows the hidden top and bottom url bars with a back button, url and refresh. The click doesn't work, and the user has to take the phone out of the Cardboard to continue. Is there a way to override or avoid that?

1 before cardboard click 2 after cardboard click

Thanks, Paul