show video controls by default, and fit the video inside its container.
This commit is contained in:
parent
26e3eee769
commit
58254aa497
@ -137,7 +137,9 @@ class GNUsocialVideoPlugin extends MicroAppPlugin
|
||||
{
|
||||
$vid = Video::getByNotice($notice);
|
||||
if ($vid) {
|
||||
$out->element('video', array('src' => $vid->url));
|
||||
$out->element('video', array('src' => $vid->url,
|
||||
'width' => '100%',
|
||||
'controls' => 'controls'));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user