The oEmbed for BuddyPress plugin was released at the end of last week and is one of the easiest ways to embed media in BuddyPress. People love to interact with media and share their favorite photos and videos. This plugin enables you to offer the ability to embed media to your users without having to host all of this content on your server. The plugin’s API loads the embedded content on your site and saves your users from having to copy the embed html, similar to the way Facebook status updates display embedded media from a URL.
oEmbed for BuddyPress Features:
The plugin utilizes WordPress’ own oEmbed class, which allows users to share content from the following sites:
How does it work?
The user simply pastes a URL for the location of the media and the plugin takes care of the code to embed it properly in BuddyPress. URL’s can be pasted in the user’s activity updates, activity comments and forum posts and will automatically embed the URL’s content on the page.
Simple Installation: No Configuration Necessary!
1. Download oEmbed for BuddyPress
2. Upload it to the /wp-content/plugins/ directory
3. Rename the folder to: “bp-oembed”
4. Activate the Plugin. You’re finished. There are no settings to configure.
» You may encounter a known issue when using BuddyPress 1.2 upon first viewing your embeds but disappears upon page refresh: array_map() warning is displayed. The plugin’s developer has indicated that this is a BuddyPress issue, which is fixed in the latest bleeding version of BuddyPress (http://trac.buddypress.org/changeset/2747). This should be ironed out shortly.
» Turning oEmbed off for certain BuddyPress components is possible by editing bp-oembed-config.php. For example where you see: $bp_oembed['activity_comments'] = true; you can change that to false.
» If you want to extend WordPress’ oEmbed provider list, check out this article to get started: http://codex.wordpress.org/Embeds#Adding_Support_For_An_oEmbed-Enabled_Site