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

138
Vistas
Add loading page between HTML pages

I have a mp4 animation, that i wanted to be played as a loading animation between two html pages. The video is about 5 seconds long, so i wanted this loading page to be the same lenght. Is there a way to do that?

If so, is it possible to choose for how long that loading page will be displayed, like 10 seconds, for example, so the loading animation would be repeating until the loading page is over?

about 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

So for this I would add this to each page

<iframe id="loadingBar" src="loading.mp4"/>

<script>
   $(document).ready = () => {
       Window.setTimeout(5000); //wait for 5 seconds
       $("#loadingBar").attr("display","none");
       $(".page").click = () => {
          location.href = index.html?page=2;
       };
   };
</script>
about 4 years ago · Santiago Trujillo 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