diff --git a/static/js/lightbox.js b/static/js/lightbox.js index 89e16181d8..9d4797e274 100644 --- a/static/js/lightbox.js +++ b/static/js/lightbox.js @@ -235,6 +235,12 @@ $(function () { $("#lightbox_overlay .lightbox-canvas-trigger").click(); e.preventDefault(); }); + + $("#lightbox_overlay .player-container").on("click", function () { + if ($(this).is(".player-container")) { + overlays.close_active(); + } + }); }); return exports;