Jump to content

Smule oembed help


gashonthego

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?

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.