Trouble with Programmatically Updating Media URLS in API to Cloudfront domain URL

the video is already uploaded to cloudfront, all I wanna do is use the media selector in the admin, have the client select the videos then have that video corrospond to the vid of the same name from the s3 using cloudfront