[buddypress-trac] [BuddyPress Trac] #6772: BuddyPress Embeds for activity, user profiles, groups

buddypress-trac noreply at wordpress.org
Thu Dec 17 05:20:06 UTC 2015


#6772: BuddyPress Embeds for activity, user profiles, groups
------------------------------------+------------------
 Reporter:  imath                   |       Owner:
     Type:  idea                    |      Status:  new
 Priority:  normal                  |   Milestone:  2.5
Component:  API                     |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+------------------

Comment (by r-a-y):

 Hi imath,

 Thanks for your detailed analysis!

 You are so correct about oEmbed discovery being `false` in BuddyPress.
 (Can't believe I missed this!) I've created a new ticket here - #6778.

 `03.patch` addresses most of your points:

 - For plugin devs, check out the new `BP_oEmbed_Component` class.  This
 should make things way easier to add a custom oEmbed endpoint.  Any
 feedback here would be great.
 - Fixed bug with spammed / deleted activity items being embeddable.
 - Added responsive video JS when an activity item has an embed.  I added a
 new function for this - `bp_core_check_content_for_media_type()`.  This is
 a small utility function that uses the `BP_Media_Extractor` class DJPaul
 built.  imath, let me know if this fixes your issue with videos not
 displaying.

 About the share button, I think that would be neat to add with the
 existing activity loop buttons - "Comment", "Favorite" and "Delete".

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6772#comment:11>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list