integration/js/tagplayer.js
changeset 118 124f7745a3d6
parent 81 a2befc2110c1
equal deleted inserted replaced
117:8197ce074d6d 118:124f7745a3d6
   591         return false;
   591         return false;
   592     });
   592     });
   593     
   593     
   594     $("#btnInfo, .lightBoxClose").click(function() {
   594     $("#btnInfo, .lightBoxClose").click(function() {
   595         $(".lightBoxWrap").toggle();
   595         $(".lightBoxWrap").toggle();
       
   596         if (currentMedia) {
       
   597             if ($(".lightBoxWrap").is(":visible")) {
       
   598                 currentMedia.pause();
       
   599             } else {
       
   600                 currentMedia.play();
       
   601             }
       
   602         }
       
   603         
   596         return false;
   604         return false;
   597     });
   605     });
   598     
   606     
   599 }
   607 }