Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Private viewers using the YouTube API

Has anyone been able to set who can view a private video on YouTube using the API?

like image 698
user160222 Avatar asked Aug 20 '09 17:08

user160222


People also ask

Can I use YouTube API for free?

YouTube Data API costs are based on quota usage, and all requests will incur at least a 1-point quota cost. For each project, you're allowed 10,000 free quota units per day. You can use the quota calculator to determine your quota costs. If you need more queries, you can apply for higher quotas, but pricing may vary.

What is API Secret YouTube?

To prevent potential abuse, YouTube grants each user a unique API key that allows them to connect their website or app to the platform. Each API key is designated for an individual project. If you're using the API on two different websites, you should create two different API keys.

Can you use YouTube API commercially?

Distribution and Commercial Use. You may distribute or sell API Clients subject to the restrictions defined in the "Prohibited Actions" subsection below and, of course, to the other terms of the Agreement.

What can you do with the YouTube API?

The API provides the ability to retrieve feeds related to videos, users, and playlists. It also provides the ability to manipulate these feeds, such as creating new playlists, adding videos as favorites, and sending messsages. The API is also able to upload videos.


2 Answers

The API isn't designed for this, so it's either very difficult or impossible.

You can only share a private video with 25 of your friends, so you have to first be friends with them, then give them access, which means the api would have to do all of these actions and once you hit 25 people you'd have to stop anyway.

You should probably use a different service or make your own if you want private videos.

like image 145
Geoff Avatar answered Oct 01 '22 02:10

Geoff


Well you could try to load the FLV to your own website. Do a login system and use flowplayer to show it.

like image 25
ThorDivDev Avatar answered Oct 01 '22 04:10

ThorDivDev