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

242
Vistas
Webm video format doesn't work on safari (ios)

Pls, be aware that problem only exist on ios devices and with webm format. Don't say that it works when you open example on sandbox. To test it , open it on real ios devices (sandbox example , see button below).

 <video
      id="video-which-do-not-want-to-work"
      autoplay
      loop
      muted
      playsinline
      width="400"
      height="300"
      src="https://dl8.webmfiles.org/elephants-dream.webm"
    ></video>

I've spend 2 days on making it works. But nothing help. What I've tried.

  1. Play it without autoplay
  2. All examples which I found on stack says that you should add playsinline and muted
  3. Tried to use source inside of video tag with webm type
  4. Tried to imitate button click
 const button = document.createElement('button')

 button.addEventListener('click', () => {
    document.getElementById('video-which-do-not-want-to-work').play()
 })

 button.click()
  1. Also tried to add real button in html and attach onclick event function , which exectute element.play()

  2. Checked is Low power mode swithced of on my phone

  3. Prayed God

IOS version of device: 15.5

Could anyone just attach working example , if it is possible ?

Code example:

Edit cranky-hugle-vf16ro

about 4 years ago · Juan Pablo Isaza
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