Video Gallery – YouTube, Vimeo Gallery & YouTube API
Create video portfolio with YouTube and Vimeo video galleries.
Install in
Video Gallery is a responsive WordPress plugin designed to display YouTube and Vimeo videos on your website. You can mix YouTube and Vimeo videos together inside a single gallery. The plugin features built-in integration with the YouTube Data API to fetch titles, descriptions, and thumbnails automatically, saving you time and effort. It is fully compatible with page builders, featuring a dedicated Gutenberg block and an Elementor widget.
With built-in playback analytics, you can track which videos are popular, monitor platform shares (YouTube vs. Vimeo), and export play logs directly from your dashboard.
Video Gallery Pro Demo
More About Pro
Buy Video Gallery Pro
Video Tutorial
Common Use Cases
- Video Portfolios: Showcase your videography, film, or editing work to potential clients.
- Product Video Reviews: Build trust in your online shop by embedding video reviews and tutorials.
- E-Learning & Courses: Create a structured list of video lessons and guides for your students.
- Music Video Playlists: List music videos or live performances for bands and solo musicians.
- Event Reels: Highlight company events, webinars, or conferences.
Key Capabilities
- Mixed Video Galleries: Display YouTube and Vimeo video items side-by-side in one grid.
- Mobile-Responsive Layout: Gallery grid scales to fit smartphones, tablets, laptops, and desktops.
- Lightbox Popup Player: Play videos in an overlay lightbox so visitors stay on your website.
- Custom Covers: Upload your own custom cover images to override default API thumbnails.
- Elementor & Gutenberg Integration: Embed galleries using dedicated widgets or blocks.
- Playback Insights: Monitor play counts, device shares, and platform details inside your dashboard.
Free Features
- Create unlimited YouTube and Vimeo video galleries.
- Mix YouTube and Vimeo video URLs in a single gallery.
- Fully responsive grid layouts.
- Adjustable column counts (1, 2, 3, or 4 columns).
- Server-side YouTube API integration for automatic title, description, and thumbnail fetching.
- Responsive Lightgallery engine for popup player.
- Custom poster thumbnail uploads.
- Title and description editor fields.
- Gutenberg block integration.
- Elementor widget integration.
- Built-in playback analytics with graph charts and CSV export logs.
- Custom CSS setting overrides.
Premium Features
Upgrade to Video Gallery Pro for advanced controls and features:
- Automated YouTube Channel feeds and Vimeo Channel/Showcase API imports.
- Load entire YouTube playlists automatically by entering a Playlist ID.
- Multi-playlist support with tabbed grid navigation menus.
- Premium Masonry and Isotope layouts.
- AJAX Load More pagination button with modern design presets.
- Upload and stream self-hosted local HTML5 video files (MP4/WebM).
- Custom lightbox customization (colors, overlay opacity, transition animations).
- Hover animations (zoom, float shadow, and border-glow effects).
- Translation ready and compatible with multi-language sites.
- Lifetime updates and priority developer support.
Must See Our Demo
- YouTube API Gallery
- Vimeo API Gallery
- YouTube Playlist ID
- Wistia API Gallery
- DailyMotion API Gallery
- Mix Gallery
- Sports Videos
- Dance Videos
- Funny Videos
Our Recommended Plugins
- Portfolio Filter Gallery
- Media Slider
- Weather Effect Plugin
- Grid Gallery Plugin
- Image Gallery Plugin
- Responsive Slider Gallery
External Services
This plugin utilizes external third-party services to load video players and fetch details:
- YouTube Data API (Google LLC)
* Description: Fetches video titles, descriptions, and durations to generate galleries.
* Data Shared: No personal user details or IP logs are shared.
* Terms of Service: https://www.youtube.com/t/terms
* Privacy Policy: https://policies.google.com/privacy
- YouTube Image Services (Google LLC)
* Description: Retrieves default video thumbnail cover images for display on the grid.
* Data Shared: No personal visitor details are shared.
* Terms of Service: https://www.youtube.com/t/terms
* Privacy Policy: https://policies.google.com/privacy
- Vimeo (Vimeo.com, Inc.)
* Description: Loads the Vimeo iframe video player and retrieves Vimeo video player assets.
* Data Shared: Standard referrer headers and player analytics are shared during video playback.
* Terms of Service: https://vimeo.com/terms
* Privacy Policy: https://vimeo.com/privacy
YouTube and Vimeo Installation
- Upload the plugin folder directly to your
/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Navigate to the ‘Video Gallery’ tab in your WordPress dashboard.
- Click ‘Add Video Gallery’ and insert your YouTube or Vimeo URLs.
- Save the gallery and copy the generated shortcode.
- Paste the shortcode on any page or post to display the video grid.
Written by Joobi from the project's own listing. See the source page
2.0.4
- Date: 30-nov-2026
- Security: Enforced
unfiltered_htmlcapability check (wp_kses_post()fallback) ongallery_ad_scriptto prevent Stored XSS and Multisite Editor-to-Super-Admin privilege escalation. - Security: Added nonce verification (
nvgall_fetch_youtube_nonce) tonvgall_fetch_youtube_content, verifiedvideo_gallerypost type invg_clone_gallery(), aligned_ajax_video_gallerytoedit_pages, and addedmanage_optionscheck to analytics clearing. - Security: Hardened
vg_track_video_playto verify publishedvideo_galleryposts, allowlist sources, cap stored analytics entries, and disable option autoloading. - Security: Fixed CSV formula injection in analytics exports (
sanitize_csv_cell()), escapedwp_json_encode()withJSON_HEX_TAG, sanitized admin JS error output, and addedrel="noopener noreferrer"to all external links. - Fix: Added
DOING_AUTOSAVE, revision, and post-type guards to_vg_save_settings(), initialized 18 undefined settings keys, preserved manual slides when saving API mode, and addedwp_slash()when cloning JSON settings. - Fix: Eliminated PHP 8+ warnings/fatals on
is_vg_serialized(),base64_decode(), missing cover attachments, and removed database writes (update_post_meta/wp_update_post) during read-only rendering and saves. - Fix: Fixed
DESC/RANDOMslide ordering collisions when multiple slides share the same cover attachment. - Fix: Added YouTube
/shorts/,/live/,youtube-nocookie.com,@handle/videos, and rawUC...Channel ID support, API error reporting, Vimeo negative caching, and Fetch Poster failure handling. - Fix: Fixed
[VDGAL id=0]fallback queries, YouTube API gallery asset enqueues, equal-height grid layout,0pxthumbnail corner radius, grayscale filter, LightGallery autoplay/MutationObserver/ResizeObserver handling, and Elementor duplicate initialization. - Fix: Moved analytics CSV export to
admin_initto fix “headers already sent”, updated live gallery titles in exports, fixed metabox IDs, scoped.nav-itemadmin CSS, prevented “Preview Changes” from disabling slide inputs, and fixed loader hangs on Our Plugins/Themes. - Feature: Added Global Settings page (
vg-global-settings) with Loading Spinner Icon (Yes/No) and Uninstall Data Cleanup (Yes/No) toggles. - Fix: Wired frontend gallery loading spinner rendering, CSS, and hidden-until-loaded reveal transition for manual and YouTube API galleries.
- Fix: Updated
uninstall.phpto respect the Uninstall Data Cleanup setting (preserving data by default; deleting all galleries, post meta, options, cron events, and transients only when set to Yes). - Improvement: Hid the link field on Image Only slides in the admin editor and disabled external links on Image Only cards so they always open in the lightbox.
- Performance & Compliance: Replaced
time()asset cache-busting withVG_PLUGIN_VER, removed global frontend jQuery enqueue, restricted block/widget gallery lists to published galleries, addeduninstall.phpcleanup, and fixedreadme.txtlinks and compatibility metadata.
2.0.3
- Date: 01-sep-2026
- Fix: Added disconnect handler for YouTube API settings to allow clearing credentials and resetting connection status.
- Improvement: Set YouTube API integration to default to disconnected state on new galleries instead of prefilling sample credentials.
- UI/UX: Shifted Ads & Monetization configuration card into the Grid Layout tab for a cleaner and more intuitive settings workflow.
- Fix: Set In-Grid Ads to disabled by default while retaining the default banner HTML template for user convenience.
2.0.2
- Date: 17-jul-2026
- Fix: Implemented single JSON payload saving (
vg_slides_json) and disabled standard slide fields on submit to preventmax_input_varsdata loss. - Fix: Updated jQuery selectors to use starts-with name matching to fix bracket selector parsing issues.
- Fix: Implemented dual-layer metadata fallback loading for slide titles and descriptions on settings panels and front-end layouts.
2.0.1
- Date: 17-jul-2026
- Fix: Standardized Gutenberg block and Elementor widget names to “Video Gallery”.
- Fix: Resolved WP.org readme.txt formatting regarding duplicate headers, FAQ tab parsing, and blockquote list prefix indentation.
- Fix: Implemented missing Enable Ads toggles and bypassed HTML/script sanitization constraints for administrator users.
- Fix: Fixed ad display grid positioning by removing premium frequency settings and resolving PHP type comparison mismatch (casted floor outputs to int).
- Fix: Fixed play icon behavior settings saving and visibility conditional logic.
2.0.0
- Date: 16-jul-2026
- Feature: Added dedicated Gutenberg block (Video Gallery Block) and Elementor widget (Video Gallery Premium) for page builders integration.
- Feature: Built-in Video Playback Insights & Analytics tracker (Total plays, tracked videos, top videos/galleries, platform and device shares with visual graphs and CSV export).
- Optimization: Shifted legacy VideoLightning lightbox to a unified Lightgallery engine for smooth transitions and responsive mobile display.
- Cleanup: Cleaned up unused files and updated the Master Guide encyclopedia documentation sidebar menu with direct action links.
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 lightbox stacking context handling for better theme compatibility
- Security: Fixed custom CSS output being unescaped (XSS protection)
- Security: Secured
unserializeusage 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
altattributes and non-unique IDs for valid HTML - Code cleanup: Replaced deprecated
wp_reset_querywithwp_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
Follow this listing's changes (Atom feed)