Beginner's Guide for WordPress / Start your WordPress Blog in minutes

How to Add YouTube Video as Fullscreen Background in WordPress

Are you looking for a way to use videos as background for your WordPress website?

Background videos can make your landing pages more attractive. If used carefully, a moving background can instantly grab the attention of your visitors and increase engagement.

In this article, we will show you how to add YouTube video as fullscreen background in WordPress.

YouTube Video as Wallpaper in WordPress

Why Use YouTube Video as Fullscreen Background?

When visitors first land on your WordPress website, you only have a few seconds to grab their attention and get them to stay on your site.

A great way to do that is to use YouTube videos in the background. A moving background color gives your site a trendy and modern look while emphasizing your brand message.

You can also use YouTube background videos to personalize your website and make it different from your competitors. It can also help highlight your call to action (CTA) buttons and boost conversions.

There are many different WordPress themes that support video backgrounds. However, if your theme doesn’t have background video support, then you can easily use videos as fullscreen backgrounds using a WordPress plugin.

Let’s take a look at how you can use YouTube videos as your site’s background.

Adding YouTube Video as Fullscreen Background

mb.YTPlayer for background videos is a free WordPress video background plugin. It lets you play YouTube videos as background for your blog post or pages. The plugin is very easy to use and works on popular browsers.

The first thing you’ll need to do is install and activate the mb.YTPlayer for background videos plugin. For more information, please see our guide on how to install a WordPress plugin.

Upon activation, you can head over to mb.ideas » YTPlayer from your WordPress admin area to configure the settings.

Enter your YouTube video URL

Start by entering the URL of the YouTube video you want to add as the background in the ‘The YouTube video url is’ box.

You can enter more than one URL, and the plugin will randomly choose the video to play in the background.

The plugin also lets you select the pages where the video background will be displayed. You can use the default setting where the video will play on all the pages, or choose if you want to only display background videos on the homepage.

Besides that, there is an option to play the video from the last position. Simply check the ‘Remember last video position’ option, and the video will start playing from where you left last time.

Lastly, you can also add a delay of a few seconds before the video starts to play in the background. Adding a delay helps solve any conflicts mb.YTPlayer might have with your site’s theme and other WordPress plugins.

Once you’ve made these settings, don’t forget to click the toggle for ‘activate the background video’ and then click the ‘Save Changes’ button.

You can now preview your site to see the background video in action.

YouTube video as background preview

We hope this article helped you learn how to add YouTube video as background in WordPress. You may also want to check out our guide on how to choose the best blogging platform and the best MailChimp alternatives.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit – a collection of WordPress related products and resources that every professional should have!

Reader Interactions

5 CommentsLeave a Reply

  1. Great article!

    But I cannot add the video background to a single page, like you describe. I’m only able to add a youtube video to my homepage, which limits the extend to which the app can be used.


  2. Hi, this plugin was a disaster to my website.

    It consumed all the resources and for hours I was on the phone with my hosting company trying to battle why I was getting the errors on this screenshots below:

    After hours, we finally traced them to the plugin i recently installed.

    We had to remove it from the file manager and everything is back to normal now.

    It takes up a lot of resources unless you have a super hosting account, i don’t advise.

    • Hi Tobi,

      The plugin shouldn’t consume too many resources because it loads video from YouTube not from your website. The first screenshot you shared points to a database connection error. We hope everything works fine for you now, however, if you still see issues on your website then it is most likely a hosting issue.


Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.