Jump to content
gashonthego

Smule oembed help

Recommended Posts

gashonthego

Trying to setup auto-recognition of smule recordings on a WordPress site and I've used Smule's instructions but nothing seems to work. I can't seem to figure out how to get this oembed code to work on my site no matter where I put the code. I'm very new to PHP and am just trying to find step by step directions. Frustrated that this isn't working. Any help would be great!

Smule's instructions (and a link to them) are below:

https://www.smule.com/support/embedding

From their website:

 

Yes! Smule recordings support the oEmbed format, which is supported by WordPress. To enable Smule embeds on your site you will need to add Smule to your embed whitelist by adding this line:

<? php wp_oembed_add_provider('http://www.smule.com/recording/*', 'http://www.smule.com/s/oembed'); ?>

 

Is this what Sing Salon uses? Or does this need updating?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

As most websites, we have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. You may also check out our Privacy Policy