Has anyone been able to set who can view a private video on YouTube using the API?
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.
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.
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.
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.
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.
Well you could try to load the FLV to your own website. Do a login system and use flowplayer to show it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With