Open RusseII opened 3 years ago
Youtube API only allows us to upload private videos - I would have to manually go in and change from private to public.
You can't change it from private to public, YouTube won't let you at all. I've tried it before. You could potentially script a way to upload the videos via a browser wrapper like Selenium but that would be a huge pain.
You can't change it from private to public, YouTube won't let you at all. I've tried it before. You could potentially script a way to upload the videos via a browser wrapper like Selenium but that would be a huge pain.
What!! Very bad luck. It's awesome you knew this - saved a big headache!
Do you know why they are locked? Is there a better issue / description anywhere?
How can we fix this? (Getting our app verified only way?)
This is all I could find, but you may be able to find something better with some more googling. https://support.google.com/youtube/answer/7300965?hl=en
On Sat, Sep 4, 2021, 7:39 PM Russell Ratcliffe @.***> wrote:
You can't change it from private to public, YouTube won't let you at all. I've tried it before. You could potentially script a way to upload the videos via a browser wrapper like Selenium but that would be a huge pain.
What!! Very bad luck. It's awesome you knew this - saved a big headache!
Do you know why they are locked? Is there a better issue / description anywhere?
How can we fix this? (Getting our app verified only way?)
[image: image] https://user-images.githubusercontent.com/15036618/132110462-0385a2c7-eab0-4c6d-9150-c31b6357b7ed.png
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pillargg/media-pipeline/issues/40#issuecomment-913055291, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA23YLQVMV6CJJTC5GODG4TUAKU45ANCNFSM5DNYDRWQ .
Looks like I got an email too
You can't change it from private to public, YouTube won't let you at all. I've tried it before. You could potentially script a way to upload the videos via a browser wrapper like Selenium but that would be a huge pain.
OOC, Is there a link to this or something in their documentation you know about ?
If true, are there implications with our users for that? Eg we wouldn't be able to post to their channel directly via API?
I assume it is this @gatesyp
https://developers.google.com/youtube/v3/docs/videos/insert
All videos uploaded via the videos.insert endpoint from unverified API projects created after 28 July 2020 will be restricted to private viewing mode. To lift this restriction, each API project must undergo an audit to verify compliance with the Terms of Service. Please see the API Revision History for more details.
About
I want to do an experiment and see if we get any youtube views by publishing the videos we create to our own public youtube channel. Starting out I want to do this for dota2 streamers with all videos being published to one youtube account. With this method a max of 5 videos per day can be posted.
Considerations
Youtube API only allows us to upload private videos - I would have to manually go in and change from private to public. If I'm doing that - It probably makes sense to always release the videos at the same time everyday and can be done in batch instead of as soon as the streamers go offline
Tech details
We have a endpoint that will handle creating the videos - we just need to make the api call to the
/clips
endpoint with the user who's making the request (me) and an array of the timestamps for the compliationGenerating the timestamps
We need to add the users to mongodb so we automatically create clip timestamps for all of their vods
users
: https://dev.twitch.tv/docs/api/reference#get-gamesautoPublishStreams
Creating the clips
We create a new lambda function checks the users with the
autoPublishStreams
field- then checks ] which users streamed within the last 24 hours - then grab a random subset of those 5 users to create the compilationThe lambda will grab the brain timestamps (and maybe the cccs) for the users latest vod in mongo db then will call the
/prod
route - which will handle creating the compilation and uploading to youtube