Skip to content

Commit

Permalink
https://github.com/WWBN/AVideo/issues/8761#issuecomment-1879298240
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Jan 5, 2024
1 parent a8893a5 commit a074018
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugin/CustomizeAdvanced/CustomizeAdvanced.php
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,9 @@ public static function setShortSummaryAndMetaDescriptionVideo($videos_id, $Short
}
$video = new Video('', '', $videos_id, true);
$externalOptions = _json_decode($video->getExternalOptions());
if(empty($externalOptions)){
$externalOptions = new stdClass();
}
$externalOptions->SEO = array('ShortSummary'=>$ShortSummary, 'MetaDescription'=>$MetaDescription);
$video->setExternalOptions(json_encode($externalOptions));
return $video->save();
Expand Down

0 comments on commit a074018

Please sign in to comment.