java - How can I set videos to "private yet shared" using the v3 YouTube API? -
i work school has institutional youtube account (google apps education). video privacy options public, unlisted, , private.
the important bit: private videos can shared either: - institution (i.e., students school account), or - list of specific email addresses.
we have tool uses v3 youtube api (java) automatically upload videos youtube.
i can use api set privacy:
videostatus videostatus = new videostatus(); videostatus.setprivacystatus("private");
but how set sharing (e.g., "shared school.edu") using youtube api? assume it's possible because can done (manually) using youtube's online video manager.
it seems more people being left in dark this, questions date years ago.
e.g.: youtube api: private video access links yt dev reaction: https://groups.google.com/forum/#!topic/youtube-api-gdata/lkfdtwxjwp8/discussion (may 2012)
there not, unfortunately, , don't believe specific functionality added.
moreover the bug jal linked to dates april 2014, seems private video's come own set of problems.
to conclude, i'll sticking the unlisted video approach, seems trade-off me. can return unlisted video's own set of users, gives me control on level. if user feels mailing around youtube link, that's bad. aforementioned link states:
sometimes, security compromise. @ 1 end of spectrum, can lock things down no 1 can access data. @ other end, usable , accessible data not secure.