跳到内容

Smartupworld Video Modal

v1.4

Smartupworld Websolutions · 2025年11月2日 上架

Display videos in a responsive modal via shortcode. Supports self-hosted MP4 files and YouTube videos.

正在使用
10 以下
评分
暂无
累计下载
1,143
最近更新
2026年9月15日
需要 WordPress 5.0+已测试到 7.1.5PHP 7.4+

Smartupworld Video Modal provides a simple shortcode to open videos in a lightweight, responsive modal window. No jQuery dependency. Works with self-hosted MP4 files and YouTube embeds.

Usage examples:

  • Self-hosted MP4 video:
    [smartupworld_video_modal url=”https://example.com/video.mp4″ button=”Watch Video” type=”video”]

  • YouTube video:
    [smartupworld_video_modal url=”https://www.youtube.com/embed/VIDEOID” button=”Watch on YouTube” type=”youtube”]

Features:

  • Lightweight — no jQuery dependency
  • Fully responsive video container
  • Autoplay when modal opens
  • Close via button, backdrop click, or Escape key
  • Accessible (ARIA roles, keyboard navigation)
  • Multiple modals supported on the same page
  • Works with self-hosted MP4 and YouTube embeds
  • Dev mode to disable asset caching during development

Plums

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

导航

说明

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

© 2026 Plums