You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, this is not really a BUG, but it was very difficult to track down and could be implemented and/or documented more clearly.
To upload a video as unlisted, the youtube_it call is:
vid = client.video_upload(File.open("myvideo.mp4"), :title => "My Video Title", :list=>'denied')
For private videos the option is :private => true. Everywhere in the YouTube API I see reference to one option privacyStatus that can be public, private, or unlisted. Finally found this solution after much googling about the YouTube API which revealed the yt:accessControl action="list" permission="denied" in the video XML resource, and browsing the youtube_it code that constructs the XML.
At the very least, this is now documented somewhere for someone else to find it :-)
The text was updated successfully, but these errors were encountered:
Hello, this is not really a BUG, but it was very difficult to track down and could be implemented and/or documented more clearly.
To upload a video as unlisted, the youtube_it call is:
vid = client.video_upload(File.open("myvideo.mp4"), :title => "My Video Title", :list=>'denied')
For private videos the option is :private => true. Everywhere in the YouTube API I see reference to one option privacyStatus that can be public, private, or unlisted. Finally found this solution after much googling about the YouTube API which revealed the yt:accessControl action="list" permission="denied" in the video XML resource, and browsing the youtube_it code that constructs the XML.
At the very least, this is now documented somewhere for someone else to find it :-)
The text was updated successfully, but these errors were encountered: