'; echo '
'.$T["items"][$i]["snippet"]["title"].'
'; echo '
Date du live : '.date("d-m-Y G:m",strtotime($T["items"][$i]["liveStreamingDetails"]["scheduledStartTime"])).'
'; echo ''; $url_pattern = '/(http|https|ftp|ftps)\:\/\/[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(\/\S*)?/'; $str=nl2br( preg_replace($url_pattern, '$0', $T["items"][$i]["snippet"]["description"])); //Mise a jour des hashtage avec leurs liens $re = '/(?#$1'; $result = preg_replace($re, $subst, $str); echo '
Description : '.$result.'
'; } ?>