Is there a stand-alone "view in AR" button that I can use? #1877
Replies: 9 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
-
@michaelmudukuti sorry for the delay, we are just getting back from holiday over here. It is very much possible to do this, but we do not currently have an option to help you do it. We have discussed possibly creating a stand-alone button in #697 . If you would like to try making a button for yourself, I would refer you to the following code that does the majority of the work to launch various other AR viewers: https://github.com/GoogleWebComponents/model-viewer/blob/master/src/features/ar.ts |
Beta Was this translation helpful? Give feedback.
-
Thank you for the response! The link you posted seems to be gone. Is there and updated link? @cdata |
Beta Was this translation helpful? Give feedback.
-
Yes, sorry, we just moved a bunch of things. The new link is: https://github.com/GoogleWebComponents/model-viewer/blob/master/packages/model-viewer/src/features/ar.ts |
Beta Was this translation helpful? Give feedback.
-
@michaelmudukuti did you have any success with this? |
Beta Was this translation helpful? Give feedback.
-
As mentioned in #697, I built a quick implementation a component for such a stand-alone button: https://leoncvlt.github.io/ar-button/ |
Beta Was this translation helpful? Give feedback.
-
Yes, and we've also made this easier in model-viewer; just set |
Beta Was this translation helpful? Give feedback.
-
@leoncvlt Could you please help me with your button in my case? It doesn`t work for me |
Beta Was this translation helpful? Give feedback.
-
Sure, do open an issue over in the repo. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Is it possible to view my GLTF and USDZ file in AR from clicking a button. I do not want to have a background poster or object preview just a button.
Beta Was this translation helpful? Give feedback.
All reactions