Linux 软件免费装

Poppable - The Easy Way to Add a Video Modal

开发者 engramium
更新时间 2026年1月19日 20:08
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

lightbox popup video block video modal play button

下载

0.2 1.0.0

详情介绍:

Poppable is a lightweight Gutenberg block that lets you display YouTube videos in a sleek modal popup. Simply add the block, paste your YouTube URL, and connect it to any trigger element on your page. Key Features: Development & Source Code: Poppable is open-source and developed publicly on GitHub. GitHub repository: https://github.com/Engramium/poppable

安装:

  1. Upload the plugin files to the /wp-content/plugins/poppable directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. In the block editor, search for "Poppable" and add the block to your page.

常见问题:

How do I trigger the modal?

Add the trigger ID you set in the block settings as a CSS class to any element. For example, if your trigger ID is my-video-trigger, add the class my-video-trigger to a button or image.

Can I have multiple video modals on one page?

Yes! Add multiple Poppable blocks with different trigger IDs, then assign each trigger ID to different elements on your page.

What YouTube URL formats are supported?

Poppable supports all common YouTube URL formats:

Does the video stop when I close the modal?

Yes, the video automatically stops and resets when the modal is closed.

更新日志:

1.0.0 0.1