From e6ba73692ad1568cf4d46129c00d4075ff648040 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Wed, 27 Apr 2016 10:37:16 +0000 Subject: [PATCH] #fluidbook-workshop : fix non interactive anims prevent zoom --- inc/ws/Util/html5/class.ws.html5.links.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/inc/ws/Util/html5/class.ws.html5.links.php b/inc/ws/Util/html5/class.ws.html5.links.php index d45bdf547..ece867e4a 100644 --- a/inc/ws/Util/html5/class.ws.html5.links.php +++ b/inc/ws/Util/html5/class.ws.html5.links.php @@ -698,8 +698,6 @@ class htmlMultimediaLink extends wsHTML5Link { $this->_config = array('html' => false, 'width' => $this->width * $this->getCssScale(), 'height' => $this->height * $this->getCssScale()); } - fb($this->_config); - $w = $this->width * $this->getCssScale(); $h = $this->height * $this->getCssScale(); $res = ''; @@ -740,7 +738,12 @@ class htmlMultimediaLink extends wsHTML5Link { } public function getHTMLContainerClass() { - return 'link multimedia'; + $res = 'link multimedia'; + if (!$this->interactive) { + $res .= ' notinteractive'; + } + + return $res; } -- 2.39.5