videos.insert takes any video/* file up to 256 GiB; YouTube Help also caps length at 12 hours. Thumbnails can be 50 MiB (2 MiB for the Movies category) in JPEG or PNG. Titles stop at 100 characters and descriptions at 5,000. PubNio’s own caps are much smaller. (Checked 2026-12-05.)
Facts
| Fact | Official value | Source | Checked |
|---|---|---|---|
| Video max size | 256 GiB | YouTube Data API: Videos: insert | 2026-12-05 |
| Video MIME types | video/*, application/octet-stream | YouTube Data API: Videos: insert | 2026-12-05 |
| Thumbnail max size | 50 MiB (2 MiB for the Movies category) | YouTube Data API: Thumbnails: set | 2026-12-05 |
| Thumbnail MIME types | image/jpeg, image/png, application/octet-stream | YouTube Data API: Thumbnails: set | 2026-12-05 |
| Title max characters | 100 | YouTube Data API: Videos resource | 2026-12-05 |
| Description max characters | 5,000 | YouTube Data API: Videos resource | 2026-12-05 |
Where official docs disagree
- Video max size: 256 GiB in YouTube Data API: Videos: insert; 256 GB or 12h, whichever is less in YouTube Help: Upload videos longer than 15 minutes.
- PubNio caps thumbnails at 2MiB and accepts JPEG, PNG, GIF; the API now takes 50 MiB and lists no GIF.
What PubNio enforces
- Video uploaded to a PubNio workspace is capped at 5GiB, and other media at 256MiB. Only media given to a post by URL can be larger, so a provider limit above those sizes applies to URL media only.
- PubNio accepts MP4, MOV, WebM video up to 5GiB, its own media cap.
- Descriptions are capped at 5,000 characters, matching the API.
Read the live value
GET /api/v1/capabilitiesreturns PubNio’s media rules for every YouTube placement, andPOST /api/v1/posts/{postId}/validatechecks a draft against them without publishing.
Related errors
- PubNio reports a file it will not send as
media_mime_type,media_too_large, ormedia_counton the target, before any provider call. - YouTube error codes lists the errors PubNio returns for YouTube and how to fix each.
Limits
- PubNio’s YouTube rule stops at 5GiB, even for URL media; upload larger files to YouTube directly.
Sources
-
YouTube Data API: Videos: insert, checked 2026-12-05
256 GiB (about 275 GB) video/*, application/octet-stream -
YouTube Help: Upload videos longer than 15 minutes, checked 2026-12-05
The maximum file size you can upload is 256 GB or 12 hours -
YouTube Data API: Thumbnails: set, checked 2026-12-05
50 MiB (2 MiB for Movies category videos; minimum 4 bytes) image/jpeg, image/png, application/octet-stream -
YouTube Data API: Videos resource, checked 2026-12-05
The value has a maximum length of 100 characters The value has a maximum length of 5,000 characters