Hi everyone
I have installed in the youtube module, which works great - however I want to also pull a feed of the 3 latest videos uploaded to the homepage and have no idea how to start on this... I tried
function YoutubeVideos($num=3){
$blogs = DataObject::get_one("YoutubeGallery");
return ($blogs) ? DataObject::get("YoutubeGallery", "", "", "", $num) : false;
}
However this then only displays the information needed for the API service to go and grab the videos, i through the video URLs might be stored in the DB, but no :(
Any ideas welcome!
Thanks