I need to know how can I change the privacy status of a youtube video. The video have 'unlisted' privacy status and I want to change to 'public'.
Here there is an example to add some tags to video but i don't know how to apply the example for update privacy status. Thank you!
I have set the privacy status when uploading video to YouTube. I believe it similar for updating the video also.
I didn't test the following code. But I hope you can give a shot.
First you retrieve the video status property.
Then you get the video status property
Then you set the video status. Valid values are 'private', 'public', 'unlisted'.
Finally you update the status & then video
Hope this will help you