Choinksnits
New Member
There is an example how to search videos by search term in the documentation, but how to extract information from single video when you have the videoID. \[code\]<?php // set feed URL $feedURL = 'http://gdata.youtube.com/feeds/api/videos/LjhCEhWiKXk?v=2'; // read feed into SimpleXML object $sxml = simplexml_load_file($feedURL);// this get the video title$videoTitle = $sxml->title;?>\[/code\]I get only the video title ... also there is no views count,description and duration.