From source file to delivery
Check the effective site maximum
Open the Media uploader or Tools → Site Health → Info and note the maximum effective file size before choosing the target.
Encode a 24 MB H.264 MP4
Keep the preset when it is below the site maximum. Enter a smaller number if the host reports a tighter PHP limit.
Upload and test the article
Add the result to the Media Library, publish a preview and check playback, page transfer and layout on mobile.
WordPress video constraints are separate
| Constraint | Where it comes from | Response |
|---|---|---|
| Upload rejected | PHP, host or WordPress policy | Compress below the effective maximum |
| Page loads slowly | Video transfer and embed behavior | Use a smaller asset or hosted player |
| Storage grows quickly | Media Library and backups | Keep masters outside the delivery library |
PHP decides whether the upload reaches WordPress
WordPress calculates the effective upload maximum from server settings such as upload_max_filesize and post_max_size. The smaller applicable value wins, and hosting providers can impose additional policy.
A 24 MB target works for many sites configured around 25 or 32 MB, but it is not magic. If Site Health reports 8 MB, type a target under 8 MB or change the server configuration through the host.
Passing Media Library is only the first check
A self-hosted video can increase page transfer, storage and backup size. Preview the published article on mobile and compare whether an external streaming embed would serve the audience better.
Keep the high-quality master outside the Media Library. The WordPress copy is a delivery asset and should not become the only version available for future edits.
Questions before you compress
What is the WordPress video upload limit?
WordPress does not set one universal number. The effective maximum depends on PHP, the host, multisite rules and plugins.
Where can I see the current maximum?
The Media uploader often displays it, and Tools → Site Health → Info includes the maximum effective file size reported by WordPress.
Will compressing to 24 MB speed up the page?
It reduces the asset transfer compared with a larger source, but loading behavior, hosting and the rest of the page still determine performance.
References and next steps
Guide updated 2026-11-17. External applications and account rules can change.
Have a strict size budget? Use the bitrate calculator. For source files near the upload ceiling, check the large video limits. Read the privacy policy before sending sensitive material.