mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 13:38:32 +01:00
MDL-82002 Media: Video embedding from the app is styled properly.
This commit is contained in:
parent
4197e50fec
commit
9f1ab61160
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user