This commit is contained in:
Lorenzo Giacomelli
2017-03-23 17:21:02 +01:00
parent 8369b52d38
commit c1c42146a4
@@ -13,7 +13,7 @@ class MediaLocalVideo extends MediaRenderer{
$size = self::$SIZES[$opt["size"]];
}
return '<video width="'.$size["width"].'" height="'.$size["height"].'" preload="auto" controls >'.
return '<video width="'.$size["width"].'" height="'.$size["height"].'" preload="metadata" controls >'.
'<source src="'.$this->getVideoLink($size).'" type="video/'.$this->getExtension().'" >'.
'</video>';
}