Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EmscriptenApplication.js:35:2:WebXR unsupported in this browser #87

Closed
yylittlefish opened this issue Jul 1, 2020 · 4 comments
Closed

Comments

@yylittlefish
Copy link

Hi,
I build webxr for emscripten in ubuntu, and generated :
EmscriptenApplication.js
magnum-webxr.html
magnum-webxr.js
magnum-webxr.wasm
WebApplication.css

I setup a server using python SimpleHTTPServer and access the html with my PC browser,
I could see a image in the browser but there's error log in console:WebXR unsupported in this browser

I tried it in chromium and Edge, they have the same issue.
my Chromium version is 83.0.4103.116(正式版本) (32 位)

Have anybody met this kind of issue? any help will be appreciated!

@mosra mosra added this to the 2020.0b milestone Jul 1, 2020
@mosra mosra added this to TODO in Platforms via automation Jul 1, 2020
@mosra
Copy link
Owner

mosra commented Jul 1, 2020

Pinging @Squareys, since he's the WebXR guru here :)

@Squareys
Copy link
Contributor

Squareys commented Jul 1, 2020

Hey @yylittlefish ,

Desktop Chromium don't support WebXR yet, I think. You could try Firefox with HTC Vive, but apart from that, you're still out of luck. It should definitely work on the Oculus Browser, though, in case you have an Oculus Quest or Oculus GO.

@yylittlefish
Copy link
Author

Hey @yylittlefish ,

Desktop Chromium don't support WebXR yet, I think. You could try Firefox with HTC Vive, but apart from that, you're still out of luck. It should definitely work on the Oculus Browser, though, in case you have an Oculus Quest or Oculus GO.

Hi, thank you for your reply!

"Desktop Chromium don't support WebXR yet" => does any other version Chromium support WebXR?
actually I finally want to run the webXR example in TV, it contains chromium browser too.

I installed firefox browser with version 78.0.1, but not connected with HTC Vive, it also shows "WebXR unsupported in this browser"
does the WebXR feature only supported when VR/XR devices are connected?
library_webxr.js calls w3c webxr apis in this page: https://www.w3.org/TR/webxr/#xr-device-concept
even if there's no HTC Vive, the APIs should be supported, right?(in both chromium and firefox).

@mosra
Copy link
Owner

mosra commented Jul 2, 2020

Vaguely related, the WebXR demo is now also available on https://magnum.graphics/showcase/webxr/

@mosra mosra closed this as completed Oct 17, 2021
Platforms automation moved this from TODO to Done Oct 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Platforms
  
Done
Development

No branches or pull requests

3 participants