Comment

Comment by carusooneliner

Excellent, this explains it. The YouTube video you shared says the trick is to create a resumable upload using YouTube API. The steps involved :

1. create a resumable session (here we specify video length in bytes)

2. YouTube returns a session URI which contains the upload ID

3. create a video with the upload ID baked in (edit video to match length from step 1)

4. upload video to the session URI

https://developers.google.com/youtube/v3/guides/using_resuma...

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton