Video cards from query loop

Hi -

I’m building a grid of video cards via a video CPT (video id, video source (YouTube, Vimeo)) and I’m not sure how to use dynamic data to tell the Bricks video element that one card is for YouTube and another is for Vimeo.

I’m presuming that since the Bricks video element Source field accepts dynamic data then this must be possible, but I’ve not found any documentation to explain. I’ve tried the ‘obvious’ by supplying a string that is the same value as the other Source dropdown options, but to no avail.

Thanks for any help/pointers/advice.
Chris

1 Like

You would require two fields, will have to use acf fields for this, for that video post type. One for YouTube ID/URL and the other for Vimeo, then use the video element in bricks inside a query looped div, with post type = your custom post type, and for source and in the ID/URL of the video element you will be able to select the acf fields.