oEmbed video in site-wide activity
WP 4.7, BP 2.7.3.
I’m using a little bit of code from http://wpsites.org/how-to-make-oembed-videos-responsive-10520 to filter WordPress’s oEmbed to make YouTube videos responsive. Basically it hooks into the WP filter ’embed_oembed_html’ to add a container div.
It works a treat in forum topic views, but it isn’t working on the site-wide activity feed.
This Codex page https://codex.buddypress.org/getting-started/embeds/ says that WP’s native oEmbed functionality is used since BP 1.5, so I would expect it to work.
- You must be logged in to reply to this topic.