NEW

Meet 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
Template page — the youtube masonry template, its gallery and the youtube tile

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.
A video opened in the classic viewer, standing over the gallery it opened from

Every format fits

16:9 videos and 9:16 Shorts sit together with no empty space.
New videos from the connected channel appear in the gallery on their own

Updates itself

New uploads from your channel appear automatically.
Theme — the configurator's Theme page set to Dark and an accent, over the gallery it themes

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.
Template page t-yt-masonry — what visitors see, with its numbered pins
  1. Wide videos

    Regular uploads in 16:9.

  2. Shorts

    Vertical videos in 9:16.

  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.
Feature
Elfsight Video Gallery
YouTube embeds one by one
Fixed grid gallery
Link to your channel
Videos and Shorts together
Yes
Manual
Cropped or gaps
No
No empty space
Yes
No
No
No
Updates automatically
Yes
No
Varies
Yes
Plays on your page
Yes
Yes
Varies
No
No coding
Yes
Manual
Varies
Yes

Videos and Shorts together

Elfsight Video Gallery

Yes

YouTube embeds one by one

Manual

Fixed grid gallery

Cropped or gaps

Link to your channel

No

No empty space

Elfsight Video Gallery

Yes

YouTube embeds one by one

No

Fixed grid gallery

No

Link to your channel

No

Updates automatically

Elfsight Video Gallery

Yes

YouTube embeds one by one

No

Fixed grid gallery

Varies

Link to your channel

Yes

Plays on your page

Elfsight Video Gallery

Yes

YouTube embeds one by one

Yes

Fixed grid gallery

Varies

Link to your channel

No

No coding

Elfsight Video Gallery

Yes

YouTube embeds one by one

Manual

Fixed grid gallery

Varies

Link to your channel

Yes
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.

FAQ

Frequently asked questions

More templates

Related templates

Same source

Same format

Similar use cases