Title: Poppable &#8211; The Easy Way to Add a Video Modal
Author: Engramium
Published: <strong>2021-يىلى 1-فېۋرال</strong>
Last modified: 2026-يىلى 19-يانۋار

---

قىستۇرما ئىزدە

![](https://s.w.org/plugins/geopattern-icon/poppable.svg)

# Poppable – The Easy Way to Add a Video Modal

 يازغۇچى [Engramium](https://profiles.wordpress.org/engramium/)

[چۈشۈر](https://downloads.wordpress.org/plugin/poppable.1.0.0.zip)

 * [تەپسىلاتلار](https://ug.wordpress.org/plugins/poppable/#description)
 * [باھالاشلار](https://ug.wordpress.org/plugins/poppable/#reviews)
 *  [ئورنىتىش](https://ug.wordpress.org/plugins/poppable/#installation)
 * [ئىجادىيەت](https://ug.wordpress.org/plugins/poppable/#developers)

 [قوللاش](https://wordpress.org/support/plugin/poppable/)

## چۈشەندۈرۈش

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:**

 * **Trigger from Any Element** – Assign a trigger ID to any element (button, image,
   text) and clicking it opens the video modal
 * **Multiple YouTube URL Formats** – Supports youtube.com/watch?v=, youtu.be/, 
   and youtube.com/embed/ formats
 * **Autoplay Support** – Optionally start playing the video automatically when 
   the modal opens
 * **Customizable Modal Width** – Set the content width using px, %, vw, or any 
   CSS unit
 * **Multiple Close Options:**
    - Close button (X) in the corner
    - Click outside to close
    - Press ESC key to close
 * **Responsive Design** – Videos maintain 16:9 aspect ratio on all screen sizes
 * **Body Scroll Lock** – Page scrolling is disabled when the modal is open for 
   a focused viewing experience
 * **Lightweight** – No jQuery dependencies, built with vanilla JavaScript

**Development & Source Code:**
 Poppable is open-source and developed publicly on
GitHub.

GitHub repository: https://github.com/Engramium/poppable

### How to Use

 1. Add the **Poppable** block anywhere on your page (it will be hidden on the frontend).
 2. In the block settings panel, enter your **YouTube Video URL**.
 3. Set a unique **Trigger ID** (e.g., `poppable-video-modal`).
 4. Add the same trigger ID as a CSS class to any element you want to use as the trigger(
    e.g., a button with class `poppable-video-modal`).
 5. Configure your preferred close options and modal width.
 6. Save and preview your page!

## بۆلەك

بۇ قىستۇرما 1 بۆلەك تەمىنلەيدۇ.

 *   Poppable Display YouTube videos in a poppable modal.

## ئورنىتىش

 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.

## FAQ

### 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:
 * `https://www.youtube.com/watch?
v=VIDEO_ID` * `https://youtu.be/VIDEO_ID` * `https://www.youtube.com/embed/VIDEO_ID`

### Does the video stop when I close the modal?

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

## باھالاشلار

بۇ قىستۇرمىغا تېخى باھا يېزىلمىدى.

## تۆھپىكار ۋە ئىجادكار

«Poppable – The Easy Way to Add a Video Modal» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى
كىشىلەر بۇ قىستۇرمىغا تۆھپە قوشقان.

تۆھپىكار

 *   [ Engramium ](https://profiles.wordpress.org/engramium/)

[«Poppable – The Easy Way to Add a Video Modal» نى تىلىڭىزغا تەرجىمە قىلىڭ](https://translate.wordpress.org/projects/wp-plugins/poppable)

### ئىجادىيەتكە قىزىقامسىز؟

[كودقا كۆز يۈگۈرتۈپ](https://plugins.trac.wordpress.org/browser/poppable/)، [SVN خەزىنە](https://plugins.svn.wordpress.org/poppable/)
تەكشۈرۈپ ياكى [RSS](https://plugins.trac.wordpress.org/log/poppable/?limit=100&mode=stop_on_copy&format=rss)
ئارقىلىق [ئىجادىيەت خاتىرىسى](https://plugins.trac.wordpress.org/log/poppable/)گە
مۇشتەرى بولغىلى بولىدۇ.

## ئۆزگىرىش خاتىرىسى

#### 1.0.0

 * Converted to YouTube Video Popup Block

#### 0.1

 * Initial public release

## Meta

 *  Version **1.0.0**
 *  ئاخىرقى يېڭىلانغان ۋاقىت **6 ئاي بۇرۇن**
 *  ئاكتىپ ئورنىتىش سانى **10 دىن ئاز**
 *  WordPress نەشرى ** 6.7 ياكى يۇقىرى **
 *  **6.9.5** دا سىنالغان
 *  PHP نەشرى ** 7.4 ياكى يۇقىرى **
 *  تىل
 * [English (US)](https://wordpress.org/plugins/poppable/)
 * بەلگە
 * [lightbox](https://ug.wordpress.org/plugins/tags/lightbox/)[play button](https://ug.wordpress.org/plugins/tags/play-button/)
   [popup](https://ug.wordpress.org/plugins/tags/popup/)[video block](https://ug.wordpress.org/plugins/tags/video-block/)
 *  [ئالىي كۆرۈنۈش](https://ug.wordpress.org/plugins/poppable/advanced/)

## دەرىجە

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/poppable/reviews/#new-post)

[بارلىق ئىنكاسنى كۆرسەت](https://wordpress.org/support/plugin/poppable/reviews/)

## تۆھپىكار

 *   [ Engramium ](https://profiles.wordpress.org/engramium/)

## قوللاش

چۈشەندۈرۈشىڭىز بارمۇ؟ ياردەم لازىممۇ؟

 [قوللاش مۇنبىرىنى كۆرسەت](https://wordpress.org/support/plugin/poppable/)