{"id":224112,"date":"2025-03-24T19:27:33","date_gmt":"2025-03-24T19:27:33","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/dynamic-video-for-divi-posts\/"},"modified":"2025-03-26T00:46:14","modified_gmt":"2025-03-26T00:46:14","slug":"dynamic-video-for-divi-posts","status":"publish","type":"plugin","link":"https:\/\/pl.wordpress.org\/plugins\/dynamic-video-for-divi-posts\/","author":23240198,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.2","stable_tag":"1.0.2","tested":"6.7.5","requires":"5.0","requires_php":"","requires_plugins":null,"header_name":"Dynamic Video for Divi Posts","header_author":"hyperspective","header_description":"Dynamically embeds a video into your blog posts by using a custom field. When editing a post, a new meta box labeled \"Video URL\" appears. Enter a video URL (e.g., a YouTube link) into this box, and then use the [dynamic_video] shortcode in your Divi Builder template. The video is automatically embedded using WordPress\u2019s oEmbed functionality.","assets_banners_color":"041c3f","last_updated":"2025-03-26 00:46:14","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/dynamic-video-for-divi-posts\/","header_author_uri":"https:\/\/hyperspective.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":389,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"hyperspective","date":"2025-03-24 19:26:58"},"1.0.2":{"tag":"1.0.2","author":"hyperspective","date":"2025-03-26 00:46:14"}},"upgrade_notice":{"1.0.2":"<p>This update adds an optional featured image fallback feature when no video URL is provided, with a settings toggle. Update to access this new functionality while maintaining all previous features.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3261070,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3261070,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3261070,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3261070,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1","1.0.2"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":3261851,"resolution":"1","location":"assets","locale":""},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":3261070,"resolution":"2","location":"assets","locale":""},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":3261070,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Settings, Instructions","2":"Snippet example for Divi Code Module","3":"Blog entry for video URL"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[10731,1506,230,80,222],"plugin_category":[43,50,56],"plugin_contributors":[239935],"plugin_business_model":[],"class_list":["post-224112","plugin","type-plugin","status-publish","hentry","plugin_tags-divi","plugin_tags-dynamic","plugin_tags-embed","plugin_tags-shortcode","plugin_tags-video","plugin_category-customization","plugin_category-media","plugin_category-social-and-sharing","plugin_contributors-hyperspective","plugin_committers-hyperspective"],"banners":{"banner":"https:\/\/ps.w.org\/dynamic-video-for-divi-posts\/assets\/banner-772x250.png?rev=3261070","banner_2x":"https:\/\/ps.w.org\/dynamic-video-for-divi-posts\/assets\/banner-1544x500.png?rev=3261070","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/dynamic-video-for-divi-posts\/assets\/icon-128x128.png?rev=3261070","icon_2x":"https:\/\/ps.w.org\/dynamic-video-for-divi-posts\/assets\/icon-256x256.png?rev=3261070","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/dynamic-video-for-divi-posts\/assets\/screenshot-1.jpg?rev=3261851","caption":"Settings, Instructions"},{"src":"https:\/\/ps.w.org\/dynamic-video-for-divi-posts\/assets\/screenshot-2.jpg?rev=3261070","caption":"Snippet example for Divi Code Module"},{"src":"https:\/\/ps.w.org\/dynamic-video-for-divi-posts\/assets\/screenshot-3.jpg?rev=3261070","caption":"Blog entry for video URL"}],"raw_content":"<!--section=description-->\n<p>Dynamic Video for Divi Posts dynamically embeds a video into your blog posts by using a custom field. When editing a post, a new meta box labeled \"Video URL\" appears. Enter a video URL (e.g., a YouTube link) into this box, and then use the [dynamic_video] shortcode in your Divi Builder template. The video is automatically embedded using WordPress\u2019s oEmbed functionality. New in version 1.0.2: Optional setting to display the post's featured image when no video URL is provided.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/dynamic-video-for-divi-posts<\/code> directory, or install the plugin through the WordPress plugins screen by uploading the ZIP file.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Edit any post to see the \"Video URL\" meta box and enter your video URL.<\/li>\n<li>In your Divi Builder template, add a Code or Text module and insert the shortcode: <code>[dynamic_video]<\/code>.<\/li>\n<li>(Optional) Go to Settings &gt; Dynamic Video for Divi Posts to enable the featured image fallback option.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20embed%20a%20video%3F'><h3>How do I embed a video?<\/h3><\/dt>\n<dd><p>Enter a valid video URL (for example, a YouTube URL) in the \"Video URL\" meta box when editing a post, and then use the <code>[dynamic_video]<\/code> shortcode in your template. The video will be automatically embedded via WordPress\u2019s oEmbed functionality.<\/p><\/dd>\n<dt id='why%20isn%E2%80%99t%20my%20video%20appearing%3F'><h3>Why isn\u2019t my video appearing?<\/h3><\/dt>\n<dd><p>Ensure that the video URL is correct and that your post type supports the shortcode. Also, verify that your Divi Builder template includes the <code>[dynamic_video]<\/code> shortcode. If no video appears and the featured image option is enabled, check if the post has a featured image set.<\/p><\/dd>\n<dt id='how%20does%20the%20featured%20image%20fallback%20work%3F'><h3>How does the featured image fallback work?<\/h3><\/dt>\n<dd><p>When enabled in the plugin settings, if no video URL is provided for a post, the plugin will display the post's featured image instead of leaving the space blank. You can turn this feature on or off in the plugin settings.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Added optional feature to display featured image when no video URL is provided<\/li>\n<li>Added settings page checkbox to enable\/disable featured image fallback<\/li>\n<li>Updated documentation to include new feature instructions<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Renamed all functions, meta keys, nonce names, and admin slugs to use the unique prefix \"dynvid_\" to avoid naming conflicts.<\/li>\n<li>Improved nonce verification by sanitizing input using both wp_unslash() and sanitize_text_field().<\/li>\n<li>Enhanced data sanitization and output escaping for all user inputs and meta values.<\/li>\n<li>Added an admin submenu page for plugin details.<\/li>\n<li>Minor code and documentation updates for better security and compatibility.<\/li>\n<\/ul>","raw_excerpt":"Short Description: Embeds videos into posts via a custom field and [dynamic_video] shortcode for Divi, with optional featured image fallback.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/224112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=224112"}],"author":[{"embeddable":true,"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/hyperspective"}],"wp:attachment":[{"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=224112"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=224112"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=224112"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=224112"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=224112"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=224112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}