set media_url from body[data-media]