Using an ACF Repeater to add a video gallery

Hello there,

I am attempting to create a video gallery for each portfolio item using an ACF Repeater containing a URL field.

The row has been set to Looper Provider, the column is the Consumer. This works for the image gallery:

https://leslieh24.sg-host.com/development/mulberry-rockingham-gateway/

We are using a Single Layout Builder template for the portfolio items.

The filed key is not available in the dynamic field dropdown:

I added the key manually, but obviously it doesn’t work:

Any idea what I am not doing correctly?

Cheers!

Spencer

Hey Spencer,

Thanks for reaching out!

Upon checking your Portfolio Single Layout, the only issue with your setup is the dynamic content inside your video element.

Instead of using {{dc:acf:post_field field="development_videos"}} you should use {{dc:looper:field key="video_url"}}.

As you can see the video is showing properly.

Please note that I have already made the changes.

Hope that helps.

Hi @marc_a,

Thanks for your help, this is excellent :slight_smile:

Cheers!

Spencer

You are most welcome, Spencer.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.