You are not logged in.

aperture147

Beginner

  • "aperture147" started this thread

Posts: 10

Location: Vietnam

Occupation: Fullstack Developer

  • Send private message

1

Friday, March 27th 2020, 12:57pm

Cannot enable WebVR on Chrome while embeding by iframe

I'm having a problem using WebVR on Chrome browser. Whenever I open a webpage (like this page) which embed another webpage (in this case, I embed this page) containing a Krpano tour, the VR button disappear and this log is printed in the console:



This problem doesn't happen on Firefox browser. How can I fix this problem? Thanks!

This post has been edited 2 times, last edit by "aperture147" (Mar 27th 2020, 1:35pm)


light_line

Trainee

Posts: 111

Occupation: krpano freelancer || creating ideas & coding them || krpano developer

  • Send private message

2

Saturday, March 28th 2020, 1:58pm

Hi,

Try adding allowvr="true" and allow="vr" and allowfullscreen="yes" to the <iframe>.