Reply To: How make youtube videos responsive in activity stream?
bp_get_activity_content_body – that’s the filter you might need.
See function bp_get_activity_content_body() for details.
General idea (you will need a bit of regexp knowledge):
1) search in activity content for <iframe keyword.
2) if it exists – wrap it with the div you need
3) That’s it. This will be done on a fly for each item in activity directory. This is generally a bad idea, but no other options that I see.
Or you can try a bit different approach, like using Fitvids (see this plugin https://wordpress.org/plugins/fitvids-for-wordpress/ or https://wordpress.org/plugins/dw-fitvids/)