Index: trunk/extensions/TimedMediaHandler/TimedMediaTransformOutput.php |
— | — | @@ -97,7 +97,8 @@ |
98 | 98 | 'data-videopayload' => $this->getXmlMediaTagOutput( $this->getPopupPlayerSize() ), |
99 | 99 | ), |
100 | 100 | Xml::tags( 'img', array( |
101 | | - 'style' => 'width:100%;height:100%;', |
| 101 | + 'style' => "width:" . intval( $this->width ) . "px;height:" . |
| 102 | + intval( $this->height ) . "px", |
102 | 103 | 'src' => $this->getUrl(), |
103 | 104 | ),'') |
104 | 105 | . |