strip out http/https from media domain in init