immersive-web / webxr-samples

Samples to demonstrate use of the WebXR Device API
https://immersive-web.github.io/webxr-samples/
MIT License
987 stars 474 forks source link

Github code doesn't show "Enter VR" #95

Open hsalamat opened 3 years ago

hsalamat commented 3 years ago

I downloaded the Github code, unzip, and try to run any of the samples. It doesn't show "Enter VR". However when I run the code from the same browser directly from the github.io, it works. When I download the zip file from the github, do I have to run anything to be able to see "Enter VR"? I am using the same browser. One is the code that is local. One is directly from Github.

Thanks!

klausw commented 3 years ago

You need to use a secure origin. Either use https://, or do port forwarding via http://localhost:8000/ or similar.

On Sun, Feb 28, 2021, 11:30 hsalamat notifications@github.com wrote:

I downloaded the Github code, unzip, and try to run any of the samples. It doesn't show "Enter VR". However when I run the code from the same browser directly from the github.io, it works. When I download the zip file from the github, do I have to run anything to be able to see "Enter VR"? I am using the same browser. One is the code that is local. One is directly from Github.

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/immersive-web/webxr-samples/issues/95, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKT5X727BKVAQJD57EQJDDTBKKXDANCNFSM4YLLX7XA .