About this plugin
The easiest way to share your favorite content from sites like YouTube, Flickr, Hulu and more on your BuddyPress network.
oEmbed for BuddyPress utilizes WordPress’ own oEmbed class, so by default, you can share content from the following sites:
- YouTube
- Blip.tv
- Vimeo
- DailyMotion
- Flickr
- Hulu
- Viddler
- Qik
- Revision3
- Photobucket
- Scribd
- WordPress.tv
How do you use the plugin? Simple! Input any URL from one of the listed sites above into an activity update or forum post in BuddyPress.
When the update is posted, the URL automagically transforms into the embedded content.
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.
com”, the plugin will cache that link in the database. com links from being cached.
php in a text editor and add the following line to the end:
com';
com.
Known issues
-
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 )
-
)
eg. 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
- Viper007Bond – for creating the WP_oEmbed class
- BuddyPress.org – the reason why we can all deploy a social network on WordPress
Donate!
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