WordPress 3 is awesome.
One of my new favorite features is auto-embedding (I suppose it’s been around since 2.9 but whatever).
Unfortunately, while I was trying to embed a SoundCloud mix I was listening to, I noticed it wasn’t working for SoundCloud. The page on WordPress’ Trac for class-oembed.php suggests that SoundCloud should be supported, but the code wasn’t in my version of the file, and I didn’t feel like upgrading, so I just used the wp_oembed_add_provider() function to add support for SoundCloud auto-embedding.
Here’s my code:
wp_oembed_add_provider( ‘http://soundcloud.com/*/*’, ‘http://soundcloud.com/oembed/’);
If you want to support more than just the format http://soundcloud.com/user/track, you’ll have to look at this page on their GitHub.
Hope that helps you! It sure worked for me 🙂