Upload video to different channel using Youtube API, Ruby

I use Yt gem to work with Youtube API and upload video using Yt::Account class.

The problem is that I need to allow user to choose channel to upload to – for example, one user has a second channel related to Google Plus page and this user should be able to upload video to that Youtube channel, not user’s default one.

It seems like Yt misses the ability to specify channel (or I missed something).

I found also examples from Google https://developers.google.com/youtube/v3/code_samples/ruby but all it says is “upload a video to the channel associated with the request” – and nothing about how to associate different channel.

Any help is appreciated


Source: ruby

Leave a Reply