added mp4 and flv params to location.