Tag Info

New answers tagged


There is a filter with the same name as the function wp_embed_handler_youtube https://developer.wordpress.org/reference/hooks/wp_embed_handler_youtube/ add_filter('wp_embed_handler_youtube', 'ehy_callback', 10, 4); function ehy_callback($embed, $attr, $url, $rawattr){ //make necessary changes here return $embed; } You can add the code in ...


Not really a wordpress question, and except for the last option you might get a different and maybe better answers on stack exchange. Three options one ugly, one requires extra work and one is super hard but might be the right thing to do. Ugly: Put the external object in an iframe and write some JS that will autommatically adjust the width and height of ...

Top 50 recent answers are included