{"action":"created","issue":{"url":"https://api.github.com/repos/Fullscreen/yt/issues/221","labels_url":"https://api.github.com/repos/Fullscreen/yt/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/Fullscreen/yt/issues/221/comments","events_url":"https://api.github.com/repos/Fullscreen/yt/issues/221/events","html_url":"https://github.com/Fullscreen/yt/issues/221","id":97114123,"number":221,"title":"Question regarding accessing YouTube videos marked \"private\"","user":{"login":"TM818","id":5776752,"avatar_url":"https://avatars.githubusercontent.com/u/5776752?v=3","gravatar_id":"","url":"https://api.github.com/users/TM818","html_url":"https://github.com/TM818","followers_url":"https://api.github.com/users/TM818/followers","following_url":"https://api.github.com/users/TM818/following{/other_user}","gists_url":"https://api.github.com/users/TM818/gists{/gist_id}","starred_url":"https://api.github.com/users/TM818/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TM818/subscriptions","organizations_url":"https://api.github.com/users/TM818/orgs","repos_url":"https://api.github.com/users/TM818/repos","events_url":"https://api.github.com/users/TM818/events{/privacy}","received_events_url":"https://api.github.com/users/TM818/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-24T18:45:43Z","updated_at":"2015-07-25T07:06:57Z","closed_at":null,"body":"We have the yt gem (ver 0.25.2) deployed on our Rails 4.2.x project. We have deployed the yt gem on other projects as a replacement for the depreciated YouTubeIt gem and it worked well. \r\n\r\nWe are interested in having our YouTube videos set to private so they cannot be viewed unless accessed via our website (where they are embedded in a page). \r\n\r\nIs this possible via the yt gem? If so, what would the process be? We have deployed yt with a YouTube public API key (created via the standard Google Developers console for our YouTube account), but are having issues accessing content YouTube videos marked \"private\". Do we need to utilize OAuth2 and authorized our own client to access private content?\r\n\r\nPlease advise as to A) whether or not accessing personal videos set to \"private\" is possible via the yt gem, and if so, B) what that process is. Thank you.\r\n"},"comment":{"url":"https://api.github.com/repos/Fullscreen/yt/issues/comments/124815173","html_url":"https://github.com/Fullscreen/yt/issues/221#issuecomment-124815173","issue_url":"https://api.github.com/repos/Fullscreen/yt/issues/221","id":124815173,"user":{"login":"stavro","id":2391584,"avatar_url":"https://avatars.githubusercontent.com/u/2391584?v=3","gravatar_id":"","url":"https://api.github.com/users/stavro","html_url":"https://github.com/stavro","followers_url":"https://api.github.com/users/stavro/followers","following_url":"https://api.github.com/users/stavro/following{/other_user}","gists_url":"https://api.github.com/users/stavro/gists{/gist_id}","starred_url":"https://api.github.com/users/stavro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stavro/subscriptions","organizations_url":"https://api.github.com/users/stavro/orgs","repos_url":"https://api.github.com/users/stavro/repos","events_url":"https://api.github.com/users/stavro/events{/privacy}","received_events_url":"https://api.github.com/users/stavro/received_events","type":"User","site_admin":false},"created_at":"2015-07-25T07:06:57Z","updated_at":"2015-07-25T07:06:57Z","body":"To address TM818's question:\r\n\r\n> We are interested in having our YouTube videos set to private so they cannot be viewed unless accessed via our website (where they are embedded in a page).\r\n\r\nNo, this is not possible.  You cannot embed a private video and allow people to watch it through your website like you are trying to do - regardless of which authentication method you are using."}}