For testing, i added 2 oembed services with the WordPress function “wp_oembed_add_provider” but it do not work.
These codes come from inernet, i tryed multiple code with adding the wp_oembed_add_provider functions but without success.
add_action( 'init', 'wp_oembed_basic' );
// Register oEmbed providers
function ifttt_oembed_provider() {
wp_oembed_add_provider( '#https?://(www.)?ifttt.com/recipes/.*', 'http://www.ifttt.com/oembed/', true );
}
add_action( 'init', 'ifttt_oembed_provider' );
function kaltura_add_oembed_handlers(){
wp_oembed_add_provider( 'https://uportland.mediaspace.kaltura.com/id/*', 'http://uportland.mediaspace.kaltura.com/oembed/', false );
}
add_action( 'init', 'kaltura_add_oembed_handlers');
I tested it on two differents website and it do nothing.
One of these example come from here.
https://github.com/UniversityofPortland/wordpress-kaltura_oembed/blob/master/kaltura-oembed.php