Added: 3 years ago
From: GoogleDevelopers
Views: 200,896
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (106)

Sign In or Sign Up now to post a comment!
  • very good tutorial.

    soumydeb ghosh

  • Why use Zend...

  • cool video!

  • eww html mixed with functions.. pathetic code.

  • @salmanabbas007 did you ever consider it was example code that need to be as simple as possible? :)

  • I would like to have a lot of youtube videos with the Client Library.

  • for everyone with 403 error: you have to add your API key directly to the top of the php code.

  • its not work in linux.please help

  • Are there any premade php scripts which upload videos to a single youtube channel/account?

  • This what i needed infomation of.thank you google.team :)having problems on my site.subscriptions too.how it works .im gratful 4 googleteam 4 all the support.concerns.thank you guys and women staff.take care.a client of google.youtube.

  • In Soviet Russia, code runs you!

  • Too blurry to read = useless presentation

  • hello thanks alot,,

    please help me , i want to upload videos from computer not from server to specific youtube account from my site without login to youtube

  • what is that

  • He uses a Mac (for obvious reasons!) and for development he uses TextMate... Great stuff! Thanks for your effort.

  • Comment removed

  • Why is only for ZEND!!!!????

  • i have the same question

  • @sk8unk 

  • @sk8unk You can use it on Codeigniter, there's a library for it... search google for YouTube_API_for_CodeIgniter

  • @sk8unk yes why cant use without it?

  • wai was ist hier los!!!????!!!!!

  • Why it asks for Allow Access or Deny Access?

    Dont you think it is superfluous do this?

    That screen is really annoying

  • do you have to have ZEND ?>?

  • @enatomx

    nah, you can get a little stand-alone gdata thing, which is the gdata stuff and all the zend stuff it uses.

  • @enatomx like I said before, just search google for YouTube_API_for_CodeIgniter there's a library for it on CI. Way easier(faster) than using Zend...

  • Comment removed

  • "The first step is that we need to set our developer key".

    Nope, I have no such option. It merely reads "Click here to generate authentication link", and that fails.

  • This comment thread is just too funny to read.

  • come on ppl, no windows-mac war here. Go fight somewhere else.

  • @paddotk linux? :D REPLYING TO 2 years old comment.

  • @huiren92 :p

  • API should be simpler. Why do you have to assume that everyone is TECH SAVVY ? EMBED is easy, make it similar for the UPLOAD Link. All we need is copy/paste one single code that allows websites to have their users login to youtube, upload content and you can decide if you want them to be redirected to youtube or stay on the site. It's a joke that you can easily EMBED but to make that upload thing work on your site, it's a night mare!

  • @lolnepal They assume people looking for an API (Application Programmers Interface) are tech savvy because an API is for... programmers.

  • sounds like the ajax api is just for you

  • johon this was really helpful for me as new to api

  • i use a PC

  • joohaann is sooo sweet

    I love yoouu my dream booy

    (L)

  • i love johann too

  • Videos covering programming problems are incredibly useless.

  • i love johann

  • thts gay to confusing

  • I watch this if i wanna sleep

  • u do know this is for programming right?

  • Yes im aware!

  • are you saying that the whole world is on PHP 5.0??? Why are you ignoring 4.3.1 users ???? You know a lot of hosts don't offer the latest PHP. May be I am being too harse, but i can't find a thing for all those (majority of users) who are on PHP 4.3.1 Google, please have something for them... it includes me!

    it's sad, cause I've been looking for this kind of script for days and i can't find one.

  • install a cgi into your server bin

  • Then you demand your host upgrade or find a better host. PHP 4.x got the end-of-life announcement almost 2 years ago. Its object model is atrocious and there are a ton of security fixes that have happened in 5.x.

  • Oh wow! I'm surprised Google put stuff like this out.. From reading these comments, half the people trying to use the API are clueless and should be playing with crayons, not writing web apps!

    Google should make it more difficult for clueless people to start using this client SDK! And they should stop putting these "how-to"-style videos/guides out, which encourage numpties!

  • I just want to upload videos at the command-line importing the captions I write in my own personal system so that those captions show up in youtube.

    Does nobody do this?!?!

  • You should try using PHP's command line interface (CLI), that is if you know PHP. Best Wishes!

  • Comment removed

  • cause they are using a mac, duuuhhhh

  • did you ever think that maybe... just maybeee... there is no such thing as "google chrome for MAC" yet...? thus, googlees aren't idiots, the commenter is.

  • Well, that kinda proves my point, why would they make a browser, in order to not use it... you aren't a very smart person.

  • no, you clearly aren't a very smart person. because if you WERE aware... they are in the process of making it ready for mac. however, most programmers/developers use mac. the company isn't going to make a product for their own use thou, they're going to make it for the mass people (who typically use PC)... next time THINK before you speak

  • What you are saying doesn't make any sense whatsoever, Mac is a rival too google, it just makes no sense, why google would not use their own software for their own development, yet use one of their competitors, don't insult me with your baseless crap.

  • hahha.. are you sure your brain isn't where your ass is? developers use mac, not pc. NOT TO MENTION... Google is rivals with Microsoft (hence, they came out with Chrome to battle IE which is not on Macs, bud). I never heard of a Google/Mac rivalry... perhaps you can point me in the right direction...

  • alco I really hope you aren't serious. most developers use pc simply because windows has something like a 90% market share.

    Some developers use Mac and some use both but to say "developers use mac, not pc" is just stupid.

    Also, google entering the OS market makes it rivals with everyone currently in the OS market including linux and mac. I have no idea why you are limiting it to Google vs Microsoft.

  • Lol, MOST programmers use mac? You can't be serious...

  • Good God! Who in their sane mind would code using a MAC?

  • @nothinrandom A large proportion of web developers.....

  • alco19357 you really are not a programmer.

  • ok.. and i REALLY don't work for a wed design/programmnig/seo/ecommer­ce site. thx

  • Most developers use Macs. Err don't know about that. Google do mind as is their hatred for MS.

  • Concerning my previous post, which was a response to nath565656's question, I think this tool is only great if you use it on a good paid webhost. Not on free ones.

    But Google and Youtube Developers, you can't implement a feature to upload the file via the Youtube server to don't overtax your own webserver?? Why it doesn't open a Youtube upload form in a Frame, IFrame or something similiar located on the Youtube server?

  • Sometimes I think there must be some sort of ban at Google on providing working sample code for the youtube API.

    Rather than evangelizing the API, how about providing something useful?

  • Couldn't agree more!

    "So now you know how to upload a video to youtube using the api client and the php client library". hmm. All i learned was that I have a ton of crap to learn before I can even start learning how to use the Youtube api.

  • This guy is a bore to listen to.

  • um how long does it take for a video to upload? mines taking the length of the ice-age

  • It depends on the webhost you're using. If I'm right it the video's are uploaded via your webhost, temporary stored on the server and then transferred to youtube. So if you use for example a free webhost, it can take ages until your file is uploaded.

  • i noticed a whil ago now that avi files take a whole day to upload; i'm sticking with wmm files now. thanks anyways ==|:-)>

  • when you upload , is there a certain amount of vids you could upload in a while ?

  • nope and that's 10

  • oh ya and JstTera? i meant to say yup and that's 10 lol

  • LoL ahhah thanx

  • Jochen, pronounced like Yohann in Johann Sebastian Bach. Yes, this is generous of YouTube to open their API to the public. Now I know why there are many sites indexing YouTube videos and grabbing their information.

    Anyway, if I may be permitted to say so without being called gay: what's a gorgeous guy doing with the YouTube PHP client library? Is he really from the dev team or the marketing team?

  • @PixelsplasherDotcom not all developers are nerd's living ind a dark dungeon with pale skin, and glasses, some of us actually have a life ;)

  • iv uploaded my vid but its been proccesing for nearly 24 hours.

    wat should i do?

  • that's pretty much happening to me now, taking friggen years ...

  • hmm i'm pretty much fine now...

    learned not to upload avi files

  • no idea what he's on about.

  • He says his name is Johan, but in the description it says Jochen.

  • I'm looking to write a youtube multiuploader for Ubuntu.. partially because there isn't one, and mostly because my connection sucks, is there a way to write it so I can continue the upload if the line drops? This would be a client app but it would probably at the very least be in C as I have limited bandwidth on my VPS. My website (chann3lz) already uses the old API which seems easier actually, but I'll use the javascript "fersure".

    Personally I'd use an Ubuntu client for auto-vlogging.

  • Lol, 'Queery'...

    Nice tutorial.

  • It is the middle letter of the acronym SQL, which is a language used for integrating with database servers like MySQL. And it is Query, not Queery.

  • I was making fun of the way he pronounced it...

  • Yeah he does pronounce it wrong, sounds like he's german.. It's pronounced something like Qwaireey, not queery.. This is like pronouncing Nuclear as Nue-clear, Nuke-clar. Nuc-lear is the correct way I think.. Maybe I didn't see what Bush was doing wrong.

    My favorite is the SNL skit with Bush and Gore, "sum up in one word your campaign."

    bush (Will Ferrel): strateggery

    gore: lockbox

  • pues está my bien explicada la info

    gracias!!!

    hay algún link donde venga en Español???

  • i want to upload a vid from my camcorder...is there a maximum limit #kb's? it can upload?

  • I think it is 1GB now.. But probably best to convert the video to mp4 format, as a 640x480 mp4 of say 1600kbit/sec is needed to have youtube make a HQ video which is the new quality which is of a higher detail than previous youtube videos.

    If you are looking for a good program to convert videos, I am using blender 3D to convert my videos to mp4, if you check my youtube channel, you will see some examples of how to do this.

  • Great video! Does anybody know if there is a discussion forum about the PHP Client Library? I can't upload any video's: After given some keywords the loading text doesn't change to an browse box...

  • Where is the example in Zend Framework? Only have "ZendFramework-1.5.2\demos\Zen­d\Gdata\YouTubeVideoBrowser\" but is different on the video!

  • Hi,

    Its in /trunk, so just grab the latest version from subversion...

    Cheers,

    - jochen

  • Im looking for that too, and i cant see the /trunk! ?

  • test

  • Go to download folder and look foor subversion on the zend framework site for the instructions on how to use a svn like TortoiseSVN to download the latest version!

  • Much needed API. I've been using RSS until now but this will make things so much cleaner. Thanks Dev team!

  • "...and I'm a PC."

  • lol

  • hhaha im on a mac

  • I'm on Ubuntu..

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more