Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

134
Vistas
When making a redirection in aframe virtual reality mode, it freezes for 2 to 5 seconds

Any way that I can do the redirection without freezing, or in any case that a message appears to the user that he is being redirected?

I tested in Meta Quest Browser and Firefox Reality.

I have tried these two forms of redirection:

window.location.replace("https://en.wikipedia.org/wiki/Main_Page");
window.location.href = "https://en.wikipedia.org/wiki/Main_Page";

I share the test link:

Live site: https://heavenly-tangy-address.glitch.me

Code: https://glitch.com/edit/#!/heavenly-tangy-address

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

I find this solution to work well.

What consists of leaving the vr mode and then just doing the redirection

const sceneEl = document.querySelector('a-scene');
if (sceneEl.is('vr-mode')) sceneEl.exitVR();
window.location.href = "https://en.wikipedia.org/wiki/Main_Page";

I think this is a good solution to avoid screen freezing

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda