passing media.url to capture