Skip to content

AR button not showing up on phone after adding a header bar to my page #4878

Answered by elalish
altlex asked this question in Q&A
Discussion options

You must be logged in to vote

I believe the issue is that your MV element is actually going off the bottom of your screen - you can tell by doing a two-finger pan and looking at the little centering dot - that's always in the middle of the element, but it appears low in yours, so you aren't actually seeing the bottom of the MV element, which is where the AR button is. This is just the usual CSS weirdness, possibly having to do with the URL bar at the top of the screen in mobile. You might want to replace <model-viewer> with an <img> tag and tweak your CSS until you can see the whole image, then go back to MV.

Also, nice boat - have you considered using our grounded skybox feature? https://modelviewer.dev/examples/ligh…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@altlex
Comment options

@elalish
Comment options

Answer selected by altlex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants