Issues

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

Description

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

Comments

Insufficient information to reproduce.

Also, it looks like this is being discussed here: http://groups.google.com/group/youtube-api-gdata/…

hi!

yes, I opened that post and I have already solved

Sorry about the inconvenience

greetings