Deleting YouTube videos using Zend/PHP

Posted by Mikael on Stack Overflow See other posts from Stack Overflow or by Mikael
Published on 2010-03-23T15:31:54Z Indexed on 2010/03/23 22:43 UTC
Read the original article Hit count: 384

Filed under:
|
|
|

Hello,

I'm using Zend and PHP to upload and delete videos from my home page. The uploading part is working fine but to download is more complicated.

$videoEntryToDelete = $yt->getVideoEntry($videoId);
$yt->delete($videoEntryToDelete);

I use this code to delete a video and the first row do work. The video object is created and I can get all data from it. But when I try to delete it I get this error message: "You must specify an URI to which to post"

Do anyone know how to solve this problem?

Thanks!

© Stack Overflow or respective owner

Related posts about zend

Related posts about php