Hello all, new to the forums and I thought someone might be able to answer what might be a simple question to most. When you click on any of the images in the grid below, it transitions to what you see in the second image, but rather than it show the image I would like to embed a youtube video. Is this possible? Thank you in advance!
Do you mean that a video will start playing when you hover on a link? I'm not sure I understand what you mean.
You first need to design the new popup with a video inside. Then you need to analyse the database structure to see if you can stick a video link in there. After that, you need to create e checker to see if the link is a video or an image. I recommend doing that by appending a new column in the table from the database to specify which type is the media (image or video). Then you can easily check if media == 'video' than echo the video iframe code with the link from the db inside, else, echo the image. I hope you get the idea.