-
Bug
-
Resolution: Fixed
-
Minor
-
4.3.5, 4.4
When embedding a vimeo video from the app, the app replaces the vimeo url to a LMS url: /media/player/vimeo/wsplayer.php
Using this the video is not properly styled and it occupies only partial place of the iframe.
Checking the code, on wsplayer.php width and height is applied on line 66:
$context['display'] = "position:absolute; top:0; left:0; width:100%; height:100%;";
But checking the template (media_vimeo/appembed) display is not used but it's used style instead. #style}}style="{{style" /style
To solve this, change $context['display'] to $context['style'].