For the context: I am building a React App that allows users to upload an MP3 file and an image. Both these files get rendered to an MP4 file through FFmpeg on the client side (in React). I then want to let the user upload the result to YouTube.
So technically everything executed on the YouTube API comes from the user and isn't made through any server. How would I go about uploading the video without having an API Key, just having an OAuth 2.0 object from the user that signed in and that wants to upload the processed video to their channel?
The main problem is that generally a YouTube user has a quota of 50 uploads per day that can be made use of but if I follow YouTube's docs I'd have to upload the videos through a Google Cloud Project Client (which gives me an API Key) and said client would have a predefined quota for all requests (which is about 2 videos per day). Now that's not what I want, through using a client my entire app would only have 2 uploads per day and not 50 uploads per day per user.
Does anyone have experience with such a problem or an idea on how I could work this out?