Browse Source or main file ResumeableUploadSample.vb
Visit the Google APIs console
- Click on the drop down to the far right of the "Google APIs" logo, and click "Create a project..."
- Enter a project name
- Click Create
- Click YouTube Data API
- Click Enable
- Click Go to Credentials
- In the "Where will you be calling the API from" ComboBox, choose "Other UI (e.g. Windows, CLI tool)"
- Choose "User Data"
- Click What Credentials do I need?
- Enter a product name for your Client ID
- Click Create client ID
- Enter "Product name shown to users"
- Click Continue
- Click I'll do this later
- Click the name of your newly created OAuth 2.0 client ID
- Copy the Client ID and Client secret to use when editing the sample source program
- Open the GoogleApisSamples.sln with Visual Studio.
- Click Tools / NuGet Package Manager / Manage NuGet Packages for Solution.
- Click on Updates / nuget.org and install all update packages.
- Insert your Client ID and Client secret into the source code.
- Change VIDEOFULLPATHFILENAME to specify the video file to be uploaded.
- Click on Build then Rebuild Solution.