Pinegrow Community Support Forum

Get Video URL from Customizer field


#1

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 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.


#2

I already posted this once, but didn’t get an answer :frowning: