diff --git a/media/player/vimeo/wsplayer.php b/media/player/vimeo/wsplayer.php index 0d23e80bea7..d6d963de8f2 100644 --- a/media/player/vimeo/wsplayer.php +++ b/media/player/vimeo/wsplayer.php @@ -63,7 +63,7 @@ $context = ['embedurl' => $embedurl->out(false)]; // Template context. if (empty($width) && empty($height)) { // Use the full page. The video will keep the ratio. - $context['display'] = "position:absolute; top:0; left:0; width:100%; height:100%;"; + $context['style'] = "position:absolute; top:0; left:0; width:100%; height:100%;"; } else { $context['width'] = $width; $context['height'] = $height;