Pass search term through in meta block for images/videos

cc @nilnilnil @russellholt