Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7527695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T04:10:07+00:00 2026-05-30T04:10:07+00:00

So I have successfully created an upload script using the API, but now I

  • 0

So I have successfully created an upload script using the API, but now I am having troubles with an update/delete script. It appears there is a broken link on the Gdata website which originally lead to a page of the Zend_Gdata_YouTube_VideoEntry object, and I need to figure out how to give the API which video to delete/update.

I have the video ID of the video I want to update, but I can’t seem to find where to put it in my update request.

My code for updating only consists of the sample code as provided on the Gdata website, and so here is the website:
http://code.google.com/apis/youtube/2.0/developers_guide_php.html#Updating_Video_Information

I am after how to specify which video to update, similar to a WHERE statement in a SQL query. Does anybody know how to do this?

Please leave a comment if more information is required. Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T04:10:09+00:00Added an answer on May 30, 2026 at 4:10 am

    You need to get the video entry for a video and then use that to update it.

    http://code.google.com/apis/youtube/2.0/developers_guide_php.html#Retrieving_Video_Entry
    

    so your update code should be as followed:

    $videoEntry = $yt->getVideoEntry('the0KZLEacs');
    $putUrl = $videoEntry->getEditLink()->getHref();
    $videoEntry->setVideoDescription('This description is better. Hurrah!');
    $yt->updateEntry($videoEntry, $putUrl);
    

    Untested but it should do the trick. I just combined 2 examples from the link you provided.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have successfully created an app that reads from a bundled .plist file and
I have successfully compiled lua in my mac. It works. It runs. Now, I
I have successfully implemented Forms Authentication in SSRS, so it now uses both Roles
I am using Jquery form plugin to upload file in Ajax request.File is successfully
I am using Jquery form plugin to upload file in Ajax request.File is successfully
Following the Heroku tutorial but I have already created a rather complex Django app
I have integrated the Facebook-sdk successfully in to my appplication. Now i am going
I have successfully created an ASP.net website to make calls to a Soap Web
I am trying to implement file upload functionality on my site. I have created
I have created a Joomla based website and willing to upload it on live

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.