YouTube is by far the most popular video sharing platform, with almost 300 hours of content uploaded every minute. With WordPress, it is easy for you to tap into this amazing content source to display YouTube videos right in your WordPress posts and pages.

In this tutorial, we will show you how to add a YouTube video to WordPress.

But before, if you have never installed WordPress discover How to Install a WordPress Blog in 7 Steps et How to search, install and activate a WordPress theme on your blog 

Then back to why we are here.

Select your video

Before you can post a YouTube video on your website, you'll need to find the video you want to add.

See also How to open a Youtube video in a popup on WordPress

Select there then click on " Share And copy the URL of the video. If the video you selected is in a playlist, you will have the option to view only the current video (uncheck the box " playlist »), or display the entire playlist and you can set whether you want to display everything from the beginning.

How to add a YouTube video to an article or WordPress page

Now, let's focus on our WordPress dashboard. You can create a new WordPress article or page or modify an existing one. The process is the same for articles and pages.

Read also: How to find the missing YouTube videos on WordPress

Your video will have to be on a new line, so if you add a YouTube video to the existing content, make a return to add the link.

add-a-youtube-video-on-wordpress

Paste the URL of the YouTube video you just copied onto the new line. It doesn't have to be a hyperlink (turning this into a link will not allow the video to display) literally just adding the link you copied from YouTube is all you need.

See also our 10 WordPress plugins to add YouTube videos to a blog

If you have the plugin JetPack Installed, you will have an instant preview of the video. Otherwise, save your article or page (or update the previously published article) and you will have the full preview displayed.

Publish or update your article or page and that's it.

How to add YouTube videos with embeds integrations

If sticking the link of a video does not work or if you want more control over the YouTube video player, you will need to integrate the video manually.

Fortunately, WordPress simplifies the process.

Discover more How to add Youtube videos without using links on WordPress

Again, find the video you want to embed on YouTube. This time select the " To integrate " You will access a field that has an HTML code that you will need to integrate into your WordPress article. It represents the YouTube player that will appear on WordPress.

iframe-integration-dune-video-youtube

You will have with this method, options that you can customize:

See also our article on How to add a Youtube analytic table on WordPress

  • The width of the video player (choose from presets or use a custom format).
  • Show similar videos when a video ends.
  • Enable video controls.
  • View share links, title, and other information about the video.
  • Enable privacy mode.

You can also manually customize the settings. Google offers you other options that you can use.

customization-to-video-youtube

Once you have finished customizing all the options, copy the code to integrate (it starts with " <iframe… ").

You can paste your code to embed in your WordPress post or page. This part is a little different from adding URLs to an article: you will need to use the text editor mode. This allows you to add HTML code, including YouTube embed code.

See also How to optimize the loading of your YouTube videos on WordPress

Again find the location in the article where you want to add your video, but this time add two line breaks. Paste the embed code in the middle line and return to the visual editor of WordPress. You will now be able to see a preview of your video.

integration-dune-youtube-video-on-the editor-in-text-to-wordpress

Also check out some WordPress plugins premium  

You can use other WordPress plugins to give a modern appearance and to optimize the handling of your blog or website.

We offer you here some premium WordPress plugins that will help you do that.

1. WordPress Sidebar and Widgets Visibility

Widgets and sidebars in themes usually have a single design. Knowing this, some users still buy these WordPress themes

Wordpress sidebar and widgets visibility create sidebar hide sidebar and hide widgets wordpress plugin

But now, thanks to this revolutionary premium WordPress plugin, you will be able to easily create superb new templates. The process is very simple. For edit widget, just add the Widget Customizer before and configure the styling options.

It also works with sidebars. Just install this WordPress plugin on any sidebar and change its look.

See also How to change the sidebar side on WordPress

It is simple and efficient!

Download | Demo | Web hosting

2. Easy Social Share Buttons

Easy Social Share Buttons is a WordPress extension premium which sets up a widget flexible that allows you to share the content of your blog. You will thus be able to obtain even more fans and subscribers by integrating pop-up windows (newsletter, social sharing buttons etc.) in the content of your pages, articles or your sidebar.Easy social share buttons for wordpress plugin 2

This extension is highly compatible with extensions such as bbPress, BuddyPress, Easy Digital Downloads, Elementor, Visual Composer, WooCommerce, WP EasyCart, Cornerstone to work perfectly.

Discover Why you must pay attention to duplicate content on your blog

This plugin also integrates other types of buttons in this case: the “Like” button, the “More” button, the “Share” button, the “comments” button, etc.

Download | Demo | Web hosting

3. Responsive Styled Google Maps

Responsive Styled Google Maps is an easy-to-use Google Maps generator that offers responsive cards for your website. 

Responsive styled google maps wordpress plugin

In addition, this premium WordPress plugin allows you to insert several markers on the same card, or even several cards on a page. As features, you will find among others:

A shortcode generator, the 100% responsive layout, compatible with mobile devices, the support of the side bars, the articles, the pages and custom types of posts, creating multiple markers, 10 marker icons and much more…

Download | Demo | Web hosting

Recommended Resources

Find out about other recommended resources to help you build and manage your website.

Conclusion

Here is ! That's all for this tutorial, I hope it will allow you to easily add YouTube videos to your WordPress articles or pages.  Feel free to share this article with your friends on your favorite social networks

However, you will also be able to consult our resources, if you need more elements to carry out your projects of creation of Internet sites, by consulting our guide on the WordPress blog creation.

If you have suggestions or remarks, leave them in our section Comments.

...