Replies: 11 comments
-
Indeed, we're working on bringing this feature to WebXR, but it's not available yet. However, SceneViewer (the Android equivalent of iOS QuickLook) does have this feature, so you can use |
Beta Was this translation helpful? Give feedback.
-
I do have ar-modes="scene-viewer quick-look webxr" included, but I do not get the button to take a screenshot, or even the title and link. |
Beta Was this translation helpful? Give feedback.
-
Oh, actually I should have said to remove webxr entirely from the list; I think that's where you're ending up still. I bet you hit #1286, which is already fixed and will be part of the next release. |
Beta Was this translation helpful? Give feedback.
-
I actually realized that when I revert the model-viewer version back to 0.8.0, the screenshot feature becomes available again. I think it has to do with #1142 where the title and link have been removed. In that case, I will probably just modify the model-viewer.js to suit my needs. |
Beta Was this translation helpful? Give feedback.
-
Correct me if I am wrong, but with last release (v1.3.0) the screenshot functionality (button) is still missing on Android-Chrome, even using Isn't it? |
Beta Was this translation helpful? Give feedback.
-
@vortice3D It's working for me here: https://modelviewer.dev/examples/augmentedreality/#sceneViewer What OS version and device are you testing on? It's possible the recording feature is only available in more recent versions. |
Beta Was this translation helpful? Give feedback.
-
Hi @elalish: First, thank you very much for your immediate response and, by the way, for your great job in this forum. The "official examples" link you're addressing works also OK for me. After double-check my code, that as usual with this technology is really simple. I'm realizing that: 1. When I don´t use the ar-modes parameter at all, it works as expected:
2. However, when I add the ar-modes parameter, forcing the use of native scene-viewer instead of webxr, this way:
for getting so access to Record Button functionality, I can see the model in SceneViewer but not when passing to the AR experience: What translated to English says: Couldn't load object. Looks like there's something wrong with this object. All this in the following devices:
Thanks for your time. |
Beta Was this translation helpful? Give feedback.
-
@tpsiaki Looks like this is another glTF parsing error in Scene Viewer? I'm surprised this is happening with the astronaut model, since it's so simple. Maybe it's specific to older Android versions? |
Beta Was this translation helpful? Give feedback.
-
Hi there, @elalish and @tpsiaki: Don't panic! I've just found where the problem is ... but don't understand why. The case is that I'm hosting this playground project in a private folder of my web server. So when I launch it, a user and password must be provided. After doing so, and as I showed you in my previous post, the non-ar-experience part is shown without problems: And here comes the strange behavior:
This said, I'm pretty sure of that using a private-but-already-granted-access content is here the problem, mainly because moving all (HTML and GLTF) to a public folder of the same server, does the trick, and now I can view the astronaut in AR and with the record button (courtesy of "ar-modes"): Any help with this? I mean how to host a content (GLTF/GLB/UDSZ) in a private folder meanwhile can be shown in AR and with Record Button (in other words, shown without WebXR). |
Beta Was this translation helpful? Give feedback.
-
@vortice3D Ah, that does make sense. Remember that scene-viewer and quick-look (unlike webxr) are completely separate apps that share nothing with the browser. The only thing we pass to them is the model's URL, so they need to get permissions on their own. It may be possible to achieve what you want using query parameters on that URL to pass authentication, but that'll be on you to figure out. |
Beta Was this translation helpful? Give feedback.
-
Hi @elalish: Yes, that is what I was thinking last night, that it would be an authentication problem of the native AR functionality. Anyway, thank you very much for all the info. I'll try with query parameters. Anyway, when testing it on Android, keeping pressed the record button a video recording is carried out. This is not possible under iOS, that only lets you take screenshots. I suppose that this is also a Quick-look limitation. Isn't it? Finally, about that you're saying at the beginning of this thread: "...we're working on bringing this feature to WebXR, but it's not available yet." Do you have any date or milestone for it? Best regards. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Is the feature to take a screenshot of the placed object in AR only available for iOS Quick Look? It doesn't seem to show up on Chrome for Android.

Browser Affected
OS
Versions
Beta Was this translation helpful? Give feedback.
All reactions