I am banging my head against the wall, and I am sure it is due to not knowing PHP as well as I should!
I am trying to call this new class, and keep getting the error "Undefined variable: Google_Playlist" which I can only assume is due to me not calling the class properly.
$youtube = new Google_YoutubeService($client);
//update Playlist Name here
$ListOb = new $youtube->$Google_Playlist();
$InSnip = new $youtube->Google_PlaylistSnippet();
$InSnip.setTitle(str_replace("Candidates Federal","Candidates Australian Federal",$title));
I am using this PHP library to access Youtube API, with some success, but have gotten stuck at needing to create a Google_Playlist class item to do an update.
Google API Library
Your help and thoughts are appreciated greatly.