No need for a plugin, You can simply use the Oembed class’s oembed_result
filter hook
like this:
function Oembed_youtube_no_title($html,$url,$args){
$url_string = parse_url($url, PHP_URL_QUERY);
parse_str($url_string, $id);
if (isset($id['v'])) {
return '<iframe width="'.$args['width'].'" height="'.$args['height'].'" src="http://www.youtube.com/embed/'.$id['v'].'?rel=0&showinfo=0" frameborder="0" allowfullscreen></iframe>';
}
return $html;
}
add_filter('oembed_result','Oembed_youtube_no_title',10,3);
so just paste this code in your theme’s functions.php file, setup the width and height at the settings >> media panel and you should be just fine with simply pasting the youtube’s video url in the post.
Related Posts:
- Rename Smart YouTube’s httpv back to http for all posts
- How to import my YouTube channel into WordPress?
- shortcode – multiple instances of same parameter name in one shortcode instance
- Can someone please help me find a solution to my youtube embed problems? [duplicate]
- Adding discount functionality to the cart
- Changing the CSS with a plugin
- how to change a static testimonials into dynamic
- How to assign a specific service to a specific provider based on location
- Precheck fields when I add a new post
- Rename a folder via HTML POST request
- How can I add a custom Javascript snippet to display my feedback in footer?
- My wordpress local urls is still displayed even moved to live
- Move plugin pages from dashboard to front-end
- working code, not working – Plugin Dev
- Add custom WordPress admin page with pretty url via code
- Cannot view Custom Post Type no matter what I try
- Creating custom “player-objects”
- Why does plugin_url append absolute file path?
- save short-code in my custom plugin settings problem missed something
- Cron job shedules replace?
- Create survey that redirects to sidebar menu customized to answers
- Custom wp_list_tables redirect on specfic page
- Custom shortcode being shown in WPBakery backend rather than the block
- Issue calling my functions on Plugin activate in WordPress
- Paid Membership Pro displaying a user name in PHP
- User upload dashboard
- Installation failed, trying to install ANY plugin
- Load my Inline js footer area
- Move plugin upload folder from mywebsite.com/wp-content/uploads/pdfuploads to mywebsite.com/pdfs?
- Custom Icon assigned to menu items not working for multi-site networks
- How to send custom mail when a user complete a specific form
- How to restrict the user from viewing comments but with option to write comments?
- register_activation_hook not creating table
- Woocommerce list variations that are added already to cart in Single Product
- Create dynamic / data driven pages in wordpress
- Customize plugin templates
- Automatically check “Enable stock management at product level” to the existing products?
- WordPress delete cookie
- custom/automatic export function – one post at a time?
- multiple string replace of post’s content for large data
- Flexslider empty slide
- How to fix slow comment query?
- Echo custom admin field into a is_single()
- Widget display in theme
- The etiquette of forking a plugin and table tag
- Manual Backup – How to save to Firefox or Chrome (instead of IE which brings up popup I can’t get rid of)
- How to use custom footer template in a site-plugin?
- Multi-site error wordpress after migration
- Custom SportsPress list
- Creating Nested custom fields
- Share on social media created listing after submission
- User Affiliate Token Generator?
- How can I save cookies to members
- How to restrict “too soon” downloads with a general rule?
- Translation plugin with default language?
- Best approach to serve static content within a regular page
- Overwrite user role
- Confusing problem with displaying message recipient metadata
- Place content inside the Post Loop
- Customize a widget position
- Display Powerpress media url
- Why the output of an image gallery plugin is not displayed into a page of my custom theme?
- Custom pages with plugin
- WP plugin calls for custom pages
- Am I using an action hook correctly?
- Changing the body of mail sent to new user registration
- Using permalinks with parameters
- Update Plugin Without Overwriting Custom Settings
- Which One Is Better For Managing Add Ons For Extensible Plugin?
- Hide some shortcodes on posts from back-end
- Should I paste CDN links in a JS file or use a Bootstrap CDN plugin?
- Conditional required fields for WordPress Contact Form 7
- Plugin does not create a custom table upon activation
- Problem with Duplicate Meta / tag description in Webmaster Tool [duplicate]
- Disable default posts (Posts,Pages,Comments and Media) in wp-admin
- Where to insert customize_register in wordpress plugin
- Plugin program: JQuery not working in this plugin
- Replace code in plugin template
- Restrict my pages from public
- Style WordPress Custom Post Type Single Page
- Display_rows() and column_cb() strange behaviour
- SWF in wordpress post
- Directory structure for plugin changes
- How can I pass value to function in add_menu_page?
- change output location of plugin function using a custom hook
- Multiselect value in wp_query
- disable lightbox in a plugin [closed]
- How to maintain WordPress permalink structure with custom content with URL parameters?
- Problems with installing and deleting plugins
- get_var result empty for query of custom table in plugin admin
- wp_query for more fields plugin
- Pull Data from DB for Admin Page Display as Relates to Admin Page Class by BA Internet
- Posts are deleted everyday at night
- show Visual form builder in the front end
- Need Help Creating a Multi-Step, Video-Guided Enrollment Site
- User specific content (posts) / limiting visibility
- Issues with Post 2 Post Plugin
- Is there a way to include some external script to some or all pages in a wordpress site?
- admin panel save option with ajax
- Get page type to display content