Envira Gallery Blog
Digital Photography Tips, Tutorials and Resources
Digital Photography Tips, Tutorials and Resources
by Waseem Abbas on Oct 23, 2017 Reader Disclosure
Do you want to add fullscreen videos on your WordPress site? Sometimes you may need to display videos without the top and bottom black bars, so your users can view the video end-to-end on their screen. In this tutorial, we will share how to remove black bars from a video embed in WordPress.
By default, the video embed in WordPress from any resource like YouTube, Wistia, and more will appear as it is in the original video. You need to use a plugin like Envira Gallery to get full control on how you want to display your videos to the users.
To remove black bars from a video embed in WordPress, you’ll need to follow these 6 steps:
Ready to get started? Let’s go!
The first thing you need to do is to install and activate Envira Gallery plugin on your WordPress site.
To learn about the installation process of this plugin, you should check out this guide on how to install and activate Envira Gallery.
Upon activating the plugin, you need to go to Envira Gallery » Addons to install and activate Videos Addon.
To access this addon, you must have Envira Pro or higher license. Simply upgrade your Envira license here.
Videos addon allows you to add videos on your WordPress site and gives you the full control on them.
After you have installed the plugin and addon, simply go to Envira Gallery » Add New from your WordPress admin backend.
You need to add a title and drop your videos in the Native Envira Gallery section.
However, this will only take the self-hosted videos. If you want to add videos from other resources like YouTube, Wistia, and more, then click on the Select Files From Other Sources button.
It will open a popup where you can add your videos.
To learn about the other basic settings, you should check out this guide on how to create a responsive video gallery in WordPress.
Once you have added your videos, scroll down to Videos tab and check mark to Force Larger Videos setting.
This will affect your YouTube and Wistia videos to display them on full screen instead of the original size and remove black bars from a video.
The above settings will not affect your self-hosted or other videos. Though you can manually edit them.
Simply go to Images tab and click on the edit (pencil) icon. It will open a lightbox popup for you to edit metadata of the video. Scroll on the right side to add your video width and height.
You can change the width and height till you get the required result.
After all the settings, you need to click on the Publish button. Copy the shortcode from Envira Gallery Code widget.
To display your videos, you need to go to WordPress Pages/Posts » Add New or edit an existing page/post. In the visual editor, simply paste the shortcode.
Hit the Publish/Update button and visit your site to see the videos.
That’s all. We hope this tutorial has helped you to learn how to remove black bars from a video embed in WordPress. You may also want to check out our guide on how to create an image gallery with thumbnails in WordPress. In case, you videos are loading slow on your site, we recommend you to check this ultimate guide to boost speed and performance.
If you like this tutorial, then please follow us on Twitter and Facebook for more free WordPress guides and resources.
Envira Gallery helps photographers create beautiful photo and video galleries in just a few clicks so that they can showcase and sell their work.