I’m looking for the proper “endpoint” URL for mediaspace’s oEmbed feature. I’m trying to get WordPress 3.5.1 to recognize MediaSpace’s oEmbed code so that it will embed video into posts and pages.
I found this old post that asks the same question, but it’s for KMS2: http://www.kaltura.org/what-kalturas-oembed-publisher-url. Our site is using KMS4 and the answer suggested in this old post does not work properly.
Here is the code I’ve currently got in the non-functional plugin, based on the wordpress codex (http://codex.wordpress.org/Function_Reference/wp_oembed_add_provider):
add_action( ‘init’, ‘kaltura_add_oembed_handlers’);
function kaltura_add_oembed_handlers(){
wp_oembed_add_provider( ‘#https?://media.up.edu/mediaspace/public/id/.*#i’, ‘http://media.up.edu/mediaspace/public/action/oembed/’, true );
Thanks for any help!