googlearchive / webvr-ui

WebVR-UI Javascript library making it easy to create a button for entering VR mode
https://googlevr.github.io/webvr-ui/examples/basic.html
Apache License 2.0
250 stars 53 forks source link

Does not work with latest webvr-polyfill #20

Open devasur opened 6 years ago

devasur commented 6 years ago

Enter VR Button does not recognize VR Displays with the latest webvr-polyfill release. Could you please check? @hapticdata @dmotz @HalfdanJ

https://github.com/immersive-web/webvr-polyfill/releases/tag/v0.10.0

jsantell commented 6 years ago

I was able to get the examples working here with polyfill 0.10.3 -- you just need to add the constructor to explicitly create the scope and options for the polyfill. Check out the first bullet point under Feature Changes in the 0.10.0 release notes

devasur commented 6 years ago

Thank you Jordan; @jsantell ; I am sure you are right. I will include the explicit constructor. And will fix examples code here.