From 65342481840f8c501b4f6080ee753fb0231033a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ure=C3=B1a?= Date: Thu, 20 Jun 2024 00:20:25 +0200 Subject: [PATCH] MDL-82002 Media: Video embedding from the app is styled properly. --- media/player/vimeo/wsplayer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;