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

103
Vistas
how to make video autoplay when page loads bydefault?

How to make that video to be played automatically when the page load?
can you say how to play multiple videos which can be switched using other elements like buttons.
here's the source

`https://codepen.io/yasgo/pen/BjbKrV`
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You can autoplay videos by adding the autoplay attribute to your video element.

For example:

<video controls autoplay>
<source src="https://www.w3schools.com/html/mov_bbb.mp4" type="video/mp4">
</video>

This code also includes the source you mentioned (it's from W3Schools).

This code may not work since Google Chrome and Safari sometimes block it.

Try this if the code doesn't work:

<video autoplay muted>
<source src="https://www.w3schools.com/html/mov_bbb.mp4" 
type="video/mp4">
</video>

This will mute the video but it will work for sure.

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