Stop playing the YouTube video when I close the modal window
How to Stop playing the popup video when closing the modal window?
// stop playing the youtube video when I close the modal
$('#myModal').on('hide.bs.modal', function (e) {
// a poor man's stop video
$("#video").attr('src','');
})
Best way to stop background or popup played video