I´m working on a portfolio site that is built on dynamic pages, within these I have a grid with different div blocks, I would like to be able to fill these with dynamic content and then be able to choose whether the div block should contain an image or a background video, my question is if this is possible and if anyone knows a reference ?
You could include an absolutely positioned div within the grid cell that can contains the background image and then use conditions to only display it if the item has that background image field populated with content. If no image is used, it will hide itself and show the background video that is below
Yep, that reference should work. Just make sure you have an image field for the fallback and then set the condition on that div displaying the background image.