# YouTube media checker

PubNio checks YouTube files for format, size, and count before it publishes, for the YouTube video. A YouTube video with JPEG 2 MB fails: "This placement does not accept this number or combination of media." Platform docs read 2026-12-05.

## Tool

Pick a placement, then list files by format and size.

- YouTube video, MP4 250 MB with a PNG 1.5 MB thumbnail: passes.
- YouTube video, JPEG 2 MB: `media_count`: "This placement does not accept this number or combination of media."; `media_type`: "file 1: This media type is unsupported for the placement."

## Rules it applies

- YouTube video: accepts MP4, MOV, WebM; one video of up to 5 GiB. 1 image: "This placement does not accept this number or combination of media." No files: `media_required`.
- A thumbnail (`settings.thumbnailMediaId`) must be JPEG, PNG, GIF and at most 2 MiB.
- PubNio's media library stores video up to 5 GiB and other files up to 256 MiB; each placement's own cap above still applies.

## What YouTube documents

| Item | Platform documents | PubNio enforces | Source |
| --- | --- | --- | --- |
| Video size | 256 GiB; another official page says 256 GB or 12h, whichever is less ([YouTube Help: Upload videos longer than 15 minutes](https://support.google.com/youtube/answer/71673), read 2026-12-05) | 5 GiB | [YouTube Data API: Videos: insert](https://developers.google.com/youtube/v3/docs/videos/insert), read 2026-12-05 |
| Video formats | video/*, application/octet-stream | MP4, MOV, WebM | [YouTube Data API: Videos: insert](https://developers.google.com/youtube/v3/docs/videos/insert), read 2026-12-05 |
| Thumbnail size | 50 MiB (2 MiB for the Movies category) | 2 MiB | [YouTube Data API: Thumbnails: set](https://developers.google.com/youtube/v3/docs/thumbnails/set), read 2026-12-05 |
| Thumbnail formats | image/jpeg, image/png, application/octet-stream | JPEG, PNG, GIF | [YouTube Data API: Thumbnails: set](https://developers.google.com/youtube/v3/docs/thumbnails/set), read 2026-12-05 |

Where the two columns differ, the tool applies PubNio's value, because that is what PubNio checks before it publishes.

## Limits

- It runs in your browser and sends nothing to PubNio.
- Duration, resolution, aspect ratio, and codecs are not checked here; the network can still refuse a file that passes.

## Sources

- [YouTube Data API: Videos: insert](https://developers.google.com/youtube/v3/docs/videos/insert), read 2026-12-05
- [YouTube Help: Upload videos longer than 15 minutes](https://support.google.com/youtube/answer/71673), read 2026-12-05
- [YouTube Data API: Thumbnails: set](https://developers.google.com/youtube/v3/docs/thumbnails/set), read 2026-12-05

## Related

- [YouTube character counter](https://pubnio.com/tools/youtube-character-counter)
- [YouTube API media rules](https://pubnio.com/docs/providers/youtube/media/)
- [YouTube publishing API](https://pubnio.com/platforms/youtube)
- [All media checkers and planners](https://pubnio.com/tools)

