Replies: 4 comments
-
As best I can tell, what you've found is that the model works in 3D, SceneViewer (this is the AR Animals app) and QuickLook (the iOS app), but not WebXR in an iFrame. As you found, that is a known issue and one we intend to fix. If you need to use an iFrame, for now you can specify |
Beta Was this translation helpful? Give feedback.
-
Thanks, it did a trick! However, the 3D model is too large for some reason... not the same size as in iOS quick-look. I guess it's a "feature" of USDZ converter.
The main idea I'd like to share that for some reason the same code forces SceneViewer or WebXR mode on different websites without a fix above. Why? |
Beta Was this translation helpful? Give feedback.
-
Check that your address is https; http won't allow webXR to work, and it'll fall back to sceneViewer. This is a common problem as Android likes to default to http. |
Beta Was this translation helpful? Give feedback.
-
I'm using https only for hosting and file server |
Beta Was this translation helpful? Give feedback.
-
Description
My investigation of #1318
My developer page not showing AR mode, but the same code works great on our customer's website.
The idea is very simple: add a link to JS code located on our server and just put an iframe in the web page. Something like this.
Also, if I change <iframe> to model-viewer on my website AR mode works fine. But the same <iframe> block on Dantone's website also works fine (interesting fact - it opens AR mode not the same way like model-viewer always does, it looks like the thing with AR animals in Google search).
So, what's going on? o_O
Unfortunately, I'm not a developer of that website, I've just created the HTML snippet above. I tried to inspect Dantone's webpage, but there are so many things in the code... As not being a web developer I feel confused.
P.S. iOS works as expected.
Version
Browser Affected
OS
Beta Was this translation helpful? Give feedback.
All reactions