]> _ Git - fluidbook-html5.git/commitdiff
Fix multimedia scale
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 19 Jun 2015 10:26:54 +0000 (10:26 +0000)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 19 Jun 2015 10:26:54 +0000 (10:26 +0000)
js/libs/fluidbook/fluidbook.resize.js

index 2abd2aebaa4eacdbf8727cd4591dce97d5fae7c6..210a8ba4e3ee6a4193071dada3b1981bdf5b620b 100644 (file)
@@ -213,6 +213,12 @@ FluidbookResize.prototype = {
             });
         });
 
+
+        $(".mview .webvideo").each(function () {
+            var h = $(window).height() - 44;
+            $(this).css('height', h);
+        });
+
         $(".mview .multimediaScale").each(function () {
             var iframe = $(this).find('iframe');