Video Background


Video Background offers a simple and easy way to add a video background to any element on your WordPress site.

There are 4 simple required fields:

  • Container: This fields specifies where you would like the video background.
  • MP4: Link to the .mp4 file. For Safari and IE support.
  • WEBM: Link to the .webm file. For Chrome, Firefox, and Opera support.
  • Poster: This will be used for the fallback image if video background is not supported (mobile for example)

There are also 5 additional optional fields for having a more beautiful video background:

  • Overlay: Add a color overlay over the video for optimal reading of text.
  • Overlay Color: If overlay is enabled, you can select the color of the overlay using the colorpicker.
  • Overlay Alpha: If overlay is enabled, you can specify the amount of transparency.
  • Loop: Enable or disable the looping of the video background
  • Tap to unmute: Add a “Tap to unmute” button to your video backgrounds to have your users engage with the sound. Compatible with Chrome’s newest autoplay policies!

In addition to the Video Background metabox, WPBakery integration, and SiteOrigin Page Builder integration, you can use the shortcode for use anywhere on your WordPress site:
[vidbg container="body" mp4="#" webm="#" poster="#" muted="true" loop="true" overlay="false" overlay_color="#000" overlay_alpha="0.3"]



  • 4 fields? That’s it? Yep, simply enter in the element you’d like the video background to be in and key in the paths to the video and fallback image. Awesome.

  • Use WPBakery (Visual Composer)? Video Background & WPBakery allow you to easily add a video background to your row.

  • Use SiteOrigin Page Builder? Video Background & SiteOrigin allow you to easily add a video background to your row.


Installation is simple.

  1. Upload video-background to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Fill in the settings on the “Video Background” metabox on the page or post you’d like the video background to appear on.


What size is recommended for the videos?

15mb is usually best, I try to not exceed that. Any video after 15mb starts to slow down and sometimes will not load. Check with your hosting provider to make sure you have enough bandwidth for video backgrounds.

Is this compatible with Internet Explorer?

Video background works for Internet Explorer 9 and above. Any version below that will use the fallback image.

How would I make a full width/height background video?

Simply fill out the 4 easy fields. Be sure for the container you enter “body” (without the quotes)

What is the best way to add a full width video background to my website?

The best way to achieve this is to use a page builder like SiteOrigin or WPBakery (Visual Composer) to add a full width row, and apply the video background to it through the integration.

What filetypes are allowed for fallback images?

Fallback images can be .jpg, .png, and .gif.

I entered all the correct fields, but my video will still not load. What am I doing wrong?

This can be an issue with the file size of the video you are uploading. Make sure that you video is compressed and is does not exceed 15mb.

I want to add a video background to a class called “header”, how would I do that?

To add a video background to a class called header add “.header” to the container field. (without the quotes)


फेब्रुअरी 8, 2024
Works like a charm. Easy to use and configure. Bought the premium version too – even better. Well done to the developer for solving an often complex task with a nice, simple plugin.
जुलाई 3, 2023
Tried this plugin because it claimed that it was compatible with Site Origin. It is in the sense it adds a settings panel where it should, good so far. But – when I apply a background video to a row containing the SiteOrigin Builder widget, the video will repeat inside any rows placed inside the SO Builder as well – clearly not desirable in most cases. It is a nifty effect and may be worth preserving as an option, but it shouldnt happen by default, and in most situations wont be wanted. The container option does not seem to work with Site Origin. Shortcode does at least place the background in SiteOrigin, but so far will only display the backup image, videos will not play.
जुन 14, 2023
According to the reviews by others, it’d work like a charm. I’m leaving this review for those Oxygen Builder users who look for embedding YouTube/Vimeo video to a section/div background, you can skip this plugin.
डिसेम्बर 30, 2022
Great and easy plugin. You just need found your container and the plugin do the remaining. Just perfect! Thanks a lot guys.
सबै 62 समीक्षाहरू पढ्नुहोस्

योगदानकर्ता र डेभलपरहरू

“Video Background” खुला स्रोत सफ्टवेयर हो। निम्न व्यक्तिहरूले यो प्लगिनमा योगदान गरेका छन्।




  • Removed .changeset, package.json, and package-lock.json from production dist


  • Add to production plugin bundle
  • Update tested up to version to 6.5.2


  • Fixed: Escaped shortcode booleans (loop, overlay, tap to unmute)


  • Fixed: Escaped shortcode input (container field, and other attributes)


  • Fixed: Fixes a bug introduced in v2.7.2 where the metabox does not appear on some UNIX systems


  • Fixed: Upgraded CMB2 from 2.2.1 to 2.10.1
  • Fixed: Fixed critical errors seen when using UpdraftPlus 1.22.16 via the above CMB2 update


  • Fixed: Remove tap to unmute button when video background can’t be played


  • Added: You can now add a video background to your WPBakery (Visual Composer) row!
  • Added: You can now add a video background to your SiteOrigin Page Builder row!
  • Added: vidbg_update_message() to let users know of crucial updates
  • Removed: vidbg_is_wp_version()
  • Removed: Pesky Video Background Pro fields
  • Updated: Settings page slug
  • Fixed: Simplified the plugin’s resize methods.
  • Added: As a result of recent browser autoplay policy changes, the default audio on option has been removed. Now, you can add a nice “Tap to unmute” button to the video background!


  • Fixed: ability to display just fallback image.
  • Fixed: if fallback image is present, but video files are not. The video will not load to save on browser page size.


  • Added: version to wp_register_style()


  • Fixed: Critical issue with the [vidbg] shortcode not displaying video backgrounds.


  • Fixed: Compatibility issue with IOS 11 and High Sierra
  • Added: Reengineered vidbg scripts for more consistency across websites and faster loading speeds
  • Added: All instances of Video Background are now ran straight from the shortcode for more consistency.
  • Fixed: Compatibility issues in the opacity slider
  • Added: WordPress required version is now 4.2


  • Fixed: Conditionally enqueue vidbg script


  • Added ability to filter the post types using “vidbg_post_types” filter.


  • Fixed compatibility issues with other CMB2 instances


  • Fixed notice issue when hide muted fields checkbox was checked


  • Fixed a bug that made the browser position jump when clicking the “Advanced Options” button
  • Added better localization support for translations
  • Cleaner code, well documented.
  • Added Muted Video Background Pro fields (Do not worry, you can hide these)
  • Added new stable tag for WP 4.5.3


  • Fixed notice option


  • Added fade in/out transitions on advanced panel
  • Simplified/cleaned up a lot of code
  • Added security
  • Some small but helpful new styles
  • Update admin notice for new pro version


  • Added “Follow me on Twitter” button
  • Added premium notice message for those on WP 4.2 or greater
  • updated language file


  • Added Overlay Color
  • Added Overlay Alpha
  • Added ability to upload video files through wordpress media
  • Safer metaboxes
  • Added localization for translations in the future
  • added text domain and languages folder
  • Cleaned up source files
  • Integrated with CMB2
  • Added donate link
  • Updated stable tag


  • Removed those pesky php notices on blog page when no front page was set and WP_DEBUG was true
  • Updated tested up to tag


  • Now stable for WordPress 4.4
  • Modified links to new URL
  • Now using official version of vidbg.js from github.
  • Added shortcode attributes for unmute, overlay, and loop.


  • Changed position value when container is set to “body” from “absolute” to “fixed”
  • Dissolved pattern image and upgraded to data uri svg
  • Cleaned up and optimized code


  • Fixed typo in settings submenu


  • Fixed blurred circle play button bug on iOS 9


  • Cleaned up code
  • Added donate link


  • Fixed notices on 404 page when debug mode is set to true
  • Fixed blog posts page video background.


  • Added toggle loop
  • Added toggle mute
  • Added advanced section toggle
  • Got rid of the getting started row in the metabox


  • Added last versions changelog
  • Added FAQ


  • Updated links in readme.txt


  • Added FAQ
  • Added instructions on settings page
  • Cleaned up code
  • Changed plugin compatibility


  • Added overlay featured
  • Cleaned up code, added comments, etc.
  • Dissolved OGV featured, now use video background with only MP4 and WEBM.


  • Added page post type


  • Video Background: Now in a metabox! No longer do you have to worry about generating a shortcode.


  • Fixed path to js file


  • Getting Started/settings page added


  • ReadME update


  • ReadME update


  • Updated Assets
  • Updated Readme


  • Initial Release