Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Best way to upload videos to YouTube?

$
0
0

I'm working on an iOS app that may be built out for Android later. I'm trying to figure out the best route for uploading videos to YouTube. There's several libraries out there to help with this somewhat complicated process but unfortunately, there doesn't seem to be anything out there compatible with a MonoTouch & MonoDroid PCL. Google has provided client libraries for Obj C and .net but the .net classes do not compile for MT and MD (probably due to use of System.Net.Http).

What I'm after is something that offers the YouTubeService class that makes resumable uploads simple and straight forward. Being able to do this in a PCL is great, but not necessary. I have found these existing resources that I am trying to bend to my needs. They all contain some sort of YouTubeService class that makes this process easy.

Here's the resources that I've found that I haven't been able to get to work for me:

https://developers.google.com/api-client-library/dotnet/get_started - This is the 'official' .net client library linked form the YouTube API docs. It has PCL projects for WinRT and Windows Phone but won't compile in Xamarin Studio if targeting Xamarin.Android or Xamarin.iOS as well.

http://code.google.com/p/google-api-objectivec-client/ - This is the 'official' obj c client library. I could start trying to build a Binding project against this but I've had bad luck with binding projects in the past and it wouldn't be cross-platform.

https://code.google.com/p/google-gdata/ - Another .net client library. Its huge and not the 'official' one.

https://bitbucket.org/jbehren/googleapi-monotouch - This project has the right idea but hasn't been updated in almost 2 years. I've read other places that people did not have success with getting this to work.

Unfortunately, in this case I'm thinking if I had used Obj C for this project I would be done by now since Google provides the slick Obj C client lib. I think offering components similar to the one for Google+ for YouTube integration in the component store would be awesome. I would even pay a few bucks for that.

Has anyone else implemented video uploads to YouTube? If so, what did you use and how did you do it?


Viewing all articles
Browse latest Browse all 204402

Trending Articles