跳到内容

WP Video Popup – WordPress Video Lightbox for YouTube, Rumble & Vimeo

v2.11.1

David Vongries · 2016年10月14日 上架

Add a YouTube, Vimeo or Rumble video popup to WordPress. Lightweight, privacy-friendly lightbox that works with any page builder.

正在使用
9,000+
评分
4.1 / 5
累计下载
35 万
最近更新
2026年11月6日
43 条评价需要 WordPress 4.7+已测试到 7.1.5PHP 5.6+

贡献者

截图

A YouTube video popup lightbox on desktop
A YouTube video popup lightbox on desktop
The responsive video popup on mobile
The responsive video popup on mobile
Build your video popup shortcode under Settings → WP Video Popup
Build your video popup shortcode under Settings → WP Video Popup

WP Video Popup is the simple way to add a YouTube, Vimeo or Rumble video popup to WordPress. Show your video in a responsive, minimalist lightbox when visitors click a button, link or image – on any page, post or custom post type, without slowing down your site.

Build your shortcode in seconds with the shortcode builder under Settings WP Video Popup, paste it anywhere and you’re done.

Why choose WP Video Popup?

✨ Effortless integration

Add a sleek video lightbox with a single shortcode. Let the shortcode create a “Watch video” button for you, turn any image into a video popup, or open the lightbox from any element with a CSS class.

⚡ Performance optimized

Embedding YouTube or Vimeo videos can slow down your site. WP Video Popup only loads the video once a visitor opens the popup, keeping your pages fast and your Core Web Vitals happy.

📱 Fully responsive

The video lightbox adapts to every screen size and supports both landscape and portrait (vertical) videos.

✅ Privacy-friendly

No connection to YouTube, Vimeo or Rumble is made until the lightbox is opened. Use a youtube-nocookie.com link for YouTube’s privacy-enhanced mode.

♿ Accessible

The popup can be opened and closed with the keyboard, handles focus properly and is labeled for screen readers.

🧱 Works with your page builder

Use it with the block editor (Gutenberg), Elementor, Divi, Bricks, Beaver Builder or any other page builder and theme.

How to add a video popup

1. Add the shortcode

Paste the shortcode into any post, page, custom post type or template file:

[wp-video-popup video="https://www.youtube.com/watch?v=YlUKcNNmywk"]

Tip: build it with the shortcode builder under Settings WP Video Popup and copy it with one click.

2. Add the trigger

Choose how visitors open the lightbox:

  • Button: add a text attribute and the shortcode outputs a button (styled by your theme) that opens the popup:
    [wp-video-popup video=”https://www.youtube.com/watch?v=YlUKcNNmywk” text=”Watch video”]
  • Image: wrap an image (or any other content) in the shortcode to turn it into a clickable video thumbnail:
    [wp-video-popup video=”https://www.youtube.com/watch?v=YlUKcNNmywk”][/wp-video-popup]
  • Any element: add the CSS class wp-video-popup to any button, link or image:
    Watch video

Where to find the CSS class field in your page builder:

  • Block editor: Advanced Additional CSS class(es)
  • Elementor: Advanced CSS Classes
  • Divi: Advanced CSS ID & Classes
  • Bricks: Style CSS CSS classes

The free version supports one video popup per page. Need more? Check out WP Video Popup PRO.

Example shortcodes

YouTube popup:

[wp-video-popup video="https://www.youtube.com/watch?v=YlUKcNNmywk"]

Vimeo popup:

[wp-video-popup video="https://vimeo.com/136696258"]

Rumble popup (video page or embed link):

[wp-video-popup video="https://rumble.com/embed/v4j2rri/?pub=4"]

Shortcode attributes

Customize the viewing experience with these shortcode attributes:

Button text (outputs a button that opens the lightbox):

text="Watch video"

Mute video:

mute="1"

Start video at a specific time (in seconds):

start="24"

Portrait mode (for vertical videos):

portrait="1"

Hide related videos (YouTube):
Since September 2018, YouTube no longer allows hiding related videos completely. Instead, videos from your own channel are shown.

hide-related="1"

Example shortcode with attributes applied:

[wp-video-popup video="https://www.youtube.com/watch?v=YlUKcNNmywk" mute="1" start="24" text="Watch video"]

Advanced

To add additional parameters to the embed URL, use the filter below. For example, to show YouTube captions by default:

function prefix_your_custom_embed_url_attributes( $video_url ) {
    $video_url .= '&cc_load_policy=1';
    return $video_url;
}
add_filter( 'wp_video_popup', 'prefix_your_custom_embed_url_attributes' );

🚀 WP Video Popup PRO

Unlock advanced features like video galleries, self-hosted videos, multiple videos per page & more with WP Video Popup PRO!

PRO Features:

  • Multiple video popups per page
  • Self-hosted videos
  • Video galleries
  • Autoplay on page load
  • Adjustable popup size
  • Customizable overlay background color

Get WP Video Popup PRO today!

What’s next?

If you like WP Video Popup make sure to check out our other products:

  • Page Builder Framework – A fast & minimalistic WordPress theme designed for the new WordPress era.
  • Ultimate Dashboard – The #1 WordPress plugin to customize your WordPress dashboard and admin area.
  • Better Admin Bar – The plugin to make your clients enjoy WordPress. It replaces the default admin bar to provide the best possible user experience when editing & navigating a website.

External services

This plugin embeds videos from YouTube, Vimeo and Rumble. The video is only loaded from the provider once a visitor opens the popup. YouTube: Terms, Privacy. Vimeo: Terms, Privacy. Rumble: Terms, Privacy.

For Rumble video page links (e.g. rumble.com/v…-title.html), the plugin asks Rumble’s oEmbed API (https://rumble.com/api/Media/oembed.json) once for the embed ID, sending only the video URL from your site’s server. The result is cached for a month. Rumble embed links (rumble.com/embed/…) need no lookup.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums