How to embed Video in WordPress (with example embed YouTube video)

How to embed Video in WordPress (with example embed YouTube video)

Embedding video in WordPress It is also possible that the website ranks better on Google. Like images, videos are a great way for you to engage your visitors and keep them engaged and coming back to your site.

Here we will share with you some ways to embed video (embed video) on your website. Especially recommend more best plugins to support video embed. Let's start.

How to embed video in WordPress post or page

In this section, we will show how to embed videos YouTube – embed Youtube videos. However, these steps will be the same for videos on other platforms.

oEmbed method

oEmbed is a protocol that allows embedding videos, images, text, etc. from page A to page B just by entering the URL source.

This is the easiest way to embed videos in WordPress. You don't have to understand programming to do it. The steps are as follows:

  1. Go to YouTube
  2. Find the video you want to embed.
  3. Hover your mouse pointer over the URL bar and copy the video URL.
  4. Now, go to the WordPress visual editor.
  5. Paste the URL of the video in, so you have successfully embedded the video in WordPess

For example:

Embed Video in WordPress Post Editor

Final result:

iframe method

The second method allows you to customize how the video is displayed on the post or on the page. You can follow these steps:

  1. Click the button Share above the subscribe button.
  2. Click Embed.
  3. You will find the iframe code and some optional boxes. The first box will allow you to embed a YouTube video starting at a specific time. To adjust the time, you need to watch the video first and pause at the desired time. You can also display player controls such as play/pause, volume, and fast forward buttons by checking the second box.
    Youtube Embed Code
  4. Copy the Iframe code and switch to the WordPress visual editor.
  5. Change the visual mode to text mode and paste the embedded code.

Embed video in sidebar

Sometimes, you'd rather add your video to the sidebar than insert it into the post. You can follow the steps below to embed videos in WordPress sidebar:

  1. From the admin dashboard, go to Appearance -> Customize and click Widgets.
  2. You can have multiple areas in the sidebar where videos are allowed. Select the sidebar and click Add a Widget button
  3. Now type 'video' in the search box.
  4. Next, you have the video widgets on the left side. Click the button Add Videos and choose Insert from URL.
  5. Then copy and paste the video URL from YouTube into the box.
  6. After the video preview appears, press the . button Add to Widget To confirm.
    Embed Youtube Video in WordPress Widget
  7. You can add a video title in the video widget on the left.
  8. Finally, click the button Save & Publish for live streaming.

WordPress supports auto-embedding videos for more platforms than just YouTube. You can also embed Facebook posts and tweets in WordPress. Below is a list of platforms that support WordPress auto-embedding.

  • Vimeo
  • Flickr
  • DailyMotion
  • Hulu
  • Instagram
  • Photobucket
  • Reddit
  • Scribd
  • SlideShare
  • SoundCloud
  • Spotify
  • TED
  • Tumblr
  • WordPress plugin directory

The reason you should not upload videos to Hosting

Now, you might be thinking, why embed video instead of using video uploaded directly to the website? There are many reasons, you may want to know.

Save resources on the server

Uploading videos will take up server resources. Moreover, if you use shared hosting, you are also impacting websites that share the same resources as you. Managing videos may also require additional plugins. The plugin will also increase your server load. As a result, website performance may decrease. Embedding videos in WordPress is perfect when you want to add value to your website without sacrificing performance

Deliver a better user experience

When you embed videos from a video-based development platform like YouTube, you also provide a compelling experience for YouTube users on your site. The video platform has the ability to intelligently select the best video resolution by identifying each device's quality and network connection. Furthermore, viewers can also choose their preferred resolution. Player control features such as play/pause, volume and fast forward buttons are also provided. In contrast, WordPress handles videos differently. You will lose the user experience if you use video on hosting.

Increase traffic, visibility and shares

YouTube is the third most visited website in the world (a long way, right?). Therefore, uploading videos to Youtube will attract more visitors and increase traffic. In short, it's much better than uploading videos to your own website. It's also easier to manage videos through YouTube.

Plugins for embedding videos in WordPress

You already know that embedding videos in WordPress is easy. However, the plugins below not only help you embed youtube videos but also support management.

first. Video Embed & Thumbnail Generator

This free WordPress plugin is the perfect choice if you want to turn your website into a web like Youtube. With this plugin you will have several options to use other video players like Video.js, Mediaelement.js, JW Player 6 or Adobe Strobe Media Playback Flash Player. The best part is that the videos will be resized and fit whatever player you choose. This plugin will also generate video thumbnails.

2. ARVE Advanced Responsive Video Embedder

This plugin is possibly the most complete plugin that can help you embed videos in WordPress. The first is that this plugin is SEO friendly so it helps you get a better index by specifying the title, description and upload date. This plugin also supports video embedding with compatibility just as the plugin name implies. Moreover, you can use the features without any complicated settings. You just need to paste the Video URL in just like the oEmbed Method.

3. YouTube Embed

This video embed plugin is made specifically for those who love to embed videos from YouTube. YouTube Embed has some interesting key features. The first is that you can create your own video playlist and play it back however you want. Second, you can create playlists and recommendations based on search or username. Moreover, this plugin also supports dynamic video resizing, which is sure to be perfect for theme compatibility your.


Video enriches the content and adds value to your website. Although you can upload videos, embed video is definitely recommended by many people. And why not try using a plugin to manage embed youtube videos?

Do you have any experience in embedding videos in WordPress? Please share with us in the comments section below.


Hai G. is an expert in managing and operating website services. He has many years of experience in VPS, Hosting, technical SEO, CMS. Especially love WordPress and have been using it for over 5 years now. His hobbies are reading, blogging, traveling and mentoring young people to start a business.