Fullscreen youtube
Signed-off-by: Riccardo Di Dato <r.didato@asdynamics.it>
This commit is contained in:
@@ -13,7 +13,7 @@ class MediaYoutube extends MediaRenderer{
|
||||
$size = self::$SIZES[$opt["size"]];
|
||||
}
|
||||
// return $this->link;
|
||||
return '<iframe itemprop="video" width='.$size["width"].' height='.$size["height"].' src="'.$this->getVideoLink().'" frameborder="0"></iframe>';
|
||||
return '<iframe itemprop="video" width='.$size["width"].' height='.$size["height"].' src="'.$this->getVideoLink().'" frameborder="0" allowfullscreen="1"></iframe>';
|
||||
// return '<iframe width="560" height="315" src="https://www.youtube.com/embed/4qkv-iy_MaQ" frameborder="0" allowfullscreen></iframe>';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user