I work for a school that has an institutional YouTube account (Google Apps for Education). The video privacy options are Public, Unlisted, and Private.
The important bit: Private videos can be shared with either: - the institution (i.e., all students with a school account), or - a list of specific email addresses.
We have a tool that uses the v3 YouTube API (Java) to automatically upload videos to YouTube.
I can use the API to set privacy:
VideoStatus videoStatus = new VideoStatus();
videoStatus.setPrivacyStatus("private");
But how do I set sharing (e.g., "Shared with school.edu") using the YouTube API? I assume it's possible because it can be done (manually) using YouTube's online Video Manager.