If a video is not found for a member, show a "video not found"
error on the member detail section instead of just the default
blank video box
} else {
$memberData['video_embed'] = preg_replace("/\s*[a-zA-Z\/\/:\.]*www.vimeo.com\/([a-zA-Z0-9\-_]+)([a-zA-Z0-9\/\*\-\_\?\&\;\%\=\.]*)/i","<iframe width=\"100%\" height=\"315\" src=\"//player.vimeo.com/video/$1\" frameborder=\"0\" allowfullscreen></iframe>",$video_url);
}
+ } else {
+ $memberData['video_embed'] = "Could not find video";
}
}