Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

103
Visualizações
VR is not supported three.js

I am trying to integrate a VR using three.js and i added this things to my code:

import { VRButton } from "three/examples/jsm/webxr/VRButton.js";

and

document.body.appendChild(VRButton.createButton(renderer1));
renderer1.xr.enabled = true;

My problem is that:

enter image description here

I guess my issue is that i am in localhost and in webpack server and URL is:

http://localhost:8080/

which is not https and i learnt from the

https://developer.mozilla.org/en-US/docs/Web/API/WebXR_Device_API that webxr only works on https.

Is it because of https, if yes how can i solve this so that i can learn !!! If no, what i need to do more !!!

Thank you

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda