Get informations about movies

This commit is contained in:
Pierre
2018-01-03 09:53:10 +01:00
parent 746d08c29f
commit 9be24430b2
2 changed files with 71 additions and 0 deletions

View File

@ -168,6 +168,14 @@ class Posts {
//Video specific
$info["video_id"] = $src["idvideo"];
//Get informations about the video
if(!is_null($info['video_id'])){
$info['video_infos'] = CS::get()->components->movies->get_infos($info['video_id']);
}
else {
$info['video_infos'] = null;
}
//Countdown timer specific
$info["year_end"] = $src["annee_fin"];
$info["month_end"] = $src["mois_fin"];