I've been reading plenty of here and there examples on how to use the Gdata API to upload a video file to youtube, but none are crystal clear. Is there a simple clear example on how to do this? Basically I have an asp.net page, with a login to youtube link, when the user clicks the link he will be prompted to enter his credentials. After successful login, he will be redirected to the asp.net page where he selects his video file and uploads it to youtube.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
GData was turned off 3 weeks ago. You have to use the data api v3. Here's some example code: https://developers.google.com/youtube/v3/code_samples/dotnet#upload_a_video