Since BuddyPress 1.5, we have integrated WordPress’ native Embeds functionality.
So now it’s ridiculously easy to embed videos, images, and other content into your Activity Stream, Group Forum, and Private Message posts.
All you have to do is add your embed URL on its own line in the textarea.
This is awesome! http://www.youtube.com/watch?v=ROBmgYcIBww
And your content will be automatically embedded!
Frequently Asked Questions
To embed more sites, you can use any oEmbed plugin for WordPress.
Embedly is a popular choice that supports over 200 sites. For performance issues when using Embedly, select only the sites you need to support.
If you’re not using the BuddyPress Default theme, you will probably want to customize the width of your embedded items so they match the width of your theme.
There are two ways to resize the width:
- Set the “maximum embed size” in the WP Media Settings Subpanel
- Set the $content_width variable in your theme’s functions.php:
if ( ! isset( $content_width ) ) // Change 640 to whatever the width of your column is $content_width = 640;
Read the WordPress codex article:
If the author of the YouTube video has disallowed embedding, due to privacy reasons, the video will not be embedded.