Video file share with YouTube and Twitter on iOS 6 and above

给你一囗甜甜゛ 提交于 2019-12-05 12:16:25

The Google objective-c API client that you reference in your question has a sample app for YouTube authentication and file upload. You should be able to just copy and paste most of the code, just using the correct API keys that you obtained in the Google API Console.

Ibrahim Ulukaya

I recently open sourced YouTube Direct Lite for iOS.

Here's the upload protocol that I'm using latest resumable uploads.

If you don't want to implement yourself, you can use ESSVideoShare. (Will not work with iOS 7 or higher)

Thanks everyone for answering and comment on this question because that leads me to get the best solution for my problem. Since I was looking for a very simple solution for my problem there was no direct answer to my question.

After searching on Google and trying out possible solutions I think I have found the simplest way of doing this. The resources are

  1. https://github.com/stuffmc/YouTubeSample_iOS
  2. http://hoishing.wordpress.com/2011/08/23/gdata-objective-c-client-setup-in-xcode-4/

Again the code is bit out dated but still work.

Combination of these two and some changed to the Github code to make it ARC enabled I managed to do it. Its 2 simple files and GData static library.

Thanks everyone!

I recently discovered that the new 'Youtube Capture' app can be used with UIDocumentInteractionController

Reference on iOS

Sadly I have been trying to pass a caption using the annotation field without any success. But if caption is not important, it's worth knowing.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!