{"id":256960,"date":"2025-11-02T23:37:53","date_gmt":"2025-11-02T23:37:53","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/smartupworld-video-modal\/"},"modified":"2026-09-02T20:18:57","modified_gmt":"2026-09-02T20:18:57","slug":"smartupworld-video-modal","status":"publish","type":"plugin","link":"https:\/\/vec.wordpress.org\/plugins\/smartupworld-video-modal\/","author":18635502,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.4","stable_tag":"1.4","tested":"6.8.8","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"Smartupworld Video Modal","header_author":"Smartupworld Websolutions","header_description":"Display videos in a modal via shortcode. Usage: [smartupworld_video_modal url=\"video.mp4\" button=\"Watch Video\"]","assets_banners_color":"","last_updated":"2026-09-02 20:18:57","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/smartupworld.com\/video-modal-plugin-developer-guide\/","header_author_uri":"https:\/\/www.smartupworld.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":922,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"smartupworld","date":"2025-11-04 23:41:02","revision":3390064},"1.2.0":{"tag":"1.2.0","author":"smartupworld","date":"2025-11-10 01:25:08","revision":3392578},"1.3":{"tag":"1.3","author":"smartupworld","date":"2025-11-10 02:53:52","revision":3392608},"1.4":{"tag":"1.4","author":"smartupworld","date":"2026-09-02 20:18:57","revision":3678615}},"upgrade_notice":{"1.4":"<p>jQuery dependency removed. Please clear your caches after upgrading.<\/p>"},"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.2.0","1.3","1.4"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Video Modal settings page in WordPress admin.","2":"Modal open with self-hosted video playing.","3":"Shortcode usage example in the block editor."}},"plugin_section":[],"plugin_tags":[613,606,80,222,1610],"plugin_category":[43,50],"plugin_contributors":[248986],"plugin_business_model":[],"class_list":["post-256960","plugin","type-plugin","status-publish","hentry","plugin_tags-modal","plugin_tags-responsive","plugin_tags-shortcode","plugin_tags-video","plugin_tags-youtube","plugin_category-customization","plugin_category-media","plugin_contributors-smartupworld","plugin_committers-smartupworld"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/smartupworld-video-modal.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p><strong>Usage examples:<\/strong><\/p>\n\n<ul>\n<li><p><strong>Self-hosted MP4 video:<\/strong>\n[smartupworld_video_modal url=\"https:\/\/example.com\/video.mp4\" button=\"Watch Video\" type=\"video\"]<\/p><\/li>\n<li><p><strong>YouTube video:<\/strong>\n[smartupworld_video_modal url=\"https:\/\/www.youtube.com\/embed\/VIDEOID\" button=\"Watch on YouTube\" type=\"youtube\"]<\/p><\/li>\n<\/ul>\n\n<p><strong>Features:<\/strong><\/p>\n\n<ul>\n<li>Lightweight \u2014 no jQuery dependency<\/li>\n<li>Fully responsive video container<\/li>\n<li>Autoplay when modal opens<\/li>\n<li>Close via button, backdrop click, or Escape key<\/li>\n<li>Accessible (ARIA roles, keyboard navigation)<\/li>\n<li>Multiple modals supported on the same page<\/li>\n<li>Works with self-hosted MP4 and YouTube embeds<\/li>\n<li>Dev mode to disable asset caching during development<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/smartupworld-video-modal\/<\/code>.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Use the shortcode <code>[smartupworld_video_modal url=\"video.mp4\" button=\"Watch Video\" type=\"video\"]<\/code> in posts, pages, or widgets.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"can%20i%20use%20youtube%20links%3F\"><h3>Can I use YouTube links?<\/h3><\/dt>\n<dd><p>Yes. Add <code>type=\"youtube\"<\/code> and use the YouTube embed URL (e.g. <code>https:\/\/www.youtube.com\/embed\/VIDEOID<\/code>).<\/p><\/dd>\n<dt id=\"can%20i%20use%20multiple%20modals%20on%20one%20page%3F\"><h3>Can I use multiple modals on one page?<\/h3><\/dt>\n<dd><p>Yes. Each shortcode generates a unique modal independently.<\/p><\/dd>\n<dt id=\"can%20i%20change%20the%20button%20text%3F\"><h3>Can I change the button text?<\/h3><\/dt>\n<dd><p>Yes. Use the <code>button<\/code> attribute: <code>button=\"Play Now\"<\/code>.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20require%20jquery%3F\"><h3>Does this plugin require jQuery?<\/h3><\/dt>\n<dd><p>No. Version 1.4 removed the jQuery dependency \u2014 it uses plain JavaScript.<\/p><\/dd>\n<dt id=\"how%20do%20i%20close%20the%20modal%3F\"><h3>How do I close the modal?<\/h3><\/dt>\n<dd><p>Click the \u00d7 button, click outside the video, or press the Escape key.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.4<\/h4>\n\n<ul>\n<li>Removed jQuery dependency \u2014 now uses vanilla JavaScript<\/li>\n<li>Added Escape key support to close modal<\/li>\n<li>Added backdrop click to close modal<\/li>\n<li>Added ARIA accessibility attributes (role, aria-modal, aria-label)<\/li>\n<li>Added playsinline attribute for mobile video<\/li>\n<li>Fixed broken CSS transition on .btn class<\/li>\n<li>Improved close button styling and hover state<\/li>\n<li>Added Requires PHP header<\/li>\n<li>Added Text Domain to plugin header<\/li>\n<li>Updated stable tag to 1.4<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Added settings page with dev mode toggle<\/li>\n<li>Added multiple modal support per page<\/li>\n<li>Added custom class and href attributes to shortcode<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Added YouTube support via type=\"youtube\" attribute<\/li>\n<li>Improved modal open\/close handling<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Renamed plugin to Smartupworld Video Modal<\/li>\n<li>Separated CSS and JS into separate asset files<\/li>\n<li>Added shortcode attributes for video URL and button text<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Display videos in a responsive modal via shortcode. Supports self-hosted MP4 files and YouTube videos.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/vec.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/256960","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vec.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/vec.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/vec.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=256960"}],"author":[{"embeddable":true,"href":"https:\/\/vec.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/smartupworld"}],"wp:attachment":[{"href":"https:\/\/vec.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=256960"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/vec.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=256960"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/vec.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=256960"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/vec.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=256960"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/vec.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=256960"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/vec.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=256960"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}