Sie sind nicht angemeldet.

Douglas Rhiner

Fortgeschrittener

  • »Douglas Rhiner« ist der Autor dieses Themas

Beiträge: 141

Wohnort: San Anselmo, CA

Beruf: Code-Slave

  • Nachricht senden

1

Mittwoch, 24. Juni 2020, 01:22

iFrame XRSystem error

We are running into some errors that cause random issues when displaying a tour in an iFrame.
Player and plugins at v 1.20.7

We believe that there might somehow be an issue with <iframe allow="autoplay; fullscreen">

Example link.

https://www.discoverlosangeles.com/meetla/virtual-tour


Here is the console output I'm getting from the above link:
Uncaught (in promise) DOMException: Failed to execute 'isSessionSupported' on 'XRSystem': Access to the feature "xr" is disallowed by feature policy.
at Uu (eval at I.c.loading (eval at embedpano (https://www.xplorit.com/xplorit_common/f…plorit.js:10:73)), <anonymous>:3:17933)
at ju (eval at I.c.loading (eval at embedpano (https://www.xplorit.com/xplorit_common/f…plorit.js:10:73)), <anonymous>:3:10814)
at Object.n.callaction (eval at embedpano (https://www.xplorit.com/xplorit_common/f…plorit.js:10:73), <anonymous>:1:88420)
at Object.n.processTicks (eval at embedpano (https://www.xplorit.com/xplorit_common/f…plorit.js:10:73), <anonymous>:1:92601) at $e (eval at embedpano (https://www.xplorit.com/xplorit_common/f…plorit.js:10:73), <anonymous>:1:34955)
at b (eval at embedpano (https://www.xplorit.com/xplorit_common/f…plorit.js:10:73), <anonymous>:1:334292)


Any ideas?

2

Donnerstag, 25. Juni 2020, 07:39

Hi,

sorry, I can't reproduce that when testing your site...

And with version 1.20.7 that case (= a not allowed WebXR support inside an iframe) should be normally pre-detected and that error in the log avoided. Then the krpano VR support detection just reports unavailable instead of that error in this case.

Best regards,
Klaus

3

Donnerstag, 13. August 2020, 10:44

I have the same problem, but the error is only being shown on google Chrome.