Skip to content

Instantly share code, notes, and snippets.

@gordonbrander
Last active January 31, 2023 22:21
Show Gist options
  • Save gordonbrander/432fd7c9f130de8e31082a1e708db208 to your computer and use it in GitHub Desktop.
Save gordonbrander/432fd7c9f130de8e31082a1e708db208 to your computer and use it in GitHub Desktop.
How to get WebVR working with Daydream

How to get WebVR working with your brand-new Daydream View & Pixel.

  1. Update Daydream app to latest (Play Store)
  2. Update Chrome app to latest (Play Store)
    • Tip: if you're feeling brave, download Chrome Canary instead. Better perf and new features.
  3. Update Google VR Services (Play Store)
  4. Open chrome://flags/#enable-webvr
    • Click "Enable"
  5. Open chrome://flags/#enable-vr-shell
    • Set dropdown to "Enabled"
  6. Relaunch Chrome
  7. Visit a-frame.io
  8. Profit!
@gordonbrander
Copy link
Author

http://a-frame.io is registered with Chrome's Origin Trials so if you're not doing dev work, and just want to try WebVR, you can update Chrome and skip directly to visiting http://a-frame.io.

@tommytee
Copy link

I have a Samsung S8 here and this is not working. (the a-frame.io website anyway )

It looks like it is going to work (does the "press the home button to wake the controller")
but then just returns to the a-frame website. ( normal mode, no stereoscopic split screen )

I have the latest everything and all the flags enabled.

@tommytee
Copy link

One of the more painful things is how when it switches to the app and back it breaks the dev tools connection. so error reporting :(

When I try to use it on my own stuff I get the same result: it just returns back to the normal site without vr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment