Replies: 3 comments
-
That's surprising since we use that same hash API to set scale = fixed and it works fine on iOS Chrome. You should be able to append apple's APIs to your |
Beta Was this translation helpful? Give feedback.
-
It doesn't work. See here the code to repro: <model-viewer src="https://modelviewer.dev/shared-assets/models/Astronaut.glb"
ios-src="https://modelviewer.dev/shared-assets/models/Astronaut.usdz#applePayButtonType=buy&checkoutTitle=Biplane%20Toy&checkoutSubtitle=Rustic%20finish%20with%20rotating%20propeller&price=$15"
alt="A 3D model of an astronaut" ar ar-modes="webxr scene-viewer quick-look" environment-image="neutral" auto-rotate
camera-controls></model-viewer> See here the video: ar-quick-look-cta-model-viewer.mp4 |
Beta Was this translation helpful? Give feedback.
-
There's a related thread here: iOS Chrome was originally not respecting the fixed scaling parameter. That was fixed. But they also stated that QuickLook, in a native app, doesn't provide public APIs for handling all the other parameters, and that Safari is using private API for those. That was 6 months ago. Maybe things have improved? Worth logging the issue again? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Disclaimer: I believe this should be filled as a Chrome bug and not as a model-viewer bug, but since I don't know the means to talk to them, I'm reporting this here since it also affects model-viewer users.
Adding a call to action button to AR Quick Look only takes effect on mobile Safari, not on Chrome.
As per the Apple documentation, including URL parameters to the USDZ scheme, such as
callToAction
, should create a button on the AR experience on iOS. The problem is that this only works for Safari.Live Demo
ar-quick-look-call-to-action.mp4
Version
Browser Affected
OS
AR
Beta Was this translation helpful? Give feedback.
All reactions