NEWMeet the new Video Gallery — YouTube, TikTok, Instagram Reels, Vimeo and Twitch in one widget.
Template

YouTube Masonry Gallery for Videos and Shorts

Show regular YouTube videos and Shorts together in a masonry wall — wide and vertical videos fit side by side without gaps.
See all templates
No credit card needed

Watch Now

0:06
Drip coffee, but like the freshest version of itMorning Pour552K views 2 days ago
10:15
One Wave, Start to FinishSalt & Swell488K views 1 month ago
11:03
The Only Bread Recipe You NeedSalt & Swell740K views 5 days ago
0:21
A storybook stay in the hillsMorning Pour88K views 4 days ago
0:28
The 10-second sauce fixMorning Pour1.1M views 4 days ago
6:48
Night Walk Through the PinesSalt & Swell41K views 1 month ago
Template page — the video masonry preset, the settings panel on its key setting, straight on

Trusted by over 3,000,000 small businesses, agencies and top global brands worldwide

Try the YouTube Masonry template

  1. 1. Choose a template
  2. 2. Connect your videos
  3. 3. Add to website
Why Video Gallery

The best way to mix YouTube videos and Shorts

A wall that fits every format your channel publishes.

Every format fits

16:9 videos and 9:16 Shorts sit together with no empty space.

New video

Updates itself

New uploads from your channel appear automatically.

Looks designed

A magazine-style wall in your colors.

Features

What your visitors will see

A gap-free wall of your YouTube videos and Shorts.

123
  1. 1
    Wide videos

    Regular uploads in 16:9.

  2. 2
    Shorts

    Vertical videos in 9:16.

  3. 3
    Popup player

    Each video plays without leaving the wall.

Compare

YouTube masonry vs. other options

How the usual options stack up for this job.

Video GalleryYouTube embeds one by oneFixed grid galleryLink to your channel
Videos and Shorts together✓ManualCropped or gaps—
No empty space✓———
Updates automatically✓—Varies✓
Plays on your page✓✓Varies—
No coding✓ManualVaries✓
Variations

Make it your own

Different layouts and sources — switch any time without changing the code on your site.

Placement

Where it works best on your site

Homepage

A lively wall of your latest content.

Portfolio

Long and short work together.

Video page

Your channel at a glance.

Event page

Highlights and full talks.

Blog

Videos and Shorts next to posts.

Campaign page

Every format of the campaign.

Installation

Add a YouTube masonry wall to your website in 1 minute

  1. Open the template

    Connect your videos — a channel, playlist, account or links.

  2. Adjust the look

    Layout, theme, counters and buttons — all visual.

  3. Paste one code

    Add it to any page of your website. Done.

Ready to go out of the box
  • A gap-free masonry wall
  • Videos and Shorts together
  • Videos open in a popup
  • Newest videos first

Change anything later in the editor — the code on your site stays the same.

Start your YouTube masonry wall for free

Free to start — no trial and no credit card.

Use this template

See everything Video Gallery can do →

#1Top service in the world for website widgets
3M+Users trust Elfsight to upgrade their websites
4.8Rating from thousands of reviews on G2
99.99%Uptime keeping your widgets live
FAQ

Frequently asked questions

Can I show YouTube Shorts and regular videos together?

Yes. The masonry layout fits 9:16 Shorts and 16:9 videos without gaps.

Will new YouTube videos appear automatically?

Yes. New uploads from a connected YouTube channel appear on their own.

Can I show only some videos from my channel?

Yes. Filters include or exclude videos by keywords in the title or description, or by publish date.

Can visitors subscribe from my site?

Yes. The profile header can show a Subscribe on YouTube button.

Does it work on my website builder?

It works on any website that accepts one installation code — WordPress, Shopify, Wix, Squarespace, Webflow, plain HTML and more.

Is it free?

Yes. There’s a free plan, no credit card needed.