1. //*Turn off* oEmbed for the following components:
  2.  
  3. define( 'BP_OEMBED_DISABLE_ACTIVITY', true );
  4.  
  5. define( 'BP_OEMBED_DISABLE_ACTIVITY_REPLIES', true );
  6.  
  7. define( 'BP_OEMBED_DISABLE_FORUM_POSTS', true );
  8.  
  9.  
  10. //*Turn on* oEmbed for the following components:
  11.  
  12. define( 'BP_OEMBED_DISABLE_GROUP_DESCRIPTION', false );
  13.  
  14. define( 'BP_OEMBED_DISABLE_XPROFILE', false );
  15.  
  16.  
  17. // Resizing embed items
  18.  
  19. define( 'BP_OEMBED_ACTIVITY_STREAM_WIDTH', '200' );
  20.  
  21. define( 'BP_OEMBED_ACTIVITY_PERMALINK_WIDTH', '400' );
  22.  
  23. define( 'BP_OEMBED_FORUM_POST_WIDTH', '300' );
  24.  
  25. define( 'BP_OEMBED_GROUP_DESC_WIDTH', '200' );
  26.  
  27. define( 'BP_OEMBED_XPROFILE_WIDTH', '200' );
  28.  
  29.  
  30. // Whitelist carat
  31.  
  32. define( 'BP_OEMBED_WHITELIST_CARAT', '%' );