Media · Gutenberg

Video Grid block for WordPress

Responsive grid of video cards with play-in-lightbox functionality. Supports YouTube, Vimeo, and self-hosted videos. Custom thumbnails, titles, and duration badges.

Get Blockenberg

Free Gutenberg block in Blockenberg. The inspector controls and front-end behavior on this page come from this block’s source, not a shared stub.

Get Blockenberg

What it actually does

Responsive grid of video cards with play-in-lightbox functionality. Supports YouTube, Vimeo, and self-hosted videos. Custom thumbnails, titles, and duration badges.

Inspector panels on this block: Videos, Layout, Display, Appearance. Those titles come from index.js, not from a shared template.

Where to find it

Gutenberg inserter → Media → search “Video Grid” (block name `blockenberg/video-grid` in block.json). Style it in the sidebar after insert.

How to use Video Grid block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Video Grid”, insert it. Category: Media.
  3. Configure inspector controls that exist on this block. Open Videos. Set “Videos — Title”, “Video URL (YouTube/Vimeo)”, “Duration”, “Category”.
  4. Check the published page. The view script reads HTML data attributes: data-anim-delay, data-category, data-embed-url. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
Videos — TitleText field in the inspector.
Video URL (YouTube/Vimeo)Text field in the inspector.
DurationText field in the inspector.
CategoryText field in the inspector.
Short descriptionText field in the inspector.
Gap (px)Numeric range control in the inspector. Range 8–48. block.json default: 24. Saved as `gap`.
Show category filter barOn/off toggle in the inspector. On by default. Saved as `showFilter`.
Show category pill on cardOn/off toggle in the inspector. On by default. Saved as `showCategory`.
Show duration badgeOn/off toggle in the inspector. On by default. Saved as `showDuration`.
Show descriptionOn/off toggle in the inspector. On by default. Saved as `showDescription`.
Card radius (px)Numeric range control in the inspector. Range 0–24. block.json default: 14. Saved as `cardRadius`.
Thumb radius (px)Numeric range control in the inspector. Range 0–24. block.json default: 10. Saved as `thumbRadius`.
Play button size (px)Numeric range control in the inspector. Range 32–96. block.json default: 56. Saved as `playBtnSize`.
Padding topNumeric range control in the inspector. Range 0–200. block.json default: 0. Saved as `paddingTop`.
Padding bottomNumeric range control in the inspector. Range 0–200. block.json default: 0. Saved as `paddingBottom`.

What the front-end script actually does

When this is the right block

Notes from the implementation

viewScript: this folder’s frontend.js is enqueued on the front end for this block.

FAQ

How do I add the Video Grid block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Video Grid”. It sits under Media. After insert, open Videos and set “Videos — Title”, “Video URL (YouTube/Vimeo)”, “Duration”, “Category”.

What makes Video Grid different from other Blockenberg blocks?

Responsive grid of video cards with play-in-lightbox functionality. Supports YouTube, Vimeo, and self-hosted videos. Custom thumbnails, titles, and duration badges. Inspector labels on this block include “Videos — Title”, “Video URL (YouTube/Vimeo)”, “Duration”, “Category”.

Is the Video Grid Gutenberg block free?

Yes. Video Grid ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.

Can I style Video Grid to match my theme?

Yes. Blockenberg’s shared typography and color panels apply here, plus any block-specific style controls listed on this page (panels: Videos, Layout, Display, Appearance).

Related media blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Video Grid from the Gutenberg inserter.

Get Blockenberg