Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAugmented reality model-viewer example doesn't recognize webxr #26696
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://modelviewer.dev/examples/augmented-reality.html
Running with --pref dom.svg.enabled, I get no indication that AR is supported in servo.
Even with a user script containing:
One possible issue is that
hit-testis a required feature in this code:Another issue is the ARGlyph present in https://modelviewer.dev/node_modules/@google/model-viewer/dist/model-viewer.js which is an SVG element, so it's possible that the button is present in the page but it's not rendering in a meaningful way.