Video Gallery YouTube Vimeo with Youtube API

Description

Create a responsive video gallery easily using Youtube and Vimeo video links Or API fetch videos.

Video Gallery Description for YouTube and Vimeo

This plugin helps you display your favorite videos on your website in a beautiful way.
You can group all your videos inside a clean and fully responsive grid layout.
It is very easy to use because you do not need to write code.
The plugin also supports the YouTube API to load video details very fast.
You can mix YouTube and Vimeo videos together inside a single responsive video gallery.
This plugin works great for portfolios, blogs, and all types of business websites.
It keeps your website visitors engaged by playing videos in a light popup lightbox.
You can buy the premium version if you want more layouts and advanced features.

View Pro Demo: Video Gallery Premium
More About Pro: YouTube and Vimeo Video Gallery Premium
Where To Buy: Buy YouTube Gallery Premium

Watch The Setup Tutorial

How It Works

Install the plugin to get a new video gallery menu inside your dashboard.
Create a new video gallery and add your YouTube or Vimeo video links.
The plugin will fetch details using the YouTube API automatically.
Each video gallery gives you a simple shortcode that you can copy easily.
Paste this shortcode on any page or post to display the video grid.

What You Can Build

  • Product video showcases to help sell items in your e-commerce shop.
  • Video course lists for lessons, guides, and your online school tutorials.
  • Music playlist galleries for bands, music videos, and other solo artists.
  • Customer video reviews to build trust with your new website visitors.
  • Event highlight reels to show key moments of your business meetings.
  • Portfolio grids to showcase your creative video work to your clients.

Key Capabilities

Flexible Video Sources
Mix YouTube and Vimeo videos together in a single clean grid layout.

Fully Mobile Friendly
The video gallery looks great on all mobile screens and desktop computers.

Pop Up Lightbox Player
Videos play in a popup so your visitors stay on your website page.

Custom Grid Columns
Set different column numbers for mobile, tablet, laptop, and desktop screens.

Upload Custom Images
Use your own cover images instead of the default YouTube video thumbnails.

Simple Shortcode System
Copy and paste shortcodes like [VDGAL id=123] to display galleries anywhere on your site.

Free Features

  • YouTube video galleries
  • Vimeo video galleries
  • Mixed video galleries (YouTube + Vimeo together)
  • Responsive grid layouts
  • 4 column layout options (1, 2, 3, or 4 columns)
  • YouTube API integration – With all default Settings (No Customization)
  • Lightbox video popup player
  • Custom video thumbnail upload
  • Video title and description fields
  • Shortcode embedding
  • Custom CSS support
  • Mobile-friendly design

Pro Features

Upgrade to Video Gallery Pro for additional capabilities:

  • Enjoy advanced YouTube API options with full responsive gallery layout controls.
  • Import your videos automatically using the Vimeo API integration setting options.
  • Load entire YouTube playlists by entering a simple playlist ID value.
  • Support for displaying multiple video playlists in a tabbed layout screen.
  • Show your videos using a beautiful masonry style gallery layout view.
  • Add an AJAX load more button to load more videos easily.
  • Upload and play your own local video files from the dashboard.
  • Customize lightbox styles by changing your theme colors and popup effects.
  • Add cool hover fade and glow effects to gallery cards dynamically.
  • Custom z-index values to prevent conflicts with your sticky theme headers.
  • Get fast and friendly help from our premium customer support team.

Must See Our Demo

Our Recommended Plugins

External Services

This plugin uses external services to load video content and get details.

  1. YouTube Data API (Google Inc.)

* We use the YouTube API to fetch video titles, descriptions, and durations.
* No personal user data is sent to the Google API server locations.
* Terms of Service: YouTube Terms of Service
* Privacy Policy: Google Privacy Policy

  1. YouTube Image Services (Google Inc.)

* This service fetches thumbnail images from YouTube to display in your gallery.
* No visitor personal details are sent when loading these YouTube thumbnail images.
* Terms of Service: YouTube Terms of Service
* Privacy Policy: Google Privacy Policy

  1. Vimeo (Vimeo.com, Inc.)

* The Vimeo API and player are used to play Vimeo videos.
* Standard browser referral headers are shared when visitors play these Vimeo videos.
* Terms of Service: Vimeo Terms of Service
* Privacy Policy: Vimeo Privacy Policy

YouTube and Vimeo Installation

  1. Upload the plugin folder directly to your WordPress plugins directory.
  2. Activate the plugin using the plugins menu in your dashboard.
  3. Open the Video Gallery section in your WordPress admin dashboard.
  4. Click the Add Video Gallery button to start building a grid.
  5. Add your videos by entering YouTube or Vimeo ID values manually.
  6. Save your new gallery and copy the generated shortcode code.
  7. Paste the shortcode on any page to show your video gallery.

Frequently Asked Questions about YouTube and Vimeo Galleries

How many videos can I add to a single YouTube video gallery?

There is no limit to the number of videos in your gallery.

Can I mix YouTube and Vimeo videos in the same video gallery?

Yes, you can add both video types in one responsive video gallery.

Is this YouTube and Vimeo video gallery fully responsive on mobile?

Yes, the gallery layout changes size to look clean on all screens.

Does a YouTube or Vimeo video play in a popup lightbox?

Yes, visitors watch videos in a popup player without leaving your page.

Can I use custom cover images for my YouTube or Vimeo videos?

Yes, you can upload custom images to replace the default video thumbnails.

How do I display a responsive video gallery on my website?

Copy the shortcode from the editor and paste it onto any page.

Can you load titles and descriptions automatically using the Youtube API?

Yes, the Youtube API fetches video titles and descriptions for your grid.

Does this plugin support the Vimeo API in the free version?

The free version has basic options. Buy the pro version for full Vimeo API support.

Does this plugin work with page builders like Elementor or Divi?

Yes, you can paste the shortcode block inside any page builder.

How do I get a YouTube API key for this plugin?

You can get a free key from the Google Cloud Console dashboard.

Can I display multiple YouTube and Vimeo galleries on one page?

Yes, you can place as many shortcodes as you want on a page.

Is this YouTube and Vimeo video gallery plugin ready for translation?

Yes, you can translate this plugin into your own language easily.

Where can I get help if my video gallery is not working?

Free users can post their questions on the WordPress.org support forum.

Screenshots

  • YouTube Video Gallery With Two Columns
  • YouTube Video Playing in Lightbox Preview
  • Vimeo Video Gallery With Two Columns
  • Vimeo Video Playing in Lightbox Preview
  • YouTube And Vimeo Mixed Videos Gallery
  • Video Gallery Column Layout Options
  • Video Gallery Admin Settings Panel

Reviews

August 4, 2023 1 reply
The setup is weird – you have to pull a photo from your own media library to use as the cover photo for the video. uhmmmm, ok. I did that, but then the video gets an error message and will not play. Overall, not a very efficient or effective plugin.
February 13, 2020 1 reply
the basic functionality is exactly what I need: creating a video-gallery with different videos from youtube or vimeo or whatelse… but there is a stange workflow: for every video you want to use, you need to define a video-banner – also if you want to use the default-preview-image from youtube… So I used for all videos the header-image of my blog… but when I tried to add different videos with different titles and descriptions, the different videos were no problem but the title/desc was always for all videos that one from the last video… so this makes the plugin completely useless for me :-/
June 25, 2019
This is definitely the best video gallery plugin around and the developer support is fantastic! Can definitely recommend.
Read all 8 reviews

Contributors & Developers

“Video Gallery YouTube Vimeo with Youtube API” is open source software. The following people have contributed to this plugin.

Contributors

“Video Gallery YouTube Vimeo with Youtube API” has been translated into 3 locales. Thank you to the translators for their contributions.

Translate “Video Gallery YouTube Vimeo with Youtube API” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.7.1

  • Date: 20-may-2026
  • Fix: Restructured settings page layout so option toggle cards display correctly on all devices.
  • Fix: Set unselected option card text to inherit color so it is visible against white.

1.7.0

  • Date: 19-may-2026
  • Security Hardening: Migrated YouTube API integration fully server-side. Your YouTube API Key is now 100% hidden and secure from frontend exposure.
  • Performance Optimization: Integrated WordPress Transients API to cache YouTube feed data. This slashes page-load overhead to near-zero, protects against API quota depletion, and optimizes SEO search indexing.
  • UI Unification: Standardized YouTube galleries to utilize the premium VideoLightning lightbox popups and unified gallery grid columns for a consistent style aesthetic across all types.
  • Backward Compatibility: Custom parsing logic handles all historical channel URLs, playlist lists, usernames, and raw IDs seamlessly.
  • Escape Compliance: Hardened dashboard security by replacing generic attributes escaping with strict context-specific esc_textarea for textareas.
  • Hook Standards: Enqueued dynamic templates styles and scripts using standard wp_add_inline_style and wp_add_inline_script instead of raw inline blocks.
  • Clean Asset Optimization: Fully purged the redundant “Go to Top” visual elements, including the return-to-top HTML markup, go-to-top.js, and go-to-top.css files to streamline the plugin package size.
  • Compliance Fix: Completely removed the legacy TGM Plugin Activation (TGMPA) library dependency to resolve naming conflicts, update-checker transient issues, and translation domains.
  • Asset Cleanup: Removed the unused Bootstrap JS script (bootstrap.js) file and enqueues.
  • Library Security: Upgraded the bundled Bootstrap CSS (bootstrap.css) to the latest secure version (v4.6.2).
  • Security Hardening: Implemented absolute path execution guards (ABSPATH) on all plugin PHP files to block direct file access.
  • Policy Compliance: Added formal disclosures for external third-party services (YouTube and Vimeo) used by the plugin.

1.6.5

  • Fix: Lightbox (Magnific Popup) now appears above theme headers, navbars, and sticky elements
  • Fix: Video gallery shortcode no longer shifts or hides in single post layouts
  • Fix: Multi-line video titles are no longer cropped — gallery container expands to fit
  • Fix: VideoLightning lightbox now displays above sidebar, breadcrumb, and header
  • Fix: Video lightbox close button now shows pointer cursor
  • Fix: Video iframe fills full lightbox height
  • Improved Isotope re-layout timing using font loading and window load events
  • Improved Isotope re-layout timing using font loading and window load events
  • Improved lightbox stacking context handling for better theme compatibility
  • Security: Fixed custom CSS output being unescaped (XSS protection)
  • Security: Secured unserialize usage against Object Injection vulnerabilities
  • Fix: Gallery settings now load correctly for multiple galleries on the same page
  • Fix: Resolved undefined variable notices ($columns, $close_button) in PHP logs
  • Fix: Removed duplicate alt attributes and non-unique IDs for valid HTML
  • Code cleanup: Replaced deprecated wp_reset_query with wp_reset_postdata
  • Improvement: Updated copy-to-clipboard to use modern Clipboard API with fallback

1.6.4

  • Tested with WordPress 6.8.3
  • Bug fixes

1.6.3

  • Tested with WordPress 6.8.3

1.6.2

  • Bug fix: PHP compatibility improvements
  • Security patches applied
  • Input sanitization improvements
  • Tested with WordPress 6.8.1

1.6.1

  • Bug fix: PHP compatibility improvements
  • Tested with WordPress 6.8

1.6.0

  • Bug fixes and improvements
  • Tested with WordPress 6.7.2