You can use the MetaSlider Gallery plugin to show videos inside a gallery window. The MetaSlider Gallery plugin supports videos hosted inside your WordPress media library. You can use MetaSlider Gallery to showcase your .MP4, .WebM, and .MOV videos.
You can enhance your locally hosted videos with a gallery window. Visitors can view your videos and then open them inside a modal. This can make the video larger and also darken the background so it’s easier to see the video.
There are two approaches to adding a gallery window to your videos: Automatic Mode and Manual Mode.
Automatic Mode for Local Video Gallery Windows #
Under the “Automatic Mode” tab, you can select where the gallery window will be enabled automatically. Check the box for “Videos in post content” to apply the gallery window automatically to your videos.

- This video below is a demo of how the gallery window will appear. Click the orange button in the top-right corner.
Manual Mode for Local Video Gallery Windows #
The second option is to use “Manual Mode”. This allows you to choose which individual videos will open in a gallery window. This feature works with the WordPress block editor. Let’s see how to add a gallery window to videos that are added via a block.
- Select the locally hosted video you want to use MetaSlider Gallery.
- In the right sidebar, click the “Advanced” tab as in the screenshot below.
- Add
ml-lightbox-enabledto any existing text in this box.

