Skip to content

Commit

Permalink
Allow AR to work when iframed
Browse files Browse the repository at this point in the history
  • Loading branch information
willeastcott committed Dec 14, 2024
1 parent 75bb62e commit f3e33f1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/tutorials/webxr-ray-input.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4604
---

<div className="iframe-container">
<iframe loading="lazy" src="https://playcanv.as/p/TAYVQgU2/" title="WebXR UI Interaction" allow="autoplay;xr-spatial-tracking"></iframe>
<iframe
loading="lazy"
src="https://playcanv.as/p/TAYVQgU2/"
title="WebXR UI Interaction"
allow="camera; microphone; xr-spatial-tracking; fullscreen"
allowfullscreen
></iframe>
</div>

*Click the VR/AR button if you have a VR/AR compatible device/headset.*
Expand Down

0 comments on commit f3e33f1

Please sign in to comment.