I want to set the background layer of a grid cell to be either a video or an image based on an ACF radio selector. I have it set up now that in ACF you can select image or video and then you get a field to input an image or a video URL. I also have it setup where the background of a cell can accept either of those items, but what I cannot figure out is how to change the html code inside of that cell background field to be one or the other based on that radio selection.
I tried duplicating cells and conditionally hiding the other, but it seems that the looper still sees the hidden cell so the correct data is not going to the correct cells.