Setup & site building · Info
Can You Upload Videos to WordPress? The Short Answer

Short answer
Yes, you can upload videos to WordPress. Add a Video block or open Media > Add Media File, then upload an MP4, WebM, MOV or other supported file under your host's size limit. For long or popular videos, embedding from YouTube or a video host is usually faster and cheaper.
Key takeaways
- WordPress accepts MP4, WebM, MOV, AVI, WMV and other video formats.
- MP4 with H.264 plays in every modern browser and is the safest choice.
- Your host's PHP upload limit decides the largest video you can upload.
- Short clips suit self-hosting; long videos are better embedded from a video host.
- Compress and resize videos before uploading to save space and bandwidth.
Can you upload videos directly to WordPress?
Yes, WordPress lets you upload video files to the Media Library and play them with the Video block, as long as the file is in a supported format and smaller than your host's upload limit.
Self-hosted WordPress accepts common video formats out of the box. Uploaded videos play in the browser's built-in player, with no plugin needed.
Whether you should upload videos is a separate question. Video files are large, and serving them from a normal web host can be slow and expensive. Many sites upload short clips and embed longer videos from YouTube or a video host instead.
Which video formats can you upload to WordPress?
WordPress accepts MP4, M4V, MOV, WMV, AVI, MPG, OGV, 3GP, 3G2 and WebM files, but MP4 with H.264 video is the safest choice because every modern browser plays it.
Uploading a format is not the same as playing it. A MOV or AVI file uploads fine, but some browsers cannot play it, so visitors may see a blank player or a download link.
| Format | Uploads to WordPress | Plays in most browsers | Notes |
|---|---|---|---|
| MP4 (H.264) | Yes | Yes | Best general choice |
| WebM | Yes | Yes | Smaller files, good modern support |
| MOV | Yes | Sometimes | Convert to MP4 first |
| AVI, WMV | Yes | No | Convert before upload |
| OGV | Yes | Limited | Rarely needed now |
MDN's guide to web video codecs explains why H.264 and VP9 play almost everywhere while older formats do not.
How large a video can you upload?
The maximum size depends on your hosting, not WordPress; you can see the current limit under Media > Add Media File, and it is set by PHP's upload_max_filesize and post_max_size values.
Shared hosts often set limits between a few megabytes and a few hundred megabytes. A one-minute phone video in high quality can easily pass 100 MB, so limits are hit quickly.
PHP controls these limits through settings explained in the PHP core configuration docs. Your host may let you change them in the control panel.
If you see an upload error, our guide on increasing the maximum upload size shows the main options.
For the exact error message, see fixing the uploaded file exceeds upload_max_filesize error.
How do you upload a video to WordPress?
Add a Video block in the editor, click Upload, choose the file from your computer, wait for it to finish, then adjust the block settings and publish.
- Open a post or page in the block editor
- Add a Video block
- Click Upload and pick the file, or choose Media Library for an existing upload
- Wait for the upload to complete
- Set autoplay, loop, muted, controls or a poster image in the sidebar
- Publish or update the post
The Video block documentation lists every setting. You can also upload under Media > Add Media File and insert the video later.
Our full guide on how to post a video on WordPress covers captions, the classic editor and page builders.
Can you upload videos on WordPress.com?
WordPress.com supports video, but what you can upload depends on your plan, so check the plan's features and storage before relying on it for large files.
WordPress.com uses VideoPress for video hosting. VideoPress streams videos with adaptive quality, which works better on slow connections than a plain file.
Storage space also differs by plan. Video eats storage quickly, so check how much space you have before uploading many clips.
Should you upload videos or embed them from YouTube?
Upload short clips that need a clean, ad-free player; embed long videos from YouTube, Vimeo or a video host, because they handle streaming, storage and bandwidth for you.
Self-hosted video has some real advantages:
- No third-party branding or suggested videos
- Full control over the player and file
- Works without external cookies or tracking
But it also has costs:
- Large files use disk space and bandwidth on your hosting plan
- No adaptive streaming, so slow connections may stall
- Many visitors at once can strain a shared server
Embedding avoids those problems. Paste a YouTube URL into the editor and WordPress turns it into a player automatically. Our comparison of self-hosting videos vs embedding YouTube weighs the options in more detail.
What about video hosting plugins?
Video hosting services such as Jetpack VideoPress, Vimeo, Bunny Stream and Cloudflare Stream store and stream your videos, then give WordPress a player to embed, so your web host only serves the page.
Jetpack VideoPress works inside the Video block and offers ad-free playback with adaptive streaming. Other services offer WordPress plugins or simple embed codes.
These services are worth a look if you publish a lot of video, run courses, or want privacy-friendly playback without YouTube. Most charge by storage or streaming minutes, so compare current pricing on each vendor's site.
How do you prepare a video before uploading?
Convert the file to MP4 with H.264, keep the resolution no higher than the player will show, compress it, and trim unnecessary seconds before you upload.
A 4K file is rarely needed for a video shown in a 700-pixel-wide content area. Exporting at 1080p or 720p often cuts the file size dramatically with no visible loss.
Free tools such as HandBrake can convert and compress videos on your computer. Choose a web-optimized preset to move data needed for playback to the start of the file.
Add a poster image so visitors see a clean frame before playing. Without one, browsers may show a black box or a random frame.
If you need a smaller video on the page itself, our guide on resizing video in WordPress explains display width and aspect ratio settings.
Do uploaded videos slow down WordPress?
Uploaded videos only load heavy data when played, if the player's preload setting is right, but they can strain your hosting bandwidth when many people watch them.
The Video block has a Preload option. Setting it to None or Metadata stops browsers downloading the whole file when the page loads.
Autoplaying videos are different. They start downloading immediately, which hurts page speed on mobile. Use autoplay only for short, muted background clips.
Why won't your uploaded video play?
A video usually fails to play because of an unsupported codec, a file that is still processing, a wrong MIME type on the server, or a caching or security plugin blocking the file.
- Blank player: the codec is not supported. Convert to MP4 with H.264.
- Upload failed: the file is larger than the upload limit.
- Plays on desktop but not iPhone: the server may not support range requests, which Safari needs for video.
- Sorry, this file type is not permitted: the extension is not allowed on your site or plan.
Our guide to WordPress videos not working goes through each fix step by step.
Frequently asked questions
What is the best video format for WordPress?
MP4 with H.264 video and AAC audio is the best general choice. It plays in every modern browser on desktop and mobile. WebM is a good second option with smaller files, while MOV, AVI and WMV should be converted first.
What is the maximum video size I can upload to WordPress?
It depends on your host. The limit is set by PHP's upload_max_filesize and post_max_size values. You can see the current limit on the Add Media File screen and ask your host to raise it if needed.
Is it better to upload videos or embed YouTube?
For short clips, uploading gives you a clean player without ads. For longer or frequently watched videos, embedding from YouTube or a video host is better because they handle streaming, storage and bandwidth.
Do videos take up storage on my hosting plan?
Yes. Uploaded videos are stored on your server and count toward your disk space. They also use bandwidth every time someone watches them, which can matter on plans with traffic limits.
Can I upload a video from my phone to WordPress?
Yes. Open the dashboard in your phone's browser or use the Jetpack or WordPress app, then upload from your camera roll. Phone videos are often large, so trim or compress them first to stay under your upload limit.
Sources
- Video Block WordPress.org Documentation
- Core php.ini directives PHP Manual
- Web video codec guide MDN Web Docs
- Jetpack VideoPress Jetpack
Is your product missing, or something out of date?
Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.
Thanks — we review requests within 3 business days.
Related guides
About the editors
Researched from the primary sources listed above and checked against our editorial rules before publishing.


