What you need
- A Google account that can use the Google Cloud console.
- Your site served over HTTPS.
- Access to Admin → Publishing → Platforms.
- For a custom thumbnail, FFmpeg on the server. See Video processing.
Set up Google Cloud
Create a project and enable the API
Get the redirect URI from MagicPost
Configure the consent screen
Create the OAuth client
Copy the keys
Store them in MagicPost
Permissions MagicPost asks for
Connect a YouTube channel
Open Channels
Add the channel
Confirm
youtube.force-ssl scope. They have to reconnect to get first comments.
What you can publish
YouTube has two post types: Video and Short. Both need a video.- YouTube counts the description in bytes, so characters outside the basic Latin range use more than one.
- Files reach YouTube through the media library. Its default ceiling is 2,048 MB per video, and it accepts mp4, mov, webm, avi and mkv. A larger file, or a format the library does not accept such as flv, cannot be added to the library. See Upload ceilings.
- A Short needs a square or vertical video. A wide one is published as a regular video.
- YouTube refuses videos over 15 minutes until the YouTube account is verified.
Options
Set these under Settings for the channel in the composer.- MagicPost switches Altered or synthetic content on by itself when any attached media was created with MagicPost’s AI tools.
- Thumbnail frame only works for a verified YouTube account, and the server needs FFmpeg. Otherwise YouTube picks a thumbnail itself. The video stays live either way.
First comment
The first comment is posted as a top-level comment on the video once YouTube has finished processing it. It is not posted on a video marked Made for kids, because comments are off. If posting it fails, the video stays published and the failure is written to the application log.How the upload works
- The file is uploaded in chunks of 8 MB against one upload session. A run that is cut short asks Google how much it has and carries on, so a long video is never sent twice.
- After the upload, MagicPost waits for YouTube to process the video and checks again every minute. A video that is still processing 30 minutes after the upload is treated as published, because it exists and YouTube carries on.
Connection check
Analytics
Common errors
This app has used its YouTube upload allowance for today
This app has used its YouTube upload allowance for today
This YouTube channel has reached its daily upload limit
This YouTube channel has reached its daily upload limit
Videos stay private
Videos stay private
Connections end after a week
Connections end after a week
YouTube refused the video as a duplicate
YouTube refused the video as a duplicate
The video is longer than this YouTube account may upload
The video is longer than this YouTube account may upload
YouTube refused the video over a copyright claim
YouTube refused the video over a copyright claim
YouTube could not process the file
YouTube could not process the file
The upload session expired
The upload session expired
Redirect URI mismatch when connecting
Redirect URI mismatch when connecting

