Corretto itemprop per share su social media articolo
This commit is contained in:
@@ -13,7 +13,7 @@ class MediaImage extends MediaRenderer{
|
||||
if(array_key_exists("size", $opt) && array_key_exists($opt["size"], self::$SIZES)){
|
||||
$size = $opt["size"];
|
||||
}
|
||||
return '<img src="'.$this->getImageLink($size).'"/>';
|
||||
return '<img itemprop="image" src="'.$this->getImageLink($size).'"/>';
|
||||
}
|
||||
|
||||
public function render(array $opt = array ()){
|
||||
|
||||
@@ -9,7 +9,7 @@ class MediaYoutube extends MediaRenderer{
|
||||
|
||||
public function asText(array $opt = array()){
|
||||
// return $this->link;
|
||||
return '<iframe src="'.$this->getVideoLink().'" frameborder="0"></iframe>';
|
||||
return '<iframe itemprop="video" src="'.$this->getVideoLink().'" frameborder="0"></iframe>';
|
||||
// return '<iframe width="560" height="315" src="https://www.youtube.com/embed/4qkv-iy_MaQ" frameborder="0" allowfullscreen></iframe>';
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -121,7 +121,7 @@ GUIHandler::generateHtmlHeaders(array("additionalHeaders"=>$additionalHeaders));
|
||||
</div>
|
||||
<div class="articoloContainer" >
|
||||
<div class="headArticolo">
|
||||
<div class="articoloMainMedia mediaContent" <?php echo $mediaMetaInfo;?>>
|
||||
<div class="articoloMainMedia mediaContent" >
|
||||
<?php if(!is_null($media)) {
|
||||
$media->renderMedia(array("size"=>MediaRenderer::SIZE_BIG));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user