How to Embed Video in WordPress

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 Method

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:

  1. Go to YouTube.
  2. Find the video you want to embed.
  3. Hover your mouse pointer to the URL bar and copy the video’s URL.
  4. Now, go to your WordPress visual editor.
  5. Paste the video’s URL and WordPress will automatically embed the video.

Example:

Embed Video in WordPress Post Editor

Final result:

Iframe Method

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:

  1. Click the Share button above the subscribe button on a YouTube video.
  2. Click Embed.
  3. 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.
Copying a YouTube embed code.
  1. Copy the Iframe code and jump to the WordPress visual editor.
  2. 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:

  1. From your admin dashboard, go to Appearance -> Customize and click on Widgets.
  2. You may have multiple sidebar areas where you want to add your videos. Choose the preferred sidebar, and click the Add a Widget button.
  3. Now, type “video” in the search box.
  4. Click the Add Video button, and choose Insert from URL.
  5. Then, copy and paste the video URL from YouTube into the box.
  6. After the video preview appears, hit the Add to Widget button to confirm.
  7. You may enter the video title in the video widget on your left side.
  8. 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.

  • Vimeo
  • Flickr
  • DailyMotion
  • Hulu
  • Instagram
  • Photobucket
  • Reddit
  • Scribd
  • SlideShare
  • SoundCloud
  • Spotify
  • TED
  • Tumblr
  • wordpress.tv
  • 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.

1. Video Embed & Thumbnail Generator

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.

2. ARVE Advanced Responsive Video Embedder

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.

3. YouTube Embed

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.

Conclusion

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.

Author
The author

Artūras B.

Artūras is an experienced technical content writer. Bringing in a lot of knowledge about WordPress and web hosting to the team, he strives to write pristine content about any IT related subject. He also loves dogs.