$video_id = ’LOsOynOl8cE’; $video_info = simplexml_load_file(‘http://gdata.youtube.com/feeds/api/videos/’.$video_id.’?v=1′); echo ($video_info->title . ‘
’); echo ($video_info->content);