How to Optimize Videos for WordPress Website

by | Mar 31, 2024 | Video

Using videos in your WordPress website boosts engagement, increases on-page time, and drives conversions. Videos can improve your appearance but also introduce some optimization challenges, such as loading speed, hosting, errors, and SEO.

You need to implement the best methods for adding and showing video, picking the right format, the best WordPress plugins, cloud hosting, and technical know-how.

In this guide, I’ll share my decade of experience in WordPress management and how you can optimize videos for WordPress with all the ins and outs. So your videos look great, load fast, and rank well on search engines.

Best Video Formats for WordPress

WordPress works with many video formats, including MP4, WebM, OGV, and AVI. Each format has its unique capabilities. Currently, the most popular video formats for WordPress are MP4 and WebM.

MP4 is the most common online video format. It works on almost every device. MP4 provides an outstanding balance between size and quality, making it the number one online video format.

WebM makes your video files 30% smaller than MP4. So you get a faster loading time while maintaining the same quality. However, some old browsers may not support the WebM format, so it’s not the most popular one regardless of the size advantage.

Pro tip: Use MP4 as your main video and add WebM as a backup.

FeatureMP4WebM
Compatibility All browsers supported.Supports modern browsers.
CompressionGood quality with small file size30% smaller than MP4
Video codecH.264 or H.265VP8/VP9/AV1
Audio codecAAC, MP3Opus, Vorbis
PerformanceEfficient and optimizedEfficient but less optimized
Licensing PatentedRoyalty free

Pro Tip: Use MP4 as your main video and add WebM as a backup if you can.

Video Compression for WordPress

Raw video files are huge and can slow down your site. Compression can reduce the file size significantly and save your online storage.

You can use a free tool like HandBrake or an online compressor to reduce video file size while maintaining quality. These tools also adjust the video quality, resolution, and bitrate. For example, you can switch a 4K video to 1080P just by selecting a high-efficiency codec.

Let’s look into some of the reasons you need to compress your video:

  • Remove extra tracks: If it’s just a background video, remove the audio track to save space.
  • Trim length: Consider keeping intros or backgrounds under 30 seconds as shorter videos load faster.
  • Multiple resolutions: Encode multiple versions (240p, 480p, 720p, 1080p, 4K) so users on slow connections get a lower-res stream.
  • Persistent container: Remember that a container packages all data: video, audio, subtitles, and metadata. MP4 with H.264/AAC is safest.

You can minimize video load times by aggressively compressing and using modern codecs. It mostly keeps visual quality high but bitrate lower. Smaller video files can give faster page loads for your WordPress video content without noticeable quality loss.

Video Performance Optimization

Use Adaptive Bitrate Streaming

Adaptive bitrate streaming adjusts video quality based on the user’s internet speed. It reduces buffering and improves the user experience by optimising video quality for the user’s device and network.

Adaptive bitrate streaming is crucial for the traffic from different mobile devices with smaller screens and slower network speeds. To implement adaptive bitrate streaming on WordPress, you must encode and package videos in a special format, such as HLS or DASH.

HLS (HTTP Live Streaming) is an Apple-developed streaming protocol that supports adaptive bitrate streaming. HLS breaks videos into small segments and delivers them to the user based on their network conditions.
HLS is popular for adaptive bitrate streaming because most devices and browsers support it. You can learn more about HLS and how it works.

Lazy Loading Videos

Lazy loading delays the loading of the actual video iframe or file. It won’t start loading the video unless the visitors click on the play button to play it. So, the page will get enough time to load itself first while the user checks other content and decides to play the video.

Some caching plugins, such as Lazy Load for Videos, A3 Lazy Load, and Simple Lazy Load Videos, offer features that allow the lazy loading of videos and iframes.

These WordPress lazy loading video plugins have options like “Enable for iframes and videos” and “Replace YouTube iframe with preview image. These options significantly increase the initial page load speed by delaying the video content.

Use CDNs for Videos

Videos use a lot of data and can easily slow down your website. Using a Content Delivery Network (CDN) can increase your media loading speed.

CDNs store your videos on many servers around the world. When a visitor plays a video on your website, the CDN loads the video from a server nearby. Less distance makes the video load faster, with zero or less buffering.

A CDN would be a very useful addition to your loading speed if you have a video-focused website, such as a media, tutorial, or LMS website. You can use special CDN services built for videos.

Cloudflare Stream

Cloudflare Stream is a video hosting service that handles everything, including uploading, storing, and playing videos on your website. It works very effectively for a website with a lot of traffic.

Cloudflare Stream handles everything, so you don’t need to worry about file sizes or speed. It also gives you a simple video player that works on all devices. If you’re already using the Cloudflare CDN, it fits your setup.

Infinite Uploads CDN

Infinite Uploads connects your WordPress media library to fast and secure cloud servers. It functions like a CDN and also includes a built-in traditional CDN. Infinite Uploads helps reduce loading times for large files. The most important thing is that everything stays inside your WordPress dashboard.

Best WordPress Plugins to Optimize Videos

WordPress plugins allow you to customize your WordPress and add new features to it. If you are optimizing videos for WordPress, you know you use some of the WordPress plugins that help you increase the efficiency in managing and optimizing your WordPress videos.

1. Presto Player

Presto Player is a modern, feature-rich video player plugin built for WordPress. It supports HTML5 videos, HLS streaming, and chapters and integrates smoothly with platforms like YouTube, Vimeo, and LMS. It’s ideal for creators who prefer greater control over playback and presentation.

Key features of Presto Player

  • Make interactive course videos.
  • Including distraction-free sales videos.
  • Add chapters and call-to-action buttons.

Smash Balloon YouTube Feed

Smash Balloon allows you to embed a customizable YouTube feed on your website. It automatically syncs with your channel or playlist and displays videos in grid, carousel, or masonry format. It’s ideal for creators and brands looking to showcase dynamic YouTube content.

Key features of Small Balloon 

  • Show live streams on your site.
  • Automatically update video galleries.
  • Display videos from a playlist.

All-in-One Video Gallery allows you to organize videos like blog posts and arrange them using categories, tags, and search filters. It supports videos from self-hosted, YouTube, and Vimeo sources and allows you to create complete video directories.

Key features of All-in-one Video Gallery

  • Build searchable video libraries.
  • Share tutorials or video portfolios.
  • Show videos in a lightbox view.

EmbedPress

EmbedPress allows you to embed videos, audio, maps, documents, and other content from more than 150 platforms. It’s integrated with Gutenberg and Elementor page builders, so you can showcase rich media anywhere using blocks.

Key features of EmbedPress

  • Embed videos from multiple platforms.
  • Add podcasts and social media posts.
  • Decorate blog content with media.

Video Gallery is a simple plugin by Total Soft that lets you create attractive video galleries using YouTube or Vimeo links. It’s easy to use and set up, ideal if you prefer simplicity over complex functionality.

Key features of Video Gallery

  • Show videos in a branded grid.
  • Create video galleries for portfolios.
  • Display testimonials or interviews.

VideoPress by Jetpack

VideoPress is Jetpack’s built-in video solution. It offers fast, ad-free video hosting with CDN delivery. It’s suitable if you are already using Jetpack and want a reliable, private video hosting without third-party branding.

Key features of VideoPress

  • Host high-quality and long videos.
  • Embed high-quality 4K and 60fps video.
  • Keep videos private and ad-free.

FV Flowplayer

FV Player is a powerful HTML5 video player that offers advanced controls like AB looping, resume playback, subtitles, and more. It also supports self-hosted content and offers complex streaming formats.

Key features of FV Flowplayer

  • Stream videos for registered members only.
  • Allows viewers to resume educational videos.
  • Add subtitles and custom settings.

Infinite Uploads

Infinite Uploads is the plugin that offloads your media, including videos, to a high-speed cloud and CDN setup. It’s useful if you have large media files with built-in streaming and video optimization.

Key features of Infinite Uploads

  • Host videos in the cloud, saving server space.
  • Stream videos directly from the cloud.
  • Useful to manage large video libraries.

WP Offload Media

WP Offload Media transfers your media to cloud storage providers like Amazon S3 or Google Cloud, reducing the stress on your website. It’s great for reducing local server load, but it doesn’t allow streaming directly from the storage.

Key features of WP Offload Media

  • Store videos and images in the cloud.
  • Link media to a CDN.
  • Manage large media files off your server.

Optimizing SEO for WordPress Videos

Video Sitemap and Schema

You should create a Video XML sitemap so that the search engine gets the correct data about your video title, description, thumbnail, duration, etc. Sitemaps help get your video information index properly on search engines and get a better and greater search engine performance, and rank your videos.

Titles, Descriptions, and Transcripts

Please make sure that each video page/post has relevant keywords in the title and description. If the video has no text, you can add a video transcript on the page. Search engines like Google can read transcripts, and they provide additional content to the search engine to index your video. 

Thumbnails and Previews

Use a custom thumbnail that looks great, engages people, and reflects the topic of your video. Attractive thumbnails make visitors click your video more and send signals to the search engines about its usefulness.  

Add Video Schema Markup

Schema is the extra identification code that helps Google show your video in the search results with rich snippets such as a thumbnail. You can use different SEO plugins to add the schema and set a custom thumbnail and title.

Use SEO Plugins

WordPress has many efficient and useful SEO plugins that save your time and improve the SEO performances of your WordPress videos. These WordPress SEO plugins do the necessaries like adding the details for indexing and schema markup to give the search engines precise information about your ideo. 

Lets learn about some of the WordPress SEO plugins for optimizing WordPress videos. 

Yoast SEO

Yoast Video SEO is a premium add-on to the main Yoast plugin. It adds a video sitemap, lets you set custom thumbnails, and improves your videos’ performance in Google results. If you’re already using Yoast for regular SEO, install the add-on. It’s super useful for sites that publish lots of videos.

Rank Math

Rank Math is one of the most popular WordPress SEO plugins. It can automatically locate videos on your pages and add the right schema so Google crawlers get informed about your video. Besides, you don’t need to use any code. Rank Math also helps your video show up with a specific and relevant thumbnail to raise user interest.

SEOPress

SEOPress helps your videos look great in search with rich snippets and schema tags. It’s less flashy than other WordPress SEO plugins but very flexible and use to use. If you want to customize exactly how your videos show up in Google search results, SEOPress gives you the spot-on options. It works great on all kinds of WordPress video sites.

All in One SEO (AIOSEO)

All in One SEO (AIOSEO) is a simple but powerful WordPress SEO plugin. AIOSEO includes video sitemaps and schema support for your website videos so search engines can properly identify your videos. AIOSEO is helpful if you’re a beginner, as it comes with a clean dashboard and simple setup. Furthermore, you also get full control if you want to go deeper later.

Common WordPress Video Issues You May Face

Video Not Playing

Video Not Playing is one of the most common and frequently faced issues. Your video will stop playing if the video format isn’t supported or the file is too large. WordPress allows certain video types, such as MP4, M4V, WebM, WMV, and FLV. Other formats could fail to play in WordPress. Besides, oversized videos may be blocked by your host as they may not have been uploaded properly.

YouTube Embed Not Working

Sometimes, your visitors might see a blank space or a “video unavailable” message if the embed URL is wrong or the video is private. The traditional video linking system doesn’t work in WordPress anymore. Now, you need to use the full public URL or iframe. Besides, the lazy loading features of WordPress plugins or themes can also create issues or interrupt your YouTube embed links from loading. 

Plugin Conflicts

One of the common issues in WordPress is video players being disrupted by ad blockers, caching, or JavaScript optimization plugins. Plugins like WP Rocket or Perfmatters have a long history of breaking embedded links. These plugin conflicts can break your videos silently and make your site harder to use and maintain.

Slow or Buffering Video

It’s a common issue for self-hosted video sites. Your site may run slowly if your server can’t handle the stress of the large video files or if you’re using a high bitrate. Without a CDN or a cloud video host, you might occasionally face these issues. You should use a quality CDN or use plugins like Infinite Uploads to stream videos directly from the cloud without stressing your website.

Video Thumbnail Missing

Another very common WordPress video issue is a missing video thumbnail. If your WordPress theme has an old, odd layout, or the CSS may malfunction, the thumbnail may not load. Missing thumbnails dont stop your video from playing, but it may confuse the visitors, and they might consider the whole page as broken or empty. 

Permission Issues

Sometimes, your videos can return “403 Forbidden” when you upload them due to server restrictions or a misconfigured folder permission in the wp-content folder. These permissions issues block your video uploads and playbacks. So it’s an error leading to missing content on your website.

Infinite Uploads: Cloud Storage for WordPress Videos

WordPress isn’t made specifically for videos, let alone large video files. If you still host videos on your WordPress, they slow down your website. It’s a common issue for self-hosted video websites.

If you’re looking for a smart and efficient way to store videos on your WordPress site without slowing it down, Infinite Uploads is the solution for you. 

Infinite Uploads is a WordPress plugin that moves all your media, including videos, to the cloud. Using cloud storage like AWS S3, it keeps your site running smoothly and takes the stress off your web host. 

You install the plugin, pick a storage plan, and it automatically moves your current media to the cloud. You can upload even big video files without running into hosting limits. Infinite Uploads also offers unlimited storage and unlimited websites. 

Infinite Uploads streams your videos and converts them into different sizes, like 240p, 720p, and even 4K. So, no matter what device your visitors use, they’ll get the best version for their internet speed.

Everything is kept safe, too. Your videos are protected with SSL and strong encryption. Thanks to a global CDN with over 119 edge locations, videos load quickly from the server closest to the viewer.

Infinite Uploads is a great choice for agencies, bloggers, and anyone with lots of media library uploads. You only pay for the storage and bandwidth you use. Overall, Infinite Uploads takes the stress out of video hosting. It’s simple, secure, and built to scale with your site as it grows.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Recent Post

WordCamp Europe 2025 Recap

WordCamp Europe 2025 Recap

My first WordCamp Europe is in the books, and it was every bit as fantastic as I expected! It was also my first time in Europe, and it went out with a bang—Switzerland was the first European country I visited. What a dream! My wife came along, and it was a joy to...

Announcing Infinite Uploads v3.0

Announcing Infinite Uploads v3.0

Today, we’re announcing version 3.0 of Infinite Uploads. This major release marks the start of our journey to bring you the best media experience for WordPress. Since purchasing Infinite Uploads in late 2024, we’ve taken the time to deeply understand our customers,...

Infinite Uploads Joins ClikIT

Infinite Uploads Joins ClikIT

We’re excited to announce that Infinite Uploads, along with the popular Big File Uploads plugin, has been acquired by ClikIT! Infinite Uploads empowers WordPress sites to offload their media libraries to the cloud and deliver content seamlessly through a content...

Newsletters

Written By: Zadhid Powell

B2B SaaS & Tech Content Specialist | Writing content for CEOs, CTOs, Engineers, and Tech Leaders.

Create Your Account And Start Exploring

Try the Infinite Uploads plugin and discover all its benefits. By registering, you’ll gain access to technical support, receive updates, and enjoy exclusive content. Don’t wait any longer and join us today!