oEmbed Provider Generator

Register unlimited oEmbed providers

URL structure of oEmbed provider
Provider format
Endpoint URL

AUTO GENERATED CODE

<?php
//Custom oEmbed provider generated by Brewpy.app
if(!function_exists('brewpy_oembed_1642621954052')){
function brewpy_oembed_1642621954052(){
  wp_oembed_add_provider('#https?://(www.)?youtube.com/watch.*#i','http://www.youtube.com/oembed/',true);
  }
add_action('init','brewpy_oembed_1642621954052');
}
?>

How to use this code?

  1. Copy auto generated code ↑ (without beginning and ending PHP tags <?php and ?>)
  2. Paste code to bottom of your theme functions.php file
  3. Save and you are done!