Hello,
i want to display images and videos in the same gallery, but the documentation code shows only the code that you need to display images.
I can make an if and check for mp4 or other video types, but what about videos coming from youtube or vimeo? Can i do something about them?
The if-check about the uploaded videos in the wordpress library works.
But for the external videos like youtube or vimeo, I had to create a repeater field and just display it after the image gallery/video gallery field. At least it seems like it’s the same gallery now.