Replace Vimeo and Youtube in from scratch theme with from-the-group-up single post template?
You might be looking for WP_Embed::autoembed(). Try: add_filter( ‘the_content’, array( ‘WP_Embed’, ‘autoembed’ ) ); in your theme’s functions.php file.
You might be looking for WP_Embed::autoembed(). Try: add_filter( ‘the_content’, array( ‘WP_Embed’, ‘autoembed’ ) ); in your theme’s functions.php file.
wp_oembed_get() returns the whole iframe, that’s its purpose. So you should use it on its own, not in the src of an iframe. $url = esc_url( get_post_meta( get_the_ID(), ‘video_oembed’, 1 ) ); echo wp_oembed_get( $url );
Keep excerpt from stripping URLs and enable autoembed for youtube ONLY?
I figured out that I needed to call specific plateform function to fire the process. In my case Instagram and Facebook : window.instgrm.Embeds.process(); if(typeof FB!==”undefined”){ FB.XFBML.parse(); }
Modify oembed code conditionally
This has been answered here: Removing WordPress Icon from oembed link footer . From the answer to that question: Here’s the code to remove the site icon markup from embeds: add_filter(‘get_site_icon_url’,’__return_false’, 10, 3); If you want to remove the entire site-icon + site-title then use this: add_filter(’embed_site_title_html’,’__return_false’); The right thing to do though would be … Read more
oembed_dataparse filter not running at all for standard YouTube embed
Advanced Custom Fields oEmbed video width and height
What is the correct way to obtain access to the WP_oEmbed object?
How do I keep my iframes responsive and scaled to fit their container?