{"id":20522,"date":"2012-11-05T20:50:47","date_gmt":"2012-11-05T20:50:47","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/video-destacado\/"},"modified":"2026-01-08T01:12:51","modified_gmt":"2026-01-08T01:12:51","slug":"video-destacado","status":"publish","type":"plugin","link":"https:\/\/fao.wordpress.org\/plugins\/video-destacado\/","author":10571488,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.7.5","stable_tag":"1.7.5","tested":"6.9.4","requires":"3.0","requires_php":"","requires_plugins":null,"header_name":"V\u00eddeo Destacado","header_author":"Airton Vancin Junior","header_description":"","assets_banners_color":"f4f4f4","last_updated":"2026-01-08 01:12:51","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.buymeacoffee.com\/airton","header_plugin_uri":"","header_author_uri":"http:\/\/www.airtonvancin.com","rating":4.3,"author_block_rating":0,"active_installs":20,"downloads":7520,"num_ratings":6,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.2":{"tag":"0.2","author":"airtonvancin","date":"2025-12-16 18:43:38"},"1.0":{"tag":"1.0","author":"airtonvancin","date":"2025-12-16 18:43:38"},"1.1":{"tag":"1.1","author":"airtonvancin","date":"2025-12-16 18:43:38"},"1.2":{"tag":"1.2","author":"airtonvancin","date":"2025-12-16 18:43:38"},"1.3.0":{"tag":"1.3.0","author":"airtonvancin","date":"2025-12-16 18:43:38"},"1.4.0":{"tag":"1.4.0","author":"airtonvancin","date":"2025-12-16 18:43:38"},"1.5.0":{"tag":"1.5.0","author":"airtonvancin","date":"2025-12-16 18:43:38"},"1.6.0":{"tag":"1.6.0","author":"airtonvancin","date":"2026-01-08 01:12:51"},"1.7.0":{"tag":"1.7.0","author":"airtonvancin","date":"2026-01-08 01:12:51"},"1.7.1":{"tag":"1.7.1","author":"airtonvancin","date":"2026-01-08 01:12:51"},"1.7.2":{"tag":"1.7.2","author":"airtonvancin","date":"2026-01-08 01:12:51"},"1.7.3":{"tag":"1.7.3","author":"airtonvancin","date":"2026-01-08 01:12:51"},"1.7.4":{"tag":"1.7.4","author":"airtonvancin","date":"2026-01-08 01:12:51"},"1.7.5":{"tag":"1.7.5","author":"airtonvancin","date":"2026-01-08 01:12:51"}},"upgrade_notice":[],"ratings":{"1":1,"2":0,"3":0,"4":0,"5":5},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3394713,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3394713,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3394713,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3394713,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.2","1.0","1.1","1.2","1.3.0","1.4.0","1.5.0","1.6.0","1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3392203,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3392203,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Featured Video meta box in the post editor","2":"V\u00eddeo Destacado settings page under Settings menu"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[250432,48974,170,86,222],"plugin_category":[50,56],"plugin_contributors":[86525],"plugin_business_model":[],"class_list":["post-20522","plugin","type-plugin","status-publish","hentry","plugin_tags-destacado","plugin_tags-destaque","plugin_tags-page","plugin_tags-post","plugin_tags-video","plugin_category-media","plugin_category-social-and-sharing","plugin_contributors-airtonvancin","plugin_committers-airtonvancin"],"banners":{"banner":"https:\/\/ps.w.org\/video-destacado\/assets\/banner-772x250.png?rev=3394713","banner_2x":"https:\/\/ps.w.org\/video-destacado\/assets\/banner-1544x500.png?rev=3394713","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/video-destacado\/assets\/icon-128x128.png?rev=3394713","icon_2x":"https:\/\/ps.w.org\/video-destacado\/assets\/icon-256x256.png?rev=3394713","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/video-destacado\/assets\/screenshot-1.png?rev=3392203","caption":"Featured Video meta box in the post editor"},{"src":"https:\/\/ps.w.org\/video-destacado\/assets\/screenshot-2.png?rev=3392203","caption":"V\u00eddeo Destacado settings page under Settings menu"}],"raw_content":"<!--section=description-->\n<p>V\u00eddeo Destacado lets you feature a YouTube video on your posts, pages, or any public custom post type.\nSimply enter the YouTube video ID in the dedicated meta box, preview the thumbnail, and set custom width and height.<\/p>\n\n<p>Features:\n* Enable on selected post types via Settings\n* Thumbnail preview and real-time feedback in the editor\n* Customizable player dimensions\n* Secure nonce validation and input sanitization\n* Properly enqueues admin scripts and styles<\/p>\n\n<h3>Usage<\/h3>\n\n<p>To display the featured video in your theme templates, call the function inside The Loop or anywhere you need it:\n    <code>php\n&lt;?php video_destacado(); ?&gt;<\/code>\nOr, for example, inside a custom query loop:\n    <code>php\n&lt;?php\n\/\/ The Query\nquery_posts( $args );\n\/\/ The Loop\nwhile ( have_posts() ) : the_post();\n    video_destacado();\nendwhile;\n\/\/ Reset Query\nwp_reset_query();\n?&gt;<\/code>\nYou can also use the shortcode in your post content:\n    <code>[video-destacado]<\/code>\nTo customize the dimensions, use the width and height attributes:\n    <code>[video-destacado width=300 height=150]<\/code><\/p>\n\n<h3>License<\/h3>\n\n<p>V\u00eddeo Destacado is free software: you can redistribute it and\/or modify it under the terms of the GNU General Public License as published\nby the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\nV\u00eddeo Destacado is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\nYou should have received a copy of the GNU General Public License along with V\u00eddeo Destacado. If not, see <a href=\"http:\/\/www.gnu.org\/licenses\/\">http:\/\/www.gnu.org\/licenses\/<\/a>.<\/p>\n\n<h3>Support<\/h3>\n\n<ul>\n<li>Site <a href=\"http:\/\/www.airtonvancin.com\/\">Site<\/a><\/li>\n<li>Twitter <a href=\"https:\/\/twitter.com\/airtonvancin\">Twitter<\/a><\/li>\n<li>GitHub <a href=\"https:\/\/github.com\/airton\/video-destacado\">Github<\/a><\/li>\n<\/ul>\n\n<!--section=installation-->\n<h4>Installation from within WordPress<\/h4>\n\n<ol>\n<li>Visit <strong>Plugins &gt; Add New<\/strong>.<\/li>\n<li>Search for <strong>Video Destacado<\/strong>.<\/li>\n<li>Install and activate the Video Destacado plugin.<\/li>\n<\/ol>\n\n<h4>Manual installation<\/h4>\n\n<ol>\n<li>Upload the entire <code>video-destacado<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Visit <strong>Plugins<\/strong>.<\/li>\n<li>Activate the Video Destacado plugin.<\/li>\n<\/ol>\n\n<h4>After activation<\/h4>\n\n<ol>\n<li>Visit the new <strong>Settings &gt; Video Destacado<\/strong> menu.<\/li>\n<li>Enable the individual modules you would like to use.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20to%20display%20the%20video%20in%20the%20post%3F'><h3>How to display the video in the post?<\/h3><\/dt>\n<dd><p>Insert in your template page\n    <code>php\n&lt;?php video_destacado(); ?&gt;<\/code><\/p><\/dd>\n<dt id='you%20can%20seugerir%20modifications%20and%20ideas%20for%20this%20plugin%3F'><h3>You can seugerir modifications and ideas for this plugin?<\/h3><\/dt>\n<dd><p>Sure you can, go to this link [Featured Video] (https:\/\/github.com\/airton\/video-destacado)<\/p><\/dd>\n<dt id='what%20version%20of%20php%20do%20i%20need%3F'><h3>What version of PHP do I need?<\/h3><\/dt>\n<dd><p>Sites must be built on PHP 5.6 or greater, but Jetpack always supports the latest version of PHP.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.7.5<\/h4>\n\n<ul>\n<li>Feat: Add shortcode to display featured video.<\/li>\n<\/ul>\n\n<h4>1.7.4<\/h4>\n\n<ul>\n<li>Fix: Address security warnings and update plugin version<\/li>\n<li>Fix: Escaping of video ID, width, and height in metabox input fields.<\/li>\n<li>Fix: Missing unslash for nonce verification.<\/li>\n<li>Fix: Missing sanitization for register_setting.<\/li>\n<\/ul>\n\n<h4>1.7.3<\/h4>\n\n<ul>\n<li>Feature Make the plugin translatable<\/li>\n<\/ul>\n\n<h4>1.7.2<\/h4>\n\n<ul>\n<li>Revamped Description section in readme.txt for clarity<\/li>\n<li>Normalized readme.txt to WordPress plugin readme standard<\/li>\n<li>Removed duplicate Changelog section<\/li>\n<\/ul>\n\n<h4>1.7.1<\/h4>\n\n<ul>\n<li>Limited tags to 5 to comply with WordPress.org guidelines<\/li>\n<li>Fixed \"Tested up to\" field to use a valid WordPress version<\/li>\n<li>Added Settings link in the Plugins page action links<\/li>\n<li>Enabled post &amp; page by default on activation<\/li>\n<\/ul>\n\n<h4>1.7.0<\/h4>\n\n<ul>\n<li>Added direct-access guard (<code>ABSPATH<\/code>) and switched includes to <code>plugin_dir_path()<\/code><\/li>\n<li>Refactored meta-box nonce, sanitization and <code>save_post<\/code> logic<\/li>\n<li>Changed Add\/Remove controls to real submit buttons so the post form saves the meta<\/li>\n<li>Thumbnail preview now injected above the ID list, uses HTTPS and proper escaping<\/li>\n<li>Enqueued admin JS\/CSS via <code>admin_enqueue_scripts<\/code> (replacing deprecated hooks)<\/li>\n<li>Rebuilt settings page with the Settings API and dropped legacy activation toggle<\/li>\n<\/ul>\n\n<h4>1.6.0<\/h4>\n\n<ul>\n<li>Cosmetic changes<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Add page settings (Settings \u2192 V\u00eddeo Destacado)<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Add width and height of the player<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Highlighted in the video display post, page and custom post types.<\/li>\n<\/ul>","raw_excerpt":"Insert a video posted to Youtube for posts, pages and custom post types","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fao.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/20522","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fao.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/fao.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/fao.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=20522"}],"author":[{"embeddable":true,"href":"https:\/\/fao.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/airtonvancin"}],"wp:attachment":[{"href":"https:\/\/fao.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=20522"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/fao.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=20522"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/fao.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=20522"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/fao.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=20522"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/fao.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=20522"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/fao.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=20522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}