Matterport needs to enable WebVR in its iframes via Feature Policy |
|||||||||
Issue descriptionChrome Version: 63.0.3214.0, 62.0.3202.19 OS: Android N VRCore: 1.8.163477258 There are 2 ways to enter WebVR in try.matterport.com: 1. Load WebVR example (section "Try it for yourself below") from the try.matterport.com/virtual-reality/webvr/ page. 2. Load the gallery and select item from the gallery. The second one doesn't work, nothing happens when click "VR" icon, issue is reproducible both with Cardboard and Daydream. looks like the root cause is the same as in the issue 764407 Reproduction steps: 1. Open https://try.matterport./virtual-reality/webvr/ 2. Locate and click "Start exploring" button (or go directly to https://matterport.com/gallery/) 3. Select one of the items from the gallery 4. Tap "VR" icon What is the expected result? WebVR presentation should be started. What happens instead? Nothing happens, clicks are ignored.
,
Sep 14 2017
I confirmed this is the same issue as issue 764407 . In the first path, clicking the "Try it for yourself below" on mobile navigates to https://my.matterport.com/show/..., and there is no iframe. (On desktop, magic window is displayed inline.) In the second path, the top level document is https://matterport.com/3d-space/..., and it contains an iframe on the "my" subdomain: <iframe src="https://my.matterport.com/show/?m=...&utm_source=hit-content&play=1" frameborder="0" allowfullscreen allowvr></iframe> The iframe is on a different origin, so VR needs to be enabled via Feature Policy. `allowvr` was proposed but is not standard, and I'm not sure if any browser implemented it. `allow="vr"` needs to be added or replace `allowvr`. The Embed snippet also needs to be updated.
,
Sep 14 2017
,
Oct 6 2017
,
Nov 21 2017
Update - this still repros on Chrome 64.0.3274.0
,
Jan 2 2018
,
Feb 26 2018
This appear to be working now. Both paths worked with Daydream in Chrome build 66.0.3355.0 on Pixel 2 with Android 8.1.0. We can resolve this as Fixed now.
,
Feb 26 2018
,
Feb 27 2018
Updating the milestone to when the external site was fixed so it's more relevant.
,
Feb 28 2018
,
Jul 4
|
|||||||||
►
Sign in to add a comment |
|||||||||
Comment 1 by ddorwin@chromium.org
, Sep 14 2017