Besides images, videos are always great 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 show how to embed YouTube videos, however, very similar steps apply to other popular video sharing platforms.
oEmbed is a protocol which allows embedding videos, images, text, etc. from site A to site B just by entering the source URL.
It’s the easiest way to embed videos in WordPress. You don’t need to understand coding 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 above the subscribe button.
- Click Embed.
- You will find 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 show the player controls such as play/pause, volume, and the fast-forward button by checking the second boxes.
- Copy the Iframe code and jump to the WordPress visual editor.
- Change visual mode into the text mode and paste the embed code.
Embed videos in your sidebar
Sometimes, you prefer adding your videos to your sidebar rather than inserting it in your post. Follow the steps below to embed a video in 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 sidebar, and click Add a Widget button.
- Now, type ‘video’ in the search box.
- Next, you have the video widget on your left side. Click Add Video button, and choose Insert from URL.
- Then, copy and paste the video URL from YouTube in the box.
- After the video’s preview appears, hit the Add to Widget button to confirm it.
- You may add the video’s title in the video widget on your left side.
- Last, click the Save & Publish button to go live.
WordPress supports auto-embeds for a lot more platforms than simply 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
Now, you might be thinking as to why you should embed the videos when you can upload them to your website directly? There are quite a few reasons, actually and if you want to find out, just keep reading.
Keep server resources
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. Plugins will raise your server load too. As a result, your site’s performance can degrade. Embedding videos is a perfect choice for when you want to add value to your website by adding content and not losing any performance in return.
Better user experience
When you embed your videos from a video-based platform such as YouTube, you also embed compelling YouTube user experience on your website. A video-based platform has the capability to smartly choose the best video resolution by identifying each device’s quality and network connection. Moreover, viewers can also choose their preferable resolution. Player control features such as play/pause, volume, and fast forward buttons are also provided. In contrary, WordPress process videos differently. You would lose these engaging user experience moments if you choose to upload videos to your website instead.
Get more traffic, visibility, and shares
YouTube is the third most visited website in the world (it came a long way, huh?). Thus, uploading your video to Youtube will gain 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 embedding videos in WordPress is a piece of cake. 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 a video-based one like YouTube. By using this plugin, you have several options to use different video players such as Video.js, Mediaelement.js, JW Player 6 or Adobe Strobe Media Playback Flash Player. The best thing about this is that the videos will be resized and fit into place no matter what 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. First, this SEO friendly plugin will help you to have a better indexing by specifying title, description, and upload date. Responsive video embedding just like the name implies is obviously supported. Furthermore, you can get those features without complicated settings. Just paste your video’s URL as you do in the oEmbed Method.
This embedding plugin is made specifically for those who love to embed videos from YouTube. YouTube Embed has some interesting key features. First, you can make your own video playlists and replaying however you want. Second, you can generate playlists and give them recommendations based on search or username. Moreover, this plugin also supports dynamic video sizing that would surely be perfect for your responsive themes.
Videos enrich your content and bring value to your website. Although you can upload your videos, embedding videos is definitely more recommended. And since you just read about some of the ways to embed videos to your website and 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.