WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

oEmbed for BuddyPress

The easiest way to share your favorite content from sites like YouTube, Flickr, Hulu and more on your BuddyPress network.

Technical info

Because oEmbed for BuddyPress checks each link to see if it is oEmbeddable, for performance reasons, each link is cached in the database to reduce redundant oEmbed requests.

The cached entry is either the embed code (if the link is oEmbeddable) or the failed link.

Whitelist feature

By default, the plugin whitelists hyperlinks and URLs residing on the same domain as BuddyPress.

The cool thing is you can extend the whitelist.

For example, in an activity update, say you type in "http://www.google.com", the plugin will cache that link in the database. Say you wanted to omit Google.com links from being cached.

Open bp-oembed-config.php in a text editor and add the following line to the end:

$bp_oembed['whitelist'][] = 'google.com';

This will whitelist all links from google.com.

Known issues

  • array_map() warning is displayed - this is a BuddyPress issue, which is fixed in the latest bleeding version of BuddyPress (http://trac.buddypress.org/changeset/2747)

  • When a forum post is deleted, the oEmbed forum post cache in bbPress isn't deleted (appears to be a bbPress issue)

  • Hyperlinks with single quotes get mangled (if you're a regex expert, I could use your help!)

eg. <a href='http://buddypress.org'>BuddyPress</a>

  • Hyperlinking an oEmbeddable link and inputting the same link in plain text will show the oEmbeddable item three times (two times if using anchor text) (not many people will do this)

Future versions

  • Implement AutoEmbed.com API fallback if oEmbed fails (will be an option)
  • Fix known issues ;)

Special thanks

Donate!

I'm a regular on the buddypress.org forums. I spend a lot of my free time helping people - pro bono!

There are a couple of ways you can choose to support me:

  • Fund my work soundtrack! Music helps me help you! A dollar lets me buy a new tune off Amazon MP3, Amie Street or emusic.com! Or if you're feeling generous, you can help me buy a whole CD! If you choose to donate, let me know what songs or which CD you want me to listen to! :)
  • Rate this plugin
  • Spread the gospel of BuddyPress

Requires: WP 2.9 / WPMU 2.9.1.1 & BuddyPress 1.2 or higher
Compatible up to: WP 2.9 / WPMU 2.9.1.1 & BuddyPress 1.2
Last Updated: 2010-2-22
Downloads: 26,030

Ratings

4 stars
4.7 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2
0,1,0 50,2,1 91,11,10
100,1,1
90,10,9
50,2,1
100,1,1
100,1,1
100,1,1
0,1,0
100,1,1
100,2,2