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

187
Vistas
iframe Video in Modal Popup Replays Audio After Modal Close - Wordpress Site

I am using the Impreza Wordpress theme. To a page on my site, I added a popup modal element which contains an embedded iframe YouTube video. When I add ?autoplay=1 to the iframe src url, the video autoplays as expected when I open the modal popup, but when I close the modal popup, the audio replays even though the modal popup and video are no longer open/visible.

I'm trying to accomplish something like this: Youtube Video Still Playing When Bootstrap Modal Closes. My Javascript skills aren't strong enough to figure out how to apply the Bootstrap modal solution to this situation.

Here's the HTML I put in the popup modal element (Stack Overflow video for example purposes):

<div class="responsive-video">
  <iframe class="myEmbed" title="YouTube video player" src="https://www.youtube.com/embed/HJtJXMKpl2g?autoplay=1" allowfullscreen="allowfullscreen" width="1024" height="565" frameborder="0"></iframe></div>

Any suggestions would be greatly appreciated!

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