Media · Gutenberg

Video Playlist block for WordPress

A video player paired with a clickable episode/chapter list — perfect for course previews, tutorial series and video podcasts.

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

A video player paired with a clickable episode/chapter list — perfect for course previews, tutorial series and video podcasts.

Inspector panels on this block: Layout, Visibility, Episodes. Those titles come from index.js, not from a shared template.

Behavior controls: “Orientation” options: Side by Side, Stacked (episodes below); “Episode List Position” options: Right, Left; “Type” options: YouTube, Vimeo, Direct URL (mp4).

Where to find it

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

How to use Video Playlist 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 Playlist”, insert it. Category: Media.
  3. Configure inspector controls that exist on this block. Open Layout. Set “Orientation”, “Episode List Position”, “Episode List Width (px)”, “Border Radius (px)”.
  4. Check the published page. The view script reads HTML data attributes: data-opts, data-rendered. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
OrientationSelect control; the chosen value is saved on the block. Options: Side by Side; Stacked (episodes below). block.json default: side. Saved as `layout`.
Episode List PositionSelect control; the chosen value is saved on the block. Options: Right; Left. block.json default: right. Saved as `listPosition`.
Episode List Width (px)Numeric range control in the inspector. Range 240–500. block.json default: 340. Saved as `listWidth`.
Border Radius (px)Numeric range control in the inspector. Range 0–24. block.json default: 12. Saved as `borderRadius`.
Padding Top (px)Numeric range control in the inspector. Range 0–200. block.json default: 0. Saved as `paddingTop`.
Padding Bottom (px)Numeric range control in the inspector. Range 0–200. block.json default: 0. Saved as `paddingBottom`.
Show Playlist TitleOn/off toggle in the inspector. On by default. Saved as `showPlaylistTitle`.
Show Episode NumbersOn/off toggle in the inspector. On by default. Saved as `showNumbers`.
Show DurationOn/off toggle in the inspector. On by default. Saved as `showDuration`.
Show Description under playerOn/off toggle in the inspector. On by default. Saved as `showDescription`.
Show ThumbnailsOn/off toggle in the inspector. On by default. Saved as `showThumbnails`.
Block BackgroundColor control in the inspector. block.json default: #0f0f1a. Saved as `bgColor`.
Player BackgroundColor control in the inspector. block.json default: #000000. Saved as `playerBg`.
List BackgroundColor control in the inspector. block.json default: #1a1a2e. Saved as `listBg`.
Active Episode BGColor control in the inspector. block.json default: #2d2b55. Saved as `activeBg`.
Playlist TitleColor control in the inspector. block.json default: #ffffff. Saved as `titleColor`.
Episode TitleColor control in the inspector. block.json default: #f0f0f0. Saved as `epTitleColor`.
Episode MetaColor control in the inspector. block.json default: #718096. Saved as `epMetaColor`.
Active AccentColor control in the inspector. block.json default: #6366f1. Saved as `activeColor`.
AccentColor control in the inspector. block.json default: #6366f1. Saved as `accentColor`.
TypeSelect control; the chosen value is saved on the block. Options: YouTube; Vimeo; Direct URL (mp4).
Video IDText field in the inspector.
Video URLText field in the inspector.
DurationText field in the inspector.

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 Playlist block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Video Playlist”. It sits under Media. After insert, open Layout and set “Orientation”, “Episode List Position”, “Episode List Width (px)”, “Border Radius (px)”.

What makes Video Playlist different from other Blockenberg blocks?

A video player paired with a clickable episode/chapter list — perfect for course previews, tutorial series and video podcasts. Inspector labels on this block include “Orientation”, “Episode List Position”, “Episode List Width (px)”, “Border Radius (px)”.

Is the Video Playlist Gutenberg block free?

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

Can I style Video Playlist 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: Layout, Visibility, Episodes).

Related media blocks

Get Blockenberg

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

Get Blockenberg