Skip to content

Instantly share code, notes, and snippets.

@nicolasbinet
Created December 2, 2015 14:47
Show Gist options
  • Save nicolasbinet/9fcf5f9a56c9d59d2f6b to your computer and use it in GitHub Desktop.
Save nicolasbinet/9fcf5f9a56c9d59d2f6b to your computer and use it in GitHub Desktop.

Revisions

  1. nicolasbinet created this gist Dec 2, 2015.
    3 changes: 3 additions & 0 deletions stop video on hide modal
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    $("#myModal").on('hidden.bs.modal', function (e) {
    $("#myModal iframe").attr("src", $("#myModal iframe").attr("src"));
    });