playground

3
$(".video-modal").on('hidden.bs.modal', function () { $(this).find("iframe").attr("src", $(this).find("iframe").attr("src").replace("?autoplay=1", "")); });