12:07HTML Video Gallery for Any Website
Watch Now

12:07
10:15
8:42
Trusted by over 3,000,000 small businesses, agencies and top global brands worldwide
Create your HTML video gallery for free
- 1. Choose a template
- 2. Connect your videos
- 3. Add to website
The HTML video gallery that works for your business
Show videos from all your channels on your HTML site, keep readers on the page, grow your subscribers and turn views into sales.
Built for HTML
Works with the editor, theme and page builder you already use.
Works with your editor and page builder
Paste the snippet inside <body> where the gallery should appear.
Add it to a partial or layout (PHP, Django, Rails, Liquid…).
Use the builder’s custom HTML element.
Link to a page with the gallery — scripts don’t run in email.
Where to use it on HTML See real examples →
One code, a full video section.
Tutorial videos next to the docs.
Your reel on a static site.
Campaign videos.
How-to videos.
Culture and team videos.
Fast and safe for your site
One async script — nothing added to your build.
Loads when visitors reach it.
Change videos in the editor, not in your HTML.
Every video source on your HTML site
YouTube, TikTok, Instagram Reels, Vimeo, Twitch and videos hosted anywhere — alone or together.
YouTube YouTube Video Gallery →
Social video TikTok →Instagram Reels →
Video platforms and your own hosting Vimeo →Twitch →Any video →
Mix and curate
Put several sources into one gallery with tabs, then decide exactly what shows: include or exclude videos by keywords, show only videos published after a date and choose the sort order.
- Group sources by platform with tabs
- Include and exclude filters by keywords
- “Published after” date filter
- Sorting by publication date
Designed to match your HTML site
Make the gallery look like part of your HTML theme — no generic embed boxes, no code.
Looks like part of your site
Switch between light and dark themes, set your accent color and fine-tune the background, title, channel header, cards, popup and font.
- Light and dark themes
- Accent color palette or any custom color
- Your font and widget title
- Channel header with banner, subscribers and a follow button
Seven layouts for every page
Card and popup styles
Choose Classic, Plain or Minimal cards, and open videos in a classic YouTube-style popup or a vertical TikTok-style viewer. Thumbnails keep each video’s shape — vertical for Shorts and Reels, 16:9 for everything else.
- Classic, Plain and Minimal cards
- Classic or vertical popup
- Adjustable thumbnail aspect ratio
Built to turn HTML visitors into results
Views are just the start — keep readers on the page and move them to act.
Keep visitors on your page
Videos open in a popup — visitors stay on your page.
Turn views into clicks and sales
A card after the video leads to your sign-up, product or booking.
Get found in search
Schema.org video markup for every video, without writing JSON-LD.
Grow your views and subscribers
A subscribe button grows your channel from your site.
Measure what works
Track plays and clicks in Google Analytics.
Add a video gallery to HTML in 1 minute
Four steps, then everything else happens in the visual editor.
- Create your gallery
Pick a template and connect sources.
- Copy the code
Copy the installation code.
- Paste into your HTML
Put it inside <body> where the gallery should appear.
- Publish
Upload the page — edits in the editor appear automatically.
Step-by-step: HTML Video Tag: Complete Guide.
Start with a template See all templates →
Elfsight vs. other ways to add video to HTML
How Video Gallery compares with the usual ways to add video to HTML.
| ElfsightVideo Gallery | HTML video tag | YouTube iframes | HTML/JS gallery templates | |
|---|---|---|---|---|
| Gallery of many videos | ✓ | One per tag | One per iframe | ✓ |
| YouTube, Vimeo, TikTok, Instagram, Twitch | ✓ | Files only | YouTube only | Varies |
| Updates automatically | ✓ | — | — | — |
| Popup player and CTA card | ✓ | Build it | — | Varies |
| No code to maintain | ✓ | — | — | — |
Why HTML site owners choose Elfsight
A trusted platform with proven support behind every widget.
What HTML users say
Review from a HTML site owner goes here.
Name, website · SourceReview from a HTML site owner goes here.
Name, website · SourceReview from a HTML site owner goes here.
Name, website · SourceReview from a HTML site owner goes here.
Name, website · SourceReview from a HTML site owner goes here.
Name, website · SourceReview from a HTML site owner goes here.
Name, website · SourceAdd a free video gallery to HTML
Create your gallery, connect your videos and paste one code — nothing to install, no trial and no credit card.
Create Video Gallery widget- Every source and layout
- Call-to-action, Schema.org and Google Analytics
- Works with every HTML theme and builder
- Free forever — limited by monthly widget views
Questions and resources
Frequently asked questions
How do I make a YouTube video gallery in HTML?
For a YouTube video gallery in HTML, connect your channel or playlist in Video Gallery and paste one code into your page — no HTML template or JavaScript to write.
How do I add a video gallery to an HTML page?
Paste the installation code inside the page’s <body> where the gallery should appear.
Do I need an HTML video gallery template?
No. The widget replaces a template: connect your videos, pick a layout and paste one snippet.
Can I use the HTML video tag instead?
Yes for single files — see our HTML video tag guide. The widget adds galleries, playlists and feeds.
Is it free?
There’s a free plan; it’s limited by monthly widget views.