--- a/player/js/player.js Thu Jun 27 16:34:04 2013 +0200
+++ b/player/js/player.js Mon Jul 08 18:53:14 2013 +0200
@@ -639,10 +639,13 @@
}
$(".about").click(function() {
+ myMedia.pause();
closeAnnotation();
var aboutBox = $(".annotation-templates .about-box").clone().appendTo($(".main-video"));
aboutBox.find(".close-annotation").click(closeAnnotation);
- aboutBox.css({ top: Math.floor(($(".main-video").height() - aboutBox.height())/2)+"px" });
+ var mainH = $(".main-video").height();
+ aboutBox.find(".about-contents").css("max-height", mainH - 100);
+ aboutBox.css("top", Math.floor((mainH - aboutBox.height())/2)+"px");
});
function closeAnnotation(e) {