ZF-7561: uploading private video to youtube with PHP API


hello, (sorry for my english level)

I'm using php5 and zendgdata 1.9.0 (final release)

I need to upload videos to youtube with api in php, I do it without problems, but I need to upload them as private and do not get ...

the error here ....

Fatal error: Call to undefined method Zend_Gdata_Media_Extension_MediaGroup::setPrivate() in /usr/local/lib/php/library/Zend/Gdata/YouTube/VideoEntry.php on line 808

here a part of my code ...

$yt = new Zend_Gdata_YouTube($httpClient); $myVideoEntry= new Zend_Gdata_YouTube_VideoEntry(); . . . $myVideoEntry->setVideoPrivate(); (here is the problem)

any help please?

thank you very much


Insufficient information to reproduce.

Also, it looks like this is being discussed here:…


yes, I opened that post and I have already solved

Sorry about the inconvenience