Battling with the Youtube API

Filed Under (Chatter) by Mystalia on 19-03-2010

Given the task of creating a batch youtube downloader/uploader I scurried over to Googles set of API’s namely the youtube .NET API Class.

It’s a useful class, laid out nice and simply but there is on thing that I find fairly important that is just “Bugged” and nobody seems to care. As a C#.net developer I like to see well documented classes, the youtube api website offers little help for me on this issue.

My issue is with video uploading and there are 2 ways to do this with the .NET Class one is Direct Upload (for windows forms applications) or Browser Upload (ASP), being a windows app obviously I use Direct Upload only I can’t because any video file above 2mb just times out!

{"The request was aborted: The request was cancelled."}

I thought to myself, ok well that’s an easy fix, just set the request timeout to infinity but it seemed to achieve… nothing. This issue is well discussed but nobody has come up with an answer.

 

http://www.mailinglistarchive.com/html/youtube-api-gdata@googlegroups.com/2009-10/msg00022.html

http://code.google.com/p/google-gdata/issues/detail?id=197

http://help.youtube.com/group/youtube-howto/browse_thread/thread/841a8796958c5bcf

http://markmail.org/message/bjbqy6u5cttxhvxo

http://groups.google.com/group/youtube-api-gdata/browse_thread/thread/4b29b86141fd3a66

 

I’m gonna go over to google code and open a new bug report, surely they would have tested the API before they released it? Apparently not.