We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

embedding android AR without allow=”xr-spatial-tracking”

Home Forums WebGL & WebXR Troubleshooting embedding android AR without allow=”xr-spatial-tracking”

Tagged: , ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #40582
    precismo
    Customer

    Hi,

    We have variety of customers displaying our 3D models on their website using iframe hosted on our cloud. Recently we have found out, that Android AR works* inside iframe only if there is explicit allowance in iframe using such code:

    <iframe src=”https://(address)” allow=”xr-spatial-tracking” frameborder=”0″ allowfullscreen></iframe>

    *otherwise it is not detected, nor can be triggered manually (fails on requestSession in v3D). Furthermore, HTTPS is mandatory or also doesnt work.

    Question:

    a) can we anyhow avoid telling all our customers to change their code online?

    b) if not, how exactly our iframe should look like? Is above sufficient or should we include something else (minding also future features)?

    thank you very much for your support,

    Petr from Precismo

    #40976
    precismo
    Customer

    Any update Verge, please?

    #40977

    Hi,
    Sorry for the late reply. Unfortunately, there is nothing we can do on our side (except mentioning this case in the User Manual). You should modify main HTML of the application and explicitly allow “xr-spatial-tracking” feature in the iframe parameters.

    As for future things that can be enabled, you might want to consult to the following list in the Mozilla docs. As I can see, there is nothing connected to XR yet, except “xr-spatial-tracking”.

    Verge3D’s Tech Chief
    FB | Twitter | VK

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.