Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Dienstag, 3. März 2020, 20:11

[RESOLVED] Krpano embedded with Iframe on sub-domain (https) not working on Android device

Hi,

I have made search for hours on this problem...
I'm using PTP 2.5.14 & KRPano 1.19-pr16
If my tour is in my domain principal, everything works like charm embedding the tour with an iframe.
What i'd like to do is hosting my tour in a sub-domain, someting like https://tour.mydomain.com and embed it this an iframe.
I've made lots of tests, and every time VR mode button is inactive on Android device (Samsung internet, firefox and Chrome include).

But, it's amazing to see that everythings works fine in GearVR (same device, Galaxy S8). Everything is fine on desktop (mac&PC).
I have tested with Amazon S3 hosting too... same problem... :(
I've read that the problem comes with last version of Chrome, and CORS configuration.

Do you have an idea to pass thru this problem? Or it's only a sad reality?
Thanks in advance, have a good day, or night...

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Volkodlak« (4. März 2020, 11:57)


Beiträge: 1 117

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : the cms4vr owner

  • Nachricht senden

2

Dienstag, 3. März 2020, 22:02

Hi

did you add this params to the IFRAME code?

Quellcode

1
<iframe ... allowvr="yes" allow="vr; xr; accelerometer; magnetometer; gyroscope; autoplay;" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" ...></iframe>



Piotr
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube :: wiki.cms4vr.com

cms4vr team *thumbsup*

3

Dienstag, 3. März 2020, 22:20

Hi,

Thanks for the response.
I've tried, but it doesn't work, i used this iframe:

Quellcode

1
2
3
4
5
<iframe src="https://vtours.mydomain.com/clients/me/GEN" 
frameborder="0" allowvr="yes" allow="vr; xr; accelerometer; 
magnetometer; gyroscope; autoplay;" allowfullscreen 
mozallowfullscreen="true" 
webkitallowfullscreen="true"></iframe> 



I'm embedding it into a wordpress site hosted at https://mydomain.com
Everything works fine if the tour is in the main domain.

Just thinking this will never work *cry*
In fact, i don't understand why it works in gear vr with oculus browser, and doesn't work with other Androïd browsers.

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »Volkodlak« (4. März 2020, 02:51)


4

Dienstag, 3. März 2020, 23:17

Hi,

What type of SSL certificate did you install? You would need a Wildcard SSL Certificate to cover the sub-domain. Can you reach the tour via https at the sub-domain?

Best,

Rich

5

Dienstag, 3. März 2020, 23:45

Hi,
I'm using a wildcard ssl certificat from let's encrypt.

Everything's allright when calling the tour directly from his https adress on the sub domain.
I've tried to use it from another web site, and the problem is the same . And, i yes, i've got same problem from amazon s3 bucket.
Maybe a problem with Let's encrypt certificat?
Thanks for your help.

6

Mittwoch, 4. März 2020, 12:00

Hi,
Finally it works with your embbed code (Firefox no, but Chrome and Samsung internet are fine )
Thanks for your help.
Have a nice day, or night...