# Get Video URL from Customizer field

**URL:** https://forum.pinegrow.com/t/get-video-url-from-customizer-field/2620
**Category:** WordPress
**Created:** [January 19, 2019, 3:26pm UTC](https://forum.pinegrow.com/t/get-video-url-from-customizer-field/2620 "2019-01-19T15:26:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![24degrees](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/24degrees/32/136_2.png) [@24degrees](https://forum.pinegrow.com/u/24degrees)
#### Post date: [January 19, 2019, 3:26pm UTC](https://forum.pinegrow.com/t/get-video-url-from-customizer-field/2620/1 "2019-01-19T15:26:18Z")

</div>

Hi all,

Hope you are all doing fine today.

I’m trying to make a full screen video which the user can select from the customizer. So I did the following:

1. Added a customizer section
2. In that section, I added a control for Media, then video.

Then, I added a Customizer “Theme MOD to ATTR” and there I’m trying to replace the attribute src with the path to the video. But it is showing

src=“7”

which refers to [http://mysite.local/wp-admin/upload.php?item=7](http://mysite.local/wp-admin/upload.php?item=7) and that’s correct.

But I don’t need the item number, I need the url or something to make the video play.

Does anyone has any idea on what I’m doing wrong?

Thanks all,

kind regards.

---

<div class="post-metadata">

### Author: ![24degrees](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/24degrees/32/136_2.png) [@24degrees](https://forum.pinegrow.com/u/24degrees)
#### Post date: [January 19, 2019, 3:27pm UTC](https://forum.pinegrow.com/t/get-video-url-from-customizer-field/2620/2 "2019-01-19T15:27:18Z")

</div>

I already posted [this](https://forum.pinegrow.com/t/replacing-src-from-video/2148) once, but didn’t get an answer ☹
