Auto Paste Attachment Url

i am using on wordpress and wc marketplace, i have a problem. How to auto paste the Featured Video URL label from Featured Video Upload attachment ? i am wanting to add if users upload file on the Local Media url, auto paste the new attachment url to Featured Video Url.

This is my code:

This is screenshot ; enter image description here