You are not logged in.

1

Wednesday, January 17th 2018, 1:09pm

VR and iOS inApp Browser - strange popup

I'm having a strange problem with VR if called from within an iOS inAppBrowser.
krpano with VR works fine within the default iOS browser (and it works fine on Android and the Android app).
However, when "webvr.enterVR();" is triggered from within an iOS inAppBrowser (iOS 10), it opens an additional 2nd window, playing an unknown media file (maybe an empty sound file... I have no idea WHAT it is... but it's using a player interface). The 2nd window has to be closed manually, because it opens on top of the original window. The VR in the original window works fine.

Here's a screen:
https://imgur.com/a/0HTe5
(although it says pretty much nothing...)

Here's the onclick code of the hotspot:

Source code

1
2
onclick="webvr.enterVR();loadscene('scene_overview',null,MERGE,ZOOMBLEND(2.0, 2.0,easeInOutSine));vr_setup();"
 onclick="webvr.enterVR();" <- has the same effect

I didn't develop the app in question and the programmers told me there's nothing they can do. They insist that it must be a problem within krpano, but I'm clueless how to fix it.

Any ideas? *confused*

EDIT
I'm one step closer to identifying the problem.
It's only happening on iPhone iOS 11.2.2 (not 10, as I previously assumed, my mistake). It happens with both krpano 1.19-pr13 & 1.19-pr14. It might have something to do with the HTML5 VR Audio plugin (3.0.1 and 3.1.0)

This post has been edited 3 times, last edit by "Taury" (Jan 19th 2018, 5:58pm) with the following reason: Additional information


2

Wednesday, January 24th 2018, 7:12pm

I am new to KRPANO so I am not sure how much help I will be but I do not have this pop up issues on iOS 11.2.2 in safari or chrome. I am not using the VR audio plugin so that may be an issue.Does the second page that opens have a url you can see?

3

Friday, February 2nd 2018, 11:47am

Every help is appreciated :).
Unfortunately, there's no visible url, because it's called from within an inAppBrowser with no visible url bar. But it seems more and more likely that the audio plugin is the actual culprit (in combination with said browser - there's no such popup in the default iOS browser).

4

Friday, January 17th 2020, 2:07pm

I'm having a strange problem with VR if called from within an iOS inAppBrowser.
krpano with VR works fine within the default iOS browser (and it works fine on Android and the Android app).
However, when "webvr.enterVR();" is triggered from within an iOS inAppBrowser (iOS 10), it opens an additional 2nd window, playing an unknown media file (maybe an empty sound file... I have no idea WHAT it is... but it's using a player interface). The 2nd window has to be closed manually, because it opens on top of the original window. The VR in the original window works fine.

Here's a screen:
https://imgur.com/a/0HTe5
(although it says pretty much nothing...)

Here's the onclick code of the hotspot:

Source code

1
2
onclick="webvr.enterVR();loadscene('scene_overview',null,MERGE,ZOOMBLEND(2.0, 2.0,easeInOutSine));vr_setup();"
 onclick="webvr.enterVR();" <- has the same effect

I didn't develop the app in question and the programmers told me there's nothing they can do. They insist that it must be a problem within krpano, but I'm clueless how to fix it.

Any ideas? *confused*

EDIT
I'm one step closer to identifying the problem.
It's only happening on iPhone iOS 11.2.2 (not 10, as I previously assumed, my mistake). It happens with both krpano 1.19-pr13 & 1.19-pr14. It might have something to do with the HTML5 VR Audio plugin (3.0.1 and 3.1.0)
Hello.

Strangely I have the same problem after all these years!

Did anyone found a solution for this?

5

Friday, January 17th 2020, 3:14pm

I found a solution for the issue but I don't know how this will affect 360 video playback!

when you open the inappbrowser, add the option "mediaPlaybackRequiresUserAction=yes".
This will disable the audio player to pop up, but still this is a KrPano issue which must be fixed, specially that I'm not using any audio plugin for krpano or anywhere else and still get this popup...