Directory / plugin
Smartupworld Video Modal
v1.4 · by Smartupworld Websolutions
Display videos in a responsive modal via shortcode. Supports self-hosted MP4 files and YouTube videos.
About this plugin
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