Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!
@mimo sorry to disturb you. I want to ask you. Do you understand how to change video in activity to use mid size not using thumb size?
Hi sorry for late reply.
You can try this for example (put it in your functions.php file in the theme):
add_filter(‘bp_get_gallery_media_sizes’,’change_media_size’,10,2);
function change_media_size($settings,$media_type){
if($media_type==”video”){
$settings[‘thumb’]=array(‘height’=>240,’width’=>312);
$settings[‘mid’]=array(‘height’=>240,’width’=>312);
$settings[‘larger’]=array(‘height’=>505,’width’=>640);
}
return $settings;
}
It works but it will only affect the new videos.
Hope it helps
it’s better to copy it from this link : http://pastebin.com/y6t2Ux6D