Home /JQuery /Youtube Video in Modal/Dialog stops when closed /

Youtube Video in Modal/Dialog stops when closed

2:17 am, April 23, 2017

Original Post Date: 12:57 am, October 14, 2014

So the issue with modals/dialog and iframe videos / youtube embeds is that they keep playing in the background. This stops the playback when the dialog is closed. No More video playing in the background.

See the Pen Youtube Video in Modal/Dialog stops when closed by Luke (@kruxor) on CodePen.