How to Embed YouTube Video in WordPress? (5 Easy Ways)

How to Embed YouTube Videos in WordPress? (Full Guide)

Want to know how to embed YouTube video in WordPress website? Then, this article is just for you.

YouTube is the second most visited website after Google in the world. As per the data provided by Statista, the number of YouTube viewers is expected to reach 210 million by 2022 in the United States alone.

Hence, embedding YouTube videos into your WordPress website can help you spark your web content. Video addition can deliver a better website experience and attract more traffic to your site. This also provides you with the advantage of better ranking in search engines.

In this tutorial, we’ll show you how to embed YouTube video in WordPress in 5 easy ways.

Why Add YouTube Videos to Your WordPress Site?

Before jumping right on how-to video blog on WordPress, let’s first briefly discuss why it’s essential to embed YouTube videos to your site.

Videos are probably the most intuitive yet effective method of communication and a great way to absorb content excitingly. Hence, there cannot be a better method to engage your users and enhance the retention rate other than adding videos to your site.

How to Add YouTube Video in WordPress

Embedding videos from popular platforms like YouTube can play a vital role in boosting the search engine ranking of your site and driving in more traffic.

Besides, it can be a great addition to your site for setting you apart from your competitors, improving your brand image, and providing you a distinctive identity in the marketplace.

With quality YouTube videos, your WordPress site has better chances of getting viral over the internet. And so is true with your YouTube channel as users get to know about it as well.


How to Embed/Add YouTube Video in WordPress? (5 Easy Ways)

Adding video to your WordPress site isn’t a big deal in actual and there are quite a lot of ways of doing that.

In our article, we’ll show you 5 different methods for embedding YouTube videos. All the methods are super easy so at the end of the article, you’ll be able to add videos to your site like a pro.

Method 1. Video Embedding with Gutenberg Video Block

In case you’re wondering how to embed a YouTube video in WordPress posts or pages then here’s how it’s done. Thankfully, with the new default Gutenberg Block editor embedding videos in WordPress is much easier. 

First of all, log in to your WordPress dashboard and navigate to posts/pages >> Add New (wherever you want to embed the video) from the sidebar menu.

Navigate to Add New Post

Hit on the add block (+)button at the top and search for the “YouTube” block under the “EMBEDS” category and click it.   

YouTube Block How to Embed YouTube Video in WordPress

Next copy the URL of the video that you want to add to your blog posts and paste it to the block. Now, click on the “Embed” button. Perfect, wasn’t that easy?

Copy and Paste Video URL

You can change the video settings like alignments and width of the video from the toolbar just above the video. You can also add a caption to it. 

Customizing Embedded Video

Finally, hit the “Save draft” button at the top. You can also preview your video before publishing it.


Method 2. Automatic Embedding by oEmbed

WordPress is the best CMS platform with several built-in functionalities. Luckily “oEmbed” is one of them. Using this function, the embed HTML codes of videos, images, text, etc. will be automatically fetched to your pages or posts.

oEmbed feature works for all the whitelisted video services as follows:

  • YouTube
  • Vimeo
  • VideoPress
  • Facebook
  • Instagram
  • Flickr
  • Hulu
  • Reddit
  • Spotify
  • DailyMotion
  • Amazon, etc.

In this method, you just need to copy the Video URL and paste it to the specific location of your pages or posts where you want it to be displayed. In no time, WordPress will embed the video for you. 

How to Embed YouTube Video in WordPress Using oEmbed Method

You can also change the video alignment, width, and even add a caption just like in the first method. Now save your blog post and hit the “Preview” button if you want to see the embedded video.

Note: Similar method applies even if you’re using the Classic Editor but you need to make sure that you’re using visual editor mode. However, you won’t be able to make settings like width and alignment changes as with the Gutenberg Block.


Method 3. YouTube Embed Code Process

YouTube Embed code also called an iframe method is a flexible video addition process. Here, you can customize how your video is presented on your WordPress site as it allows you to manage player controls i.e. enable or disable play, pause, captions, volume, etc.

Under the video that you want to embed, hit the “Share” button and click on the “Embed” option.

How to Add Video in WordPress with YouTube Embed Code Method

Soon after that, you’ll see iframe codes. You can also change the settings like video starting time by checking the box that says “Start at”. 

YouTube Embed Code Method

Similarly, you can choose whether to show the player controls and privacy-enhanced mode or not.

Player Control Options in YouTube Embed Method

Now, copy the whole code snippet and go back to the WordPress editor, and simply paste the code to your pages or posts where you want your video to appear. The moment you hit the “Paste” button, WordPress will embed the video for you in no time.

Embedding YouTube Video Using iFrame Code

And that’s it, your YouTube video is ready to go live on your site once you hit the “Publish” button.


Method 4. Adding YouTube Videos in a Sidebar Widgets

YouTube videos can also be added to the sidebars or other widget areas just like in posts and pages. If you want to know how to add YouTube video to the sidebars of WordPress then you need to follow the simple steps given below.

From your WordPress admin dashboard, go to Appearance >> Customize.

Customization Navigation

Alternatively, you can also navigate to Widgets and use the default WordPress Text widget to embed the YouTube link. However, Customize provides the live preview option for your convenience.

Next, go to the “Widgets”. Here you’ll see multiple widget areas to add videos depending upon which WordPress theme you’re using. For now, we’ll choose the “Sidebar Right”.

How to Add YouTube Video in Sidebar of WordPress

Again click on the “Add a Widget” bar and search for the “Video” widget.

Add Video Widget

After that, you can type a suitable title for the video and hit on the “Add Video” button.

Add Video Title

Then, choose the “Insert from URL” and simply copy and paste the video URL as before within the box. Finally, click on the “Add to Widget” button. 

Insert from URL

Now you can hit the “Publish” option at the top so that your video can go live.

Publish Option

Method 5. Making Use of Video Embedding WordPress Plugins

While all the default methods mentioned above are quite simple and easy, you may still want varieties of customization options to make your videos appear even more acceptable. Hence, there are several WordPress plugins for this purpose.

We’ve listed a few of the best video embedding plugins for WordPress that you might want to try.

1. Embed Plus for YouTube

Embed Plus for YouTube

Embed Plus for YouTube allows both beginners and advanced users to add a video, YouTube channel, or playlist, and live stream without any difficulty. It’s compatible with the Gutenberg Block editor as well as the Classic editor and shows the YouTube Wizard button in both of them.

The auto-continuous play feature of the plugin allows playing video one after the other without having to click a thumbnail. Best of all, with simultaneous playback control, you can easily enable/disable your users to run separate videos at the same time and on the same page.

Cost: Free or $39.99 for 1 Site for a Lifetime Access


How to Embed/Add YouTube Video in WordPress Using Embed Plus For YouTube?

First of all, you need to install the plugin on your site. For this, go to your dashboard and navigate to Plugins >> Add New

Navigate Plugins to add new

Then, type in “Embed Plus for YouTube” in the search box and install and activate the plugin.

Install and Activate Embed Plus for YouTube

Now, go to the posts or pages where you wish to embed the YouTube Video. Hit the “+” button at the top and search for the “YouTube Wizard” and click it.

Search for YouTube Wizard

Once it’s displayed, press the “Open Wizard” button and it’ll show you a list of options. As mentioned earlier, apart from adding video, you can also add a channel, playlist, or live stream with a push of a button using this plugin.

How to Add YouTube Video in WordPress Using Embed Plus for YouTube Plugin

Since we’re embedding a video at a moment so click on the “Embed a single video” option. Now simply copy and paste the video URL in the box and hit the “Submit” button. 

Embed a Single Video

Again click on the “Insert Into Editor” option at the top. Finally, your video is fetched to your site.

Insert into Editor Option

If you wish to make necessary changes to your videos then this plugin enables you to do it in an easy manner. You need to navigate to Plugin >> Installed Plugins. Then under Embed Plus for YouTube, click on the “Settings” option.

Embed Plus for YouTube Plugin Setting

Here, you’ll be able to enable/disable several default YouTube options such as:

  • At a glance
  • Video centering
  • Autoplay
  • Looping
  • Show fullscreen button
  • Accessible title attributes
  • Default dimensions to change video embed size, and many more

Apart from these, you can even change the configurations under the tabs like galleries, compatibility, security & privacy, and so on.

YouTube Settings

2. ARVE Advanced Responsive Video Embedder

Advanced Responsive Video Embedder

ARVE Advanced Responsive Video Embedder is a comprehensive solution to embed video to your WordPress site. Adding video is super-easy as it’s embedded by pasting video URL in its line just as in WordPress. This responsive plugin seamlessly integrates with every video host supporting iframe embed codes.

It’s an SEO-friendly plugin that enables you to specify title, description, and upload date to ensure better indexing in search engines. Further, pro-version of the plugin adds several features like disabling links in embeds, lazy load, automatic or custom thumbnail images, and more.

Cost: Free or €40/Year for 1 Site


Video Gallery

If presenting a high-quality video with the best design is your desire then Video Gallery is the right choice for you. This plugin lets you create a beautiful video gallery with 9 different layouts, a pagination option, and several free gallery themes. Above all, it also supports videos from Vimeo and Wistia as well.

Using Video Gallery, you get full control over description text color, size, and alignment. Moreover, it has a beautiful hover effect to attract your visitors. Except for that, you can get endless customization possibilities with its premium version like multiple background colors, border, radius, font styles, etc.

Cost: Free or $37 (As of Now)


4. YouTube Embed

YouTube Embed WordPress Plugin

YouTube Embed is a simple and easy-to-use WordPress plugin for adding videos to your site. It features dynamic video sizing to make your site look good on any device. This plugin enables you to build your playlist and automatically generates a playlist based on usernames and their search history.

It offers many playback options like autoplay, video loop, related videos display, and more. Besides, it also supports iFrame Resizer and Fitvids.js for the improvement of video content resizing. Further, it’s compatible with 3rd party plugins like a3 Lazy Load, Video SEO, etc. to enhance your site’s functionality.

Cost: Free


Why You Should Never Upload Videos to WordPress?

Uploading videos to your WordPress site can consume a lot of your server resources. And if you’re using shared hosting, then it can make your site suffer more as it won’t be able to load heavy content (videos). This can even affect other website’s speed badly.

Besides, there’s a file size restriction when you upload videos with most of the web hosting providers. Whereas the platforms like YouTube, Vimeo, Wistia, etc allows larger sizes for your video files.

Hence, embedding videos from popular platforms like YouTube or Vimeo is the best choice. It not only saves bandwidth of your site and provides a better web experience for your visitors but also improves the site traffic and shares.


Concluding

This is pretty much it for our tutorial on how to embed YouTube video in the WordPress blog.  

Videos are an excellent addition to the WordPress website that encourages your users to stay longer on your site. Furthermore, it can reap unlimited benefits to make your website stand out from the crowd. 

We expect that after reading our article on how to add a video in WordPress website, you’re now able to add videos from YouTube without any difficulty.

So, which of the above methods did you find most convenient? Don’t forget to share your experience with us in the comment section below.

Also, follow us on Twitter and Facebook for recent updates about our article.

Want to read more of our blog posts? How about a tutorial on creating a custom sidebar on WordPress?

mm

ThemeGrill Author

We are a team of SEO copywriters and editors who work both individually and in the team. ThemeGrill author is where one of the editors here is working on one project personally. Write to us @themegrill_blog in Twitter.

Leave a Reply

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

Scroll to top

Pin It on Pinterest