New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 764970 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Compat
Proj-XR



Sign in to add a comment

Matterport needs to enable WebVR in its iframes via Feature Policy

Project Member Reported by vsupruniuk@google.com, Sep 13 2017

Issue description

Chrome 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.

 
Description: Show this description
Labels: M-62
Owner: meganlindsay@chromium.org
Status: ExternalDependency (was: Untriaged)
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.
Summary: Matterport needs to enable WebVR in its iframes via Feature Policy (was: WebVR is partially broken in Matterport website)
Labels: Type-Compat
Update - this still repros on Chrome 64.0.3274.0
Owner: sko...@chromium.org
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.
Status: Verified (was: ExternalDependency)
Labels: -M-62 M-66
Updating the milestone to when the external site was fixed so it's more relevant.
Labels: Test-Complete
Components: Blink>WebXR

Sign in to add a comment