Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you set a video to "public"? #160

Closed
pgregg88 opened this issue Feb 11, 2023 · 4 comments
Closed

How do you set a video to "public"? #160

pgregg88 opened this issue Feb 11, 2023 · 4 comments

Comments

@pgregg88
Copy link

Thank you for your great work on this.

I've tried setting the video to public via -privacy public and with a json file. However, each time it is published as private. Is there a default setting on my YouTube account I need to set or something I'm missing? Thanks.

@porjo
Copy link
Owner

porjo commented Feb 11, 2023

See #86

@pgregg88
Copy link
Author

pgregg88 commented Feb 12, 2023

@porjo Apologies. I omitted some detail. I've completed the audit. My app is authorized to publish and Google increased my daily upload limit. I can successfully publish my videos to my YouTube channel using youtubeuploader.

Everything works with the exception that my video stays in the state of Visibility = private. (not Private/Blocked).

After the upload completes, I'm able to change the visibility from Private to Public manually through the web UI, but I haven't been able to do it with youtubeuploader.

Should I be making a second call to change the visibility after the upload completes?

Thanks in advance.

The picture shows what the video looks like after publishing via YouTubeuploader.

Here's my json for this same video. (indents are correct in the actual json)
{
"madeForKids": false,
"embeddable": true,
"license": "creativeCommon",
"publicStatsViewable": true,
"recordingdate": "2023-02-12",
"title": "02/12/2023: Lake Travis, Texas (Austin, TX): 4K, 60fps Daily Weather & Boat Traffic Timelapse Video",
"tags": ["laketravis", "austin", "weather", "wx", "timelapse"],
"privacy": "public",
"description": "4K, 60fps Daily Weather & Boat Traffic Timelapse Video taken near Lakeway, Texas (Austin, Texas)",
"categoryId": "28",
"playlistIds": ["PLFN-n1UuTGMFbSg3XSun34o3expxXXXXX"],
"playlistTitles": ["Lake Travis Daily 4K Timelapse"]
}

example

@porjo
Copy link
Owner

porjo commented Feb 12, 2023

Try replacing "privacy": "public" with "privacyStatus": "public" in your JSON file.

@pgregg88
Copy link
Author

Changing to my json to "privacyStatus": "public" did the trick. Thank you.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants