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

113
Vistas
Autoplay HTML5 video

I'm trying to set an HTML5 video element on iOS Safari to autoplay on page load.

I know that a video can only be triggered from a user event. Here's my scenario.

I have a list of videos on /videos.html for example. That list of videos has a play button that takes the user to /videos/my-video.html

I don't want to the user to have to click 'play' again while on this URL. In my mind, they've already triggered the user event from the previous page.

Do I have any options here?

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

0

Use "autoplay" attribute to play video on page load. Add this attribute dynamically to HTML video element on the click event of play button in /videos.html. You can also use "muted" attribute to play video on mute by default.

<video width="320" height="240" autoplay muted>
  <source src="movie.mp4" type="video/mp4">
</video>
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