How to Embed Video in WordPress
Much like images, videos are fantastic tools to attract, engage, and bring back visitors to your website. Embedding videos can also help your page to rank better in Google search. Thus, we’d like to share some methods on how to embed videos in WordPress and show you a few plugins that will help you with video embedding. Let’s get started.
How to Embed Video in Posts or Pages
In this section, we will take a look at how to embed YouTube videos. Keep in mind that very similar steps apply to other popular video sharing platforms as well.
oEmbed is a protocol that allows for embedding videos, images, text, and more by entering the source URL for the media you wish to embed.
It’s the easiest way to embed videos in WordPress and you don’t need any coding knowledge to do this. Here are the steps:
- Go to YouTube.
- Find the video you want to embed.
- Hover your mouse pointer to the URL bar and copy the video’s URL.
- Now, go to your WordPress visual editor.
- Paste the video’s URL and WordPress will automatically embed the video.
The second method allows you to customize how your video will show up on your post or page. You can do this by following the steps below:
- Click the Share button above the subscribe button on a YouTube video.
- Click Embed.
- You will be presented with the iframe code and some options boxes. The first box will let you embed a YouTube video that starts at a specific time. To adjust the time you need to watch the video first and pause at the desired time. You can also include the player controls such as play/pause, volume, and the fast-forward button by checking the other boxes.
- Copy the Iframe code and jump to the WordPress visual editor.
- Change from visual mode into the text mode and paste the embed code.
Embed Videos in Your Sidebar
If you prefer adding your videos to your sidebar rather than inserting them in your post, follow the steps below to learn how to embed a video in the WordPress sidebar:
- From your admin dashboard, go to Appearance -> Customize and click on Widgets.
- You may have multiple sidebar areas where you want to add your videos. Choose the preferred sidebar, and click the Add a Widget button.
- Now, type “video” in the search box.
- Click the Add Video button, and choose Insert from URL.
- Then, copy and paste the video URL from YouTube into the box.
- After the video preview appears, hit the Add to Widget button to confirm.
- You may enter the video title in the video widget on your left side.
- Lastly, click the Save & Publish button to go live.
WordPress supports auto-embeds for platforms other than YouTube. You can also embed your Facebook posts and tweets in your WordPress. Below is a list of platforms that support the auto-embed feature by WordPress.
- WordPress plugin directory
Why You Should Not Upload Videos to Your Hosting?
Why not simply upload videos to your website directly? There are a couple of reasons for it, which we will address below.
Minimize Server Resource Usage
Uploading your videos will take up your server’s resources. Moreover, if you use shared hosting, you will also impact other websites that share the same resources as you do. Managing videos may also require additional plugins, which will, in turn, hog your resources as well. As a result, the performance of your site will suffer, which can be avoided by embedding your videos.
Get More Traffic, Visibility, and Shares
YouTube is the third most visited website in the world. Thus, uploading your video to Youtube will generate more visitors and traffic, rather than uploading it to your own site. It is also easier to manage your videos via YouTube as well.
Video Embedding Plugins
You have learned that the process of embedding videos in WordPress is easy to understand and work with. However, these embedding video plugins below may help you to embed and manage your videos even better.
This free WordPress plugin is a perfect choice if you want to turn your website into one that is video-based. By using this plugin, you’ll gain access to several different video players such as Video.js, Mediaelement.js, JW Player 6, or Adobe Strobe Media Playback Flash Player. The videos will be resized and fit neatly into your website’s design no matter which player you choose. This plugin will also generate the video thumbnail.
This plugin may be the most complete plugin to support video embedding on WordPress. This SEO friendly plugin can specify the title, description, and upload date of an embedded video, which will help you with indexing. As the name suggests, responsive video embedding is supported as well. All of this is available without further complicating the embedding method, as you can paste the URL the same as you do with the oEmbed method.
This embedding plugin is made specifically for those who frequently embed videos from YouTube. YouTube Embed has some interesting key features. You can make your own video playlists, and recommend them based on the user’s search history. This plugin also supports dynamic video sizing which fits together perfectly with any responsive themes.
Videos enrich your content and bring value to your website. Although you can upload your videos, embedding videos is recommended. Since you’ve just learned some methods to embed videos to your website and now know about a list of plugins to manage them, why not give it a try? Do you have any experience in embedding videos on WordPress? Share them with us in the comment section below.