| changeset 118 | 124f7745a3d6 |
| parent 81 | a2befc2110c1 |
--- a/integration/js/contentplayer.js Fri Jan 25 18:55:07 2013 +0100 +++ b/integration/js/contentplayer.js Tue Feb 05 18:41:29 2013 +0100 @@ -514,6 +514,13 @@ $("#btnInfo, .lightBoxClose").click(function() { $(".lightBoxWrap").toggle(); + if (currentMedia) { + if ($(".lightBoxWrap").is(":visible")) { + currentMedia.pause(); + } else { + currentMedia.play(); + } + } return false; });