Set media UI based on url; close #14.