Skip to content

How to stop audio after bootstarp close button in iframe

Phaneendra Chakravaram

Phaneendra Chakravaram

Asked Apr 17, 2018, 9:29 AM EDT1 answer
Share
LinkedInX
how to stop audio after bootstarp close button in iframe here is my code . i am genereating model id is dynamically bcz i have more videos.
 
@*">

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    JavaScript
    $("#myModal").on('hidden.bs.modal', function (e)
    {
        $("#myModal iframe").attr("src", $("#myModal iframe").attr("src"));
    });
    0