Blueprinter / Upload-Video-to-YouTube

How to upload an MP4 file from Google Drive to YouTube
1 stars 0 forks source link

How to run #1

Open Mfrozi9 opened 3 years ago

Mfrozi9 commented 3 years ago

Hello, Would you to tell me how to run the script? I'm newbie...

Blueprinter commented 3 years ago

You can create a new Apps Script file in your Google account, by using the Apps Script online code editor. Then you can run the code directly from the code editor. From your Google Drive, you can click the "New" button, then "More" and if Apps Script is installed, then click Apps Script. If Apps Script is not installed, then click "More" and search "Apps Script" and install it. Or you can try going directly to: https://script.google.com/home For the documentation see: https://developers.google.com/apps-script/guides/standalone?hl=en To copy the code from GitHub to the Apps Script code editor, click on the Code.gs file here in the repository, then click the "raw" button, select all, and copy.

Mfrozi9 commented 3 years ago

Thanks bro.. its work.

Mfrozi9 commented 3 years ago

Bro, i have try to upload video. But my videos status is Private (locked) in the visibility option. What I must do to prevent that?

Blueprinter commented 3 years ago

Try changing the code:

Currently:

options.status = { "privacyStatus": "private" }

TO:

options.status = { "privacyStatus": "public" }

Mfrozi9 commented 3 years ago

It's still not work bro..

Blueprinter commented 3 years ago

Sorry, I don't know what the problem is.