Description
CarvFlow Video Library turns a list of YouTube and Vimeo links into a clean, searchable video library on any page.
Paste a link, and the title and thumbnail are filled in for you. Organise videos in categories, then add the Video Library block (or the [carvflow_video_library] shortcode) to a page. Visitors can search, filter, sort and page through the videos, and watch them in an accessible player window.
No video player is loaded until a visitor clicks a video, so pages stay light. By default the thumbnails are loaded from YouTube or Vimeo, which means visitors’ browsers contact those image servers when the library is shown; turn off remote thumbnails under Videos > Settings to use images from your Media Library instead, so nothing is loaded from YouTube or Vimeo until a video is clicked.
Features
- YouTube (including Shorts and live links) and Vimeo (including private links with a hash).
- Automatic title and thumbnail, and the duration for Vimeo.
- Setup wizard: choose the layout, colour, cards and quick filters, and create the library page in a couple of minutes.
- A familiar video-platform look in your own colour: rounded thumbnails with badge and duration, publish date under each title, pill search and quick filters, all tinted with the accent colour you choose.
- A “New” label on recent videos (choose for how many days).
- Video Library block with live preview and all options in the sidebar.
- Instant search across titles, descriptions and categories; press
/to jump to the search box. - Filters above the videos or in a sticky sidebar.
- Category filter with sub-categories, plus quick filter buttons: choose which ones appear and in which order.
- Choose what the thumbnail badge shows, or hide it.
- Sorting by newest, oldest or title.
- Numbered pages or a “Show more” button, always loaded from the server: the browser never loads the whole library at once.
- Shareable links: “Copy link” in the player opens that exact video for whoever receives it.
- Choose the number of columns, or let the grid adapt automatically.
- Accessible player window with keyboard support, focus management and an optional description under the video.
- Mobile filter window and sticky search bar.
- YouTube privacy-enhanced mode (youtube-nocookie.com).
- Optional remote thumbnails, or use images from your Media Library.
- A video list built for large libraries: big thumbnails, filters by category and platform, and shortcuts to videos without a category, without a duration or with a broken link, and a bulk action to refresh thumbnails and durations from YouTube/Vimeo.
- Let editors manage videos with one setting.
- Works with page caching, including pages cached for a long time.
- Developer friendly: templates can be overridden in the theme and an extension API is documented.
Usage
- Go to Videos > Add New, paste a YouTube or Vimeo link and publish.
- Optionally create Video Categories and assign them.
- Edit a page and add the Video Library block.
Shortcode examples for classic content:
[carvflow_video_library]
[carvflow_video_library category="training" columns="3"]
[carvflow_video_library show_filters="false" columns="4"]
All options are listed under Videos > How to use.
Pro add-on
An optional, separate add-on adds members-only videos, your own filters (for example Speaker, Topic or Series), “Up next” videos under the player, view counts on the cards with a “Most viewed” order, spreadsheet import and export, video structured data for search engines and advanced colours. The free plugin is complete on its own and does not limit the number of videos.
External services
This plugin connects to YouTube and Vimeo, because those services host and stream the videos chosen by the site administrator.
- When an administrator adds or checks a video, the website requests public information about that video (title, thumbnail and, for Vimeo, duration) from the provider’s oEmbed service:
https://www.youtube.com/oembedorhttps://vimeo.com/api/oembed.json. The video link and standard HTTP request information are sent. - When remote thumbnails are enabled (default), visitors’ browsers load thumbnail images from YouTube (
i.ytimg.com) or Vimeo (i.vimeocdn.com). This can be turned off under Videos > Settings. - When a visitor clicks a video, the provider’s player is loaded from
www.youtube-nocookie.com(orwww.youtube.comif privacy mode is turned off) orplayer.vimeo.com.
YouTube terms of service: https://www.youtube.com/t/terms
Google privacy policy: https://policies.google.com/privacy
Vimeo terms of service: https://vimeo.com/terms
Vimeo privacy policy: https://vimeo.com/privacy
Development source
All JavaScript and CSS files are shipped as human-readable source in assets/js/ and assets/css/. Each .min.js / .min.css file is an identical copy of its readable source file; no npm, bundler, transpiler or minifier is used. The block editor script (assets/js/block.js) uses the global wp packages and needs no build step.
Installation
- Install the plugin from Plugins > Add New, or upload the zip under Plugins > Add New > Upload Plugin.
- Activate CarvFlow Video Library.
- Go to Videos > Add New and paste a YouTube or Vimeo link.
- Add the Video Library block to a page.
FAQ
Does the plugin host video files?
No. YouTube and Vimeo keep hosting and streaming the videos.
Are video players loaded when the page opens?
No. The library shows thumbnails and titles. The player is created only after a visitor clicks a video and is removed when the window closes.
Why is there no duration for my YouTube videos?
YouTube does not share durations through its public oEmbed service. Type the duration in the video’s Duration field (for example 12:34).
Can I disable external thumbnails?
Yes. Turn off remote thumbnails under Videos > Settings to use featured images from your Media Library or a local placeholder.
Can I show only one category on a page?
Yes. Choose the category in the block settings, or use [carvflow_video_library category="your-category-slug"].
Can I change the look to match my theme?
Choose the accent colour and the number of columns in the settings. Developers can override the templates by copying them from the plugin’s templates folder to your-theme/carvflow-video-library/.
Can editors manage videos?
Yes. Enable “Allow editors to add, edit and categorise videos” under Videos > Settings > Access.
Does the plugin create a public page for each video?
No. Videos are shown through the library block or shortcode.
Does deleting the plugin remove my videos?
Only when “Remove all videos, categories and settings” is enabled before deletion. Deactivating never removes data, and images in the Media Library are always kept.
Changelog
2.1.4
- Password-protected videos are only listed for users who can edit them.
- The setup wizard no longer opens automatically after activation; use Videos > Start here.
- Clearer readme about remote thumbnails.
2.1.3
- Admin screens now use the full width of the screen.
- Primary buttons such as “Add a video” keep white text when the admin theme recolours links.
2.1.2
- Code review: the last flagged query is documented inline. No visible changes.
2.1.1
- Code review fixes for WordPress.org: translator comments, sanitised input, documented database queries and support files moved to docs/. No visible changes.
2.1.0
- Much more colour: the library now takes your accent colour everywhere (search button, tinted quick filters and menus, badges, hover outline and progress bar, sidebar panel, share button). New “New” label for recent videos, “/” shortcut to the search, “Show all videos” button when nothing matches, bulk “Refresh video details” in the video list, and support for members-only videos from the Pro add-on (Extension API 2.1).
2.0.2
- Improved: the search bar spans the video column, sidebar filters sit in a panel, and quick filters share a row with the sort menus. Themes that pad headings no longer cut titles. Better video list layout; the setup wizard is listed first until finished.
2.0.1
- Maintenance release with the complete 2.0 redesign, setup wizard and new admin screens.
2.0.0
- Renamed to CarvFlow Video Library. Shortcode
[carvflow_video_library], prefixcfvl_, Extension API 2.0. - New: setup wizard that prepares the library and creates its page.
- New: video-platform look with badge, duration and publish date on every card.
- New: filters in a sidebar, “Show more” button and shareable video links.
- New: choose the quick filter buttons, their order and the thumbnail badge.
- New: redesigned settings and a video list built for large libraries.
- New: Video Library block for the block editor.
- New: quick filter buttons above the results.
- New: choose the number of columns.
- New: the video description can appear under the player.
- New: option to let editors manage videos.
- New: show or hide the search bar and the filters per library.
- New: sub-categories are shown as a tree in the filter.
- Improved: refreshed design for the library, the player and the settings screen.
- Improved: adding a video shows a live preview of the card.
- Improved: Duration column in the video list.
- Fix: libraries on pages served from a long-lived cache keep working instead of showing an error.
- Fix: deleting the plugin without data removal no longer removes the permissions given to editors.
- Fix: search, filters and pagination on archive pages and sites without pretty permalinks.
- Fix: “1 video found” now uses the singular.
- Developer: Extension API 2.0 with
cfvl_orderby_optionsandcfvl_orderby_query_argsfor custom sort orders,cfvl_editor_capabilities,cfvl_library_base_urland thecfvl:playfrontend event.
1.5.2
- Replaces the mobile off-canvas filter drawer with a centred popup.
- Keeps the search bar sticky on desktop and mobile with the configurable top offset.
- Adds a unified settings page with tabs.
- Adds the shared
cfvl_settings_tabsextension point and Extension API 1.2.
1.5.1
- Fixes cache invalidation when video taxonomies change.
- Expands the add-on API with shared core services, filterable templates, layouts, card metadata slots and frontend events.
- Protects add-on-owned settings, metadata and terms during core cleanup.
1.5.0
- First free release prepared for WordPress.org.