Skip to content

Commit

Permalink
Allow WebXR in iframes
Browse files Browse the repository at this point in the history
  • Loading branch information
willeastcott committed Mar 26, 2024
1 parent c0086a7 commit fb7ee05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/playcanvas.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="embed-container">
<iframe width="640" height="390"
src="https://playcanv.as/e/{{ include.type }}/{{ include.id }}"
frameborder="0" allowfullscreen></iframe>
frameborder="0" allowfullscreen allow="xr-spatial-tracking"></iframe>
</div>
<style>
.embed-container {
Expand Down

0 comments on commit fb7ee05

Please sign in to comment.